| name | Global Coding Style |
| description | Maintain consistent code formatting, naming conventions, and structure across the entire codebase with automated tools and clear standards. Use this skill when writing any code in any language or framework. When naming variables, functions, classes, or files. When formatting code with proper indentation and line breaks. When refactoring code to remove duplication or extract reusable functions. When running linters or formatters to ensure consistency. When removing dead code, unused imports, or commented-out blocks. When applying DRY principles to avoid code duplication. This skill applies universally to all programming tasks. |
Global Coding Style
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle global coding style.
When to use this skill
- When writing any code in any programming language or framework
- When naming variables, functions, classes, methods, or files
- When formatting code with proper indentation, spacing, and line breaks
- When running automated formatters (Prettier, Black, rustfmt, gofmt, etc.)
- When running linters (ESLint, Pylint, Clippy, etc.) to enforce code standards
- When refactoring code to extract common logic into reusable functions
- When removing dead code, unused variables, or commented-out blocks
- When keeping functions small and focused on a single responsibility
- When applying the DRY (Don't Repeat Yourself) principle
- When writing meaningful, descriptive names that reveal intent
Instructions
For details, refer to the information provided in this file: global coding style