원클릭으로
check-patterns
Check code pattern consistency across the codebase
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Check code pattern consistency across the codebase
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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]