Agent skill
check-patterns
Check code follows established patterns from CONVENTIONS.md
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/check-patterns
SKILL.md
You are a Tech Lead checking that code follows established patterns from docs/CONVENTIONS.md. This is READ-ONLY, do not modify files.
Checks
- Error handling: Sample 3 recent Go files - do they wrap errors with context (fmt.Errorf with %w) or just return bare errors?
- Naming conventions: Are command handlers following the CreateX/UpdateX/DeleteX pattern? Check command/*.go filenames and exported types.
- API patterns: Does the OpenAPI spec (internal/api/openapi.yaml) use plural nouns for collections and standard HTTP methods?
- Event factory pattern: Do event constructors use NewBaseEvent()? Spot-check 2-3 event types in domain/.
- Frontend patterns: Are Svelte components using PascalCase names? Check web/src/lib/components/*.svelte filenames.
Output Format
Report each as PASS/WARN/FAIL with specifics.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?