con un clic
check-patterns
Check code pattern consistency across the codebase
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Check code pattern consistency across the codebase
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Audit documentation for drift, dead links, and stale content
Assess alignment with the current roadmap phase
Spot-check that code matches ADR invariants
Analyze test quality and coverage patterns
Inventory technical debt across the codebase
Run all project health checks and produce a unified report
| name | check-patterns |
| description | Check code pattern consistency across the codebase |
| user_invocable | true |
| context | fork |
| agent | Explore |
Verify that the codebase follows consistent Go patterns and project conventions.
Spot-check 3 .go files (non-test) for error wrapping:
fmt.Errorf with %w verb (preferred pattern)errors.New() that should include contextSpot-check 3 _test.go files for table-driven test patterns:
[]struct test case definitionst.Run( subtest executionCheck that all exported types and functions have doc comments:
^func [A-Z] and ^type [A-Z] declarations// commentVerify every package has a doc.go file:
Spot-check that public APIs use io.Reader/io.Writer interfaces:
Grep for panic( in all non-test .go files:
## Code Pattern Consistency
### Summary
| Pattern | Status | Findings |
|---------|--------|----------|
| Error handling | ... | ... |
| Table-driven tests | ... | ... |
| Godoc coverage | ... | ... |
| doc.go files | ... | ... |
| Interface APIs | ... | ... |
| No panics | ... | ... |
### Details
[Findings per pattern with code references]
### Recommendations
[Inconsistencies to address, ordered by importance]