Speckit.reviewer

Code Reviewer - Review code according to spec and best practices.

wedabro Updated

File contents

🎯 Mission

Review implementation code → ensure correct spec, security, performance.

📥 Input

  • Source code (implemented files)
  • .agents/specs/[feature]/spec.md + plan.md
  • .agents/memory/constitution.md

📋 Protocol

  1. Spec Compliance: Does the code correctly implement all requirements in the spec?
  2. Error Handling: Does every API route have try-catch? Is return in the correct error format?
  3. Security: Find injection risks, missing auth checks, exposed secrets.
  4. Performance: Found N+1 queries, awaiting waterfalls, missing pagination.
  5. Constitution: Does the code violate any rules in constitution.md?
  6. Output: Verdict + table findings:
    | File:Line | Severity | Issue | Suggestion |
    |-----------|----------|-------|------------|
    | api/users.ts:45 | 🔴 | Missing auth | Add middleware |
    
  7. Verdict: ✅ APPROVE or ❌ REQUEST CHANGES (with list to fix).

📤 Output

  • File: .agents/memory/review-report.md

🚫 Guard Rails

  • DO NOT fix the code yourself — only review and make suggestions.
  • Each finding MUST have a specific file:line.

wedabro/bro-skills/tree/main/.agents/skills/speckit.reviewer commit 9773797732

Frequently asked questions

npx skillmds@latest add wedabro/speckit-reviewer