conventions

Clouder0's avatarfrom Clouder0

Load coding conventions and style guidelines when writing or reviewing code. Ensures consistency with project standards.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 2, 2025

When & Why to Use This Skill

The Conventions Claude skill is designed to bridge the gap between AI-generated code and professional project standards. By loading specific coding conventions and style guidelines, it ensures that every code snippet, refactor, or review performed by the agent aligns perfectly with your team's established naming conventions, file structures, and error-handling patterns. This tool is essential for maintaining codebase health, reducing technical debt, and ensuring seamless collaboration across development teams.

Use Cases

  • Automated Style Enforcement: Use the skill during code generation to ensure the AI follows project-specific naming conventions (e.g., camelCase vs snake_case) and file organization rules.
  • Pre-PR Code Auditing: Run the skill against new code changes to identify deviations from established documentation standards and error-handling patterns before human review.
  • Legacy Code Refactoring: Assist in modernizing older codebases by identifying and updating patterns that no longer meet current project style guidelines.
  • Developer Onboarding: Provide an AI-powered reference for new team members to quickly learn and apply the project's unique architectural and testing conventions.
nameconventions
descriptionLoad coding conventions and style guidelines when writing or reviewing code. Ensures consistency with project standards.
allowed-toolsRead

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