convention-enforcer

Community

Enforce codebase conventions automatically.

AuthorSebdysart
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that all code generated or modified adheres to the established naming, organization, error handling, and testing conventions of the target repository, preventing inconsistencies and improving code quality.

Core Features & Use Cases

  • Naming Convention Enforcement: Ensures variables, functions, and classes follow the repository's detected style (e.g., camelCase, snake_case).
  • File Organization Guidance: Directs new files to their appropriate directories based on detected patterns (e.g., routes, models, tests).
  • Error Handling Standardization: Enforces consistent error handling patterns like try-catch or .catch().
  • Testing Pattern Adherence: Ensures test files are created using the repository's preferred structure (co-located or separate directory).
  • Use Case: When generating a new API endpoint, this skill will ensure the route handler is placed in the correct directory, the function is named using camelCase, and a try-catch block is included for error handling, matching the backend's conventions.

Quick Start

Use the convention-enforcer skill to ensure the newly generated service file adheres to the project's naming and organization conventions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: convention-enforcer
Download link: https://github.com/Sebdysart/omni-link-hustlexp/archive/main.zip#convention-enforcer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.