Agent skill
Global Coding Style
Write clean, consistent code following established naming conventions, formatting standards, and the DRY principle with meaningful names and small focused functions. Use this skill when writing or editing any code file in any programming language. When naming variables, functions, classes, or files. When formatting code, organizing imports, or structuring functions. When refactoring code to remove duplication or dead code. When ensuring consistent indentation, code style, and readability. This skill applies universally to all code files including `.js`, `.ts`, `.py`, `.rb`, `.java`, `.go`, `.php`, and any other programming language files.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/global-coding-style-dpietersz-pietersz-me
SKILL.md
Global Coding Style
When to use this skill
- When writing or editing any code file in any programming language
- When naming variables, functions, classes, modules, or files
- When formatting code with proper indentation and line breaks
- When creating small, focused functions with single responsibilities
- When refactoring to follow the DRY (Don't Repeat Yourself) principle
- When removing dead code, unused imports, or commented-out blocks
- When ensuring consistent naming conventions across the codebase
- When organizing code structure and file organization
- When configuring or using code formatters and linters
- When reviewing code for readability and maintainability
- When deciding whether backward compatibility is needed
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.
Instructions
For details, refer to the information provided in this file: global coding style
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?