conventions
Load coding conventions and style guidelines when writing or reviewing code. Ensures consistency with project standards.
When & Why to Use This Skill
This Claude skill automates the enforcement of project-specific coding conventions and style guidelines. By integrating predefined standards for naming, file organization, and error handling, it ensures that all AI-generated or reviewed code remains consistent with the existing codebase, significantly improving code quality and maintainability.
Use Cases
- Automated Style Enforcement: Use the skill during code reviews to automatically identify and correct deviations from project-specific naming conventions and documentation standards.
- Consistent Code Generation: Provide the AI with project guidelines to ensure that newly generated functions, modules, or classes follow established error handling patterns and architectural structures.
- Legacy Code Refactoring: Apply the skill when updating older parts of a codebase to bring them into alignment with modern project standards and testing conventions.
- Team Onboarding: Help new developers quickly adapt to a team's specific coding style by using the skill to provide real-time feedback based on the project's convention files.
| name | conventions |
|---|---|
| description | Load coding conventions and style guidelines when writing or reviewing code. Ensures consistency with project standards. |
| allowed-tools | Read |
Coding Conventions
This skill provides project coding conventions.
When to Use
Load when:
- Writing new code
- Reviewing code
- Refactoring existing code
- Making style decisions
Convention Files
@memory/knowledge/codebase/conventions.json
Key Areas
- Naming conventions
- File organization
- Error handling patterns
- Testing conventions
- Documentation standards