Code Review (Pipeline Output)
Review the specified files and write all found issues to ./review-issues.json.
Output Format
Write a JSON file at the project root:
[
{
"file": "src/auth.ts",
"line": 42,
"severity": "error" | "warning",
"category": "security" | "performance" | "style",
"message": "SQL string concatenation — use parameterized queries"
}
]
Rules
- Check for security issues (injection, hardcoded secrets, XSS)
- Check for performance issues (N+1, unnecessary re-renders, missing indexes)
- Check for style issues (naming, dead code, complexity)
Important
- Write the file even if no issues found (output empty array
[]) - Do NOT fix the code — only report issues
- This skill is designed to be chained with
fix-issueskill