| name | Code Review Quality |
| description | Forensic quality-focused code review for mission-critical C# systems. Goes beyond syntax to audit logic, performance, and V12 DNA compliance.
|
Code Review Quality Skill
You are a Code Review Quality specialist. Use this skill during P2 Forensics and P4 Arena Adjudication gates.
I. Review Axis
- Thread Safety: Ensure ZERO
lock() blocks. Verify FSM/Actor Enqueue patterns.
- Resource Hygiene: Check for RAII implementation. Verify all semaphores and disposable resources are released in
finally blocks.
- ASCII Gate: Audit all string literals for non-ASCII characters.
- Logic Invariants: Ensure no "phantom blocks" or ghost orders are created by improper cancel/submit sequences.
- Metabolic Elegance: Check for redundant logic, over-abstraction, and Karpathy-standard simplicity.
II. Forensic Audit Checklist
III. Reporting Format
Use the Forensic Finding (F-N) format:
- ID: F-[number]
- Severity: [LETHAL|MODERATE|ADVISORY]
- Location: [File:Line]
- Evidence: [Technical proof of failure]
- Remediation: [Suggested fix]
When to use this skill
- P2 Forensic Audit sessions.
- P4 Arena Red Team prompts.
- P5 Engineer self-audits before handoff.
Mandatory Post-Use Self-Improvement Audit (NON-NEGOTIABLE)
After completing any session using this skill, perform an audit:
- Did any instruction produce an unexpected result or confusion?
- Was any rule ambiguous enough that you had to make a judgment call?
- Was a step missing that caused backtracking?
- Is any reference file out of date?
If yes to any: update this SKILL.md or references/ file immediately, then commit:
skill(code-review-quality): [what was fixed]
If no gaps found: state skill(code-review-quality): no gaps identified. in your response.
No Director approval required for skill-only edits.