Tech Code Review
Use this skill as the workflow entry point for a complete code review package. It coordinates the companion skills in this bundle instead of replacing them.
Workflow
- Use
pr-reviewerto collect PR or git diff context, changed files, lint signals, test coverage hints, and initial risk level. - Use
critical-code-reviewerto examine the changed code for bugs, edge cases, security holes, performance risks, type-safety gaps, and maintainability failures. - Use
project-code-standardto check lint, formatting, naming, import order, file structure, and team conventions. - Use
security-auditwhen changes touch authentication, authorization, credentials, dependencies, configuration, deployment, or input handling. - Use
clean-code-reviewto evaluate code smells, anti-patterns, responsibility boundaries, readability, KISS/DRY/YAGNI, and refactoring opportunities. - Use
code-review-assistantto assemble a structured Chinese review report with severity, evidence, file/line references where available, and actionable fixes.
Routing
- If the user gives a GitHub PR URL or PR number, start with
pr-reviewerwhenghis available. - If the user asks for a strict or adversarial review, use
critical-code-reviewerearly. - If the request emphasizes lint, style, formatting, or team standards, use
project-code-standard. - If the request mentions credentials, auth, permissions, CVEs, deployment, or hardening, use
security-audit. - If the request asks whether the code is maintainable, readable, or clean, use
clean-code-review. - If the user wants a final review report in Chinese, use
code-review-assistantfor report assembly.
Project-First Rules
When working in a local codebase:
- Inspect the current git status and protect user changes before reading diffs or running tools.
- Prefer the repository's real lint/test commands and established review conventions over generic advice.
- Ground findings in code evidence: file path, line, behavior, risk, and a concrete fix.
- Separate blocking bugs/security issues from style or maintainability suggestions.
- Do not claim a PR is safe unless the relevant diff, tests, and risk areas were actually checked.
Output Package
For a full code review package, produce:
- PR or diff intake summary: changed files, scope, risk areas, and available test/lint evidence.
- Findings list: grouped by severity with file/line references where possible.
- Security audit notes: credentials, auth, dependency, input validation, and config risks.
- Standards report: lint, formatting, naming, import order, and team convention gaps.
- Clean-code assessment: maintainability risks, code smells, and refactoring suggestions.
- Final Chinese review report: concise verdict, required fixes, suggestions, and verification notes.
Operating Notes
- Keep review comments specific and actionable.
- Avoid style-only noise when a stronger correctness or security issue exists.
- Do not post comments to GitHub unless the user explicitly asks.
- If tooling is unavailable, state the verification limit and continue with source-based review.