Discover and apply best practice skills automatically. Gap analysis scans the codebase, skill-search fills gaps from the registry, skill-classifier separates proactive from reactive skills, quality-standards generates CLAUDE.md guidance, self-review compares code against checklists, and verification-strategy sets up test/lint/typecheck feedback loops.
86
86%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
Scan the project and identify practice gaps before writing code.
A gap is one of:
Read dependency files (package.json, requirements.txt, go.mod, Cargo.toml) and scan the file tree. Note what frameworks, databases, and tools are in use. For a greenfield project, note "no code yet — all domains are gaps."
Work through the domains in the reference file. For each domain, assess whether it is COVERED (follows best practices) or a GAP (missing or weak).
Do not just check whether a file exists. Read the code and assess whether it follows best practices:
| What you see | Assessment |
|---|---|
| No test files at all | GAP — missing |
| Tests exist but only check happy path | GAP — weak |
| Database file exists, no indexes on FK columns | GAP — weak |
| Error handling uses generic try/catch, no error classes | GAP — weak |
| Helmet installed and configured with custom CSP | COVERED |
Consider what you are about to build. Does it introduce any technology domains the project hasn't used before? Common new domains:
Each new domain is a gap, even if existing domains are well covered.
Update .skill-discovery-state.json with your findings:
{
"done": true,
"interval": 5,
"timestamp": 1711361234,
"writeCount": 0,
"skillsInstalled": false,
"summary": "Assessed 8 domains. Gaps: no tests, error handling is generic try/catch, no security headers. New domain: JWT authentication.",
"gaps": ["testing", "error-handling", "security", "jwt-authentication"]
}Use date +%s to get the current timestamp.
Set done to true to release the write gate. Set skillsInstalled to false (skill-search will update this if it installs skills).
Run the skill-search skill to find skills that fill the gaps you identified. Pass it your gaps list.
If the project has an established pattern for a domain AND that pattern follows best practices, mark it COVERED and move on. The goal is to fill gaps and improve weak implementations, not override good decisions already made.