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.

Stars 163
Forks 31

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results