What problem does it solve?
Projects drift between intent, implementation, and tests because specs are missing, outdated, or inconsistent, causing unclear requirements, brittle tests, and AI-assisted work that hallucinates or invents behavior. This Skill enforces reading reality before writing, detects mismatches between specs and code, and provides automated fixes and guardrails so documentation, implementation, and tests stay aligned.
Core Features & Use Cases
- Spec Health Check: glob for spec files, verify referenced file paths, extract actual function signatures, replace placeholder paths, fill empty table cells, and ensure minimum error/edge cases with auto-fixes for trivial issues.
- Test Health Check & Generation: generate tests from UserStory/REQ mappings, validate @spec references, detect LLM anti-patterns (circular mocks, happy-path bias, over-mocking), and auto-fix broken imports.
- Workflows & Templates: bootstrap specs for existing codebases, analyze and prioritize todos, and provide templates for overview/feature specs and implementation documentation.
- Use Cases: bootstrapping a repo with no specs, running a repo-wide spec health check after implementation, generating tests from requirements, and surfacing actionable todos or bugs from specs.
Quick Start
Run a spec health check on the repository (look under specs/ or app_spec/) to verify paths, extract real signatures, fill placeholders, enforce ≥3 error and edge cases, validate test @spec links, and auto-fix trivial issues.