Code Review
General routing skill for code review workflows. Every review must apply both
sets of guidance: the skills under this code-review/ directory and the
matching programming-language or framework-specific skills. Use this skill to
inspect the review target and route to those sources instead of duplicating
review guidance here.
Routing
- For Go code, use
technical/golang. - For React web code, use
react-best-practices. - For React Native code, use
react-native-best-practices. - For React or React Native component API and composition concerns, use
composition-patterns. - For simplification, slop removal, verbose code, redundant checks, or over-engineering, use
deslop-simplify-ai-code.
Process
- Determine the review scope: pasted code, selected files, git diff, PR, branch, or repository area.
- Inspect the target before choosing a specialized skill.
- Infer the primary language, framework, and review concern from filenames, imports, package manifests, and code patterns.
- Always load and apply the relevant skills under this
code-review/directory before writing findings. - Always load and apply the matching programming-language or framework-specific skills before writing findings.
- Route to every relevant specialized skill when the review spans multiple ecosystems or concerns.
- Ask one concise clarification question if the target or intended review focus is ambiguous.
- After the review, mention the source skill or skills used for the review, using their skill names or paths.
Output
- Findings remain the primary focus, ordered by severity with file and line references.
- Include a concise
Review sourcesline naming both thecode-review/skills and the programming-language or framework-specific skills that informed the review.