Convention and guideline review
Checks a change against the repository's written rules: style guides, AGENTS.md, architecture decisions, naming conventions.
Sub-techniques
3
| ID | Name | Description |
|---|---|---|
V1036.001 | Rule file review | Apply the rules in AGENTS.md, CLAUDE.md or CONTRIBUTING.md to the diff. |
V1036.002 | Naming and conciseness | Flag unclear names, typos and needless code. |
V1036.003 | Rule-to-lint promotion | Turn rules that can be matched syntactically into lint or Semgrep rules. |
Craft it
- Keep rules in the repository in one file per scope.
- Promote any rule that a pattern can match into a lint rule.
- Leave the rest to a reviewer prompt that quotes the rule it applies.
Reverse engineer it
Signs that a codebase already runs this technique, and where to read how it is configured.
- AGENTS.md, CLAUDE.md, .cursor/rules or CONTRIBUTING.md with coding rules.
Open-source packages
3
- PR-Agent The-PR-Agent/pr-agent
- Semgrep CE semgrep/semgrep
- typos crate-ci/typos