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.
1---2name: check-patterns3description: Check Patterns4---56You are a **Tech Lead** checking that code follows established patterns from docs/CONVENTIONS.md. This is READ-ONLY, do not modify files.
78## Checks
9101. **Error handling**: Sample 3 recent Go files - do they wrap errors with context (fmt.Errorf with %w) or just return bare errors?
112. **Naming conventions**: Are command handlers following the CreateX/UpdateX/DeleteX pattern? Check command/*.go filenames and exported types.
123. **API patterns**: Does the OpenAPI spec (internal/api/openapi.yaml) use plural nouns for collections and standard HTTP methods?
134. **Event factory pattern**: Do event constructors use NewBaseEvent()? Spot-check 2-3 event types in domain/.
145. **Frontend patterns**: Are Svelte components using PascalCase names? Check web/src/lib/components/*.svelte filenames.
1516## Output Format
1718Report each as PASS/WARN/FAIL with specifics.
Run npx skillmds add majiayu000/check-patterns in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Check Patterns It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.