Global Coding Style

Enforce naming conventions, formatting standards, and DRY principles across all coding activities.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/elliotsaha/smt-slack-app --skill global-coding-style-elliotsaha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Global Coding Style
Source: https://github.com/elliotsaha/smt-slack-app/tree/main/.claude/skills/global-coding-style
Command: npx skills add https://github.com/elliotsaha/smt-slack-app --skill global-coding-style-elliotsaha

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates inconsistent coding styles that hinder readability, increase cognitive load, and complicate collaboration. It automates adherence to naming conventions, formatting standards, and DRY principles, saving developers time and improving overall code quality.

Core Features & Use Cases

  • Consistent Formatting: Ensures uniform indentation, spacing, and code structure.
  • Descriptive Naming: Guides the use of clear, meaningful names for variables, functions, and classes.
  • DRY Principle: Promotes eliminating code duplication and creating reusable logic.
  • Use Case: When refactoring a large function, this Skill ensures the AI breaks it into smaller, single-responsibility functions, uses camelCase for JavaScript variables, and removes any unused imports or dead code, making the module much easier to understand.

Quick Start

When implementing the processUserData function, ensure it's broken into smaller, single-responsibility functions and all unused imports are removed.

Frequently Asked Questions about Global Coding Style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure consistent code formatting and naming conventions across my project?

Consistent formatting applies uniform indentation, spacing, and structure across all files and languages. Naming conventions establish clear, descriptive names for variables, functions, and classes, reducing cognitive load and improving readability for all developers on the project.

What is the DRY principle and why should I eliminate code duplication?

DRY (Don't Repeat Yourself) eliminates code duplication by promoting reusable logic and modular design. Removing duplicate code reduces maintenance burden, prevents inconsistencies, and makes codebases easier to understand and modify.

How do I refactor a large function into smaller, maintainable pieces?

Break large functions into smaller, single-responsibility functions with descriptive names. Remove unused imports and dead code, ensure consistent indentation, and apply language-specific naming conventions like camelCase for JavaScript, making each module easier to understand and test.

Can I apply coding style standards across multiple programming languages?

Yes, coding style standards apply across all languages by enforcing naming conventions, formatting, and DRY principles universally. Language-specific conventions adapt—such as camelCase for JavaScript or snake_case for Python—while maintaining consistent structure and readability globally.

What's the best way to remove dead code and unused imports from my codebase?

Audit files for unused imports and unreachable code systematically, then remove them as part of enforcing coding standards. This cleaning process improves clarity, reduces file size, and eliminates confusion about which dependencies and functions are actually in use.