CO

code-style-guide

Automatically applies defined project coding conventions during code generation and review.

Install

mkdir -p .claude/skills/code-style-guide && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3909" && unzip -o skill.zip -d .claude/skills/code-style-guide && rm skill.zip

Installs to .claude/skills/code-style-guide

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Project coding standards and style guidelines. Always follow these conventions when writing or reviewing code.
110 chars · catalog description✓ has a “when” trigger
Beginner

Key capabilities

  • Enforce Python indentation and line length rules
  • Standardize naming conventions for classes and variables
  • Validate docstring presence and format
  • Apply type hint requirements

How it works

The skill applies a set of predefined formatting and naming rules to ensure consistency across the project codebase.

Inputs & outputs

You give it
Python source code
You get back
Style-compliant code

When to use code-style-guide

  • Enforce naming conventions
  • Standardize docstrings
  • Apply formatting rules
  • Review code for style compliance

About this skill

Code Style Guide

Follow these conventions for all code in this project.

Python

  • Use 4 spaces for indentation
  • Maximum line length: 88 characters (Black default)
  • Use type hints for function signatures
  • Prefer f-strings over .format() or % formatting

Naming Conventions

  • Classes: PascalCase
  • Functions/variables: snake_case
  • Constants: UPPER_SNAKE_CASE
  • Private members: _leading_underscore

Documentation

  • All public functions must have docstrings
  • Use Google-style docstrings
  • Include type information in docstrings when not using type hints

When not to use it

  • Non-Python codebases

Limitations

  • Limited to Python language conventions

How it compares

It provides a centralized, project-specific standard rather than relying on generic or default linter configurations.

Compared to similar skills

code-style-guide side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
code-style-guide (this skill)17moNo flagsBeginner
deepwiki-rs259moReviewIntermediate
python-code-style96moReviewIntermediate
cookbook-audit55moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry