Global Conventions

Enforce global coding conventions across generated, reviewed, and refactored code files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jaypaulb/CanvusAPI-LLMDemo --skill global-conventions-jaypaulb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Global Conventions
Source: https://github.com/jaypaulb/CanvusAPI-LLMDemo/tree/main/.claude/skills/global-conventions
Command: npx skills add https://github.com/jaypaulb/CanvusAPI-LLMDemo --skill global-conventions-jaypaulb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent coding styles reduce readability, make code reviews difficult, and hinder collaboration. This Skill ensures the AI adheres to your project's global coding conventions, from naming to formatting, promoting a unified and maintainable codebase.

Core Features & Use Cases

  • Naming Conventions: Guides AI on consistent naming for variables, functions, classes, and files.
  • Code Formatting: Ensures AI applies predefined rules for indentation, spacing, and line breaks.
  • Use Case: When refactoring a legacy module, use this Skill to have the AI automatically apply all global naming and formatting conventions, bringing the code up to current standards without manual effort.

Quick Start

Refactor the attached main.py file to align with the project's global naming and formatting conventions.

Frequently Asked Questions about Global Conventions

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

FAQPage Schema
How do I enforce consistent coding conventions across my codebase with AI?

Enforce consistent coding conventions by providing a centralized global conventions document that specifies naming, formatting, and structure rules. Claude Code applies these rules automatically during code generation, review, and refactoring, ensuring uniform output across all code artifacts without manual effort.

Can AI apply my project's naming and formatting conventions automatically during refactoring?

Yes. Refactoring with global conventions enabled automatically applies your project's naming rules for variables, functions, classes, and files, plus formatting standards for indentation and spacing. This brings legacy code up to current standards without manual updates.

What coding standards can be enforced with global conventions?

Global conventions enforce naming patterns, code formatting including indentation and line breaks, and structural consistency across files. The Skill ensures adherence during code generation, review, and refactoring to promote readability and collaboration.

Why do inconsistent coding styles complicate code reviews and maintenance?

Inconsistent styles reduce readability, make code reviews difficult by forcing reviewers to parse varying patterns, and hinder team collaboration. Global conventions establish uniform standards that make code easier to understand, review, and maintain across a project.

Does this work across multiple files and projects?

Yes. Global conventions apply across code files and entire projects that require compliance. The Skill enforces rules consistently during all code work—generation, review, and refactoring—maintaining uniform output across all code artifacts.

What's the best way to standardize code style across a legacy codebase?

Reference a centralized global conventions document and use it during refactoring to automatically apply consistent naming, formatting, and structure. This approach systematically brings legacy code into compliance with current standards at scale.