Review criteria

From romshark/datapages · View interactive version

Review criteria is an AI agent skill from the GitHub repository romshark/datapages. Classify Datapages findings by reach and severity and write review-*.md reports. Use for code reviews and security audits.

How to use this skill

Skill file

Reach

Reach describes where the cause runs, not where the symptom appears.

Apply these exceptions:

Severity

Rate impact as if the cause ran in production:

Lower impact 1 level for development reach and 2 for repository reach, but not below Low. Remote code execution through datapages watch from a page the developer visits is High. XSS in an example template is Medium.

Report

Write review-<topic>.md in the repository root. .gitignore excludes it. For a single-diff review in chat, use the finding fields and omit the report shell.

# Review: <scope>

Commit `<hash>`. Scope: <paths>. Method: <what was read, run, fuzzed or measured>.

<Bottom line: the most severe findings and what to fix first.>

| ID | Severity | Reach | Title | Status |
| -- | -------- | ----- | ----- | ------ |
| F1 | ...      | ...   | ...   | ...    |

## F1. <The defect as a sentence>

- Severity: <level>, or <level> (impact <level>, <reach> reach) when lowered
- Reach: Production | Development | Repository
- Type: CWE-<n> <name> | Correctness | Concurrency | Resource leak | Performance | API | Documentation | Test
- Location: `<path>:<line>` at the reviewed commit
- Status: Open

Description: <what the code does and why it is wrong>.

Impact: <who can do what to whom, or what a framework user sees>.

Reproduction: <test, command, or input; expected and actual output>.

Recommendation: <fix and the test that fails without it>.

## Areas reviewed, no finding

- <Component>: <what was checked and the evidence that it is correct>.

## Test coverage gaps

- <What no test exercises, and the finding it would have caught>.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.