en un clic
check-patterns
Check code pattern consistency across the codebase
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Check code pattern consistency across the codebase
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
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
Basé sur la classification professionnelle SOC
| 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]