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.zipInstalls 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.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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| code-style-guide (this skill) | 1 | 7mo | No flags | Beginner |
| deepwiki-rs | 25 | 9mo | Review | Intermediate |
| python-code-style | 9 | 6mo | Review | Intermediate |
| cookbook-audit | 5 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by OpenHands
View all by OpenHands →You might also like
deepwiki-rs
sopaco
AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.
python-code-style
wshobson
Python code style, linting, formatting, naming conventions, and documentation standards. Use when writing new code, reviewing style, configuring linters, writing docstrings, or establishing project standards.
cookbook-audit
anthropics
Audit an Anthropic Cookbook notebook based on a rubric. Use whenever a notebook review or audit is requested.
fix-members-short-description
flet-dev
Use when asked to fix short descriptions of Python type members.
code-changelog
bear2u
AI가 만든 모든 코드 변경사항을 reviews 폴더에 기록하고 간단한 HTML 뷰어로 웹 브라우저에서 실시간 확인할 수 있습니다. 매 수정마다 문서가 생성되고 Python 서버로 즉시 확인 가능합니다.
test-knowledge
uchicago-bfi-gnlab
Generates a quiz to test the user's knowledge of a codebase or script. Supports two modes: script-specific (deep dive on one script, invoke with a script path) and whole-project (architecture, design choices, pipeline, invoke with `project`). Reads actual source files, git history, and directory str