Agent skill

Python Style Guide

by aiskillstore in aiskillstore/marketplace

Comprehensive Python programming guidelines based on Google's Python Style Guide.

Custom licenceAuto-check passedWriting & Content

Install Python Style Guide

skills CLI
$ npx skills add aiskillstore/marketplace --skill python-style-guide -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace python-style-guide --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codingkaiser/python-style-guide .claude/skills/python-style-guide && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
python-style-guide
GitHub stars
430
Token cost
~2.8k tokens
SKILL.md length
639 words
Files
6 (incl. references)
Skills in repo
1,108
Repo updated
First seen
Licence
Custom licence

At a glance

Comprehensive Python programming guidelines based on Google's Python Style Guide.

  • Works in 10 steps: Use type annotations for all functions → Follow naming conventions consistently → Write clear docstrings for all public APIs → …
  • Claude needs to write Python code
  • SKILL.md covers Core Philosophy, Language Rules, Style Rules and Type Annotation Details, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Python Style Guide is an agent skill from aiskillstore/marketplace. Comprehensive Python programming guidelines based on Google's Python Style Guide. Use when Claude needs to write Python code, review Python code for style issues, refactor Python code, or provide Python programming guidance. Covers language rules (imports, exceptions, type annotations), style rules (naming conventions, formatting, docstrings), and best practices for clean, maintainable Python code.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/advanced_types.md`, `references/antipatterns.md` and `references/docstring_examples.md`).

It sits in Writing & Content, covering Technical documentation and Plain language and style rules. It works with Python. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Claude needs to write Python code
  • Review Python code for style issues
  • Refactor Python code
  • Provide Python programming guidance

Example prompts

  • “/python-style-guide”

Requirements

  • Python 3

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Use type annotations for all functions
  2. Follow naming conventions consistently
  3. Write clear docstrings for all public APIs
  4. Keep functions focused and reasonably sized
  5. Use comprehensions for simple cases
  6. Prefer implicit false in boolean contexts
  7. Use f-strings for formatting
  8. Always use context managers for resources
  9. Run pylint and fix issues
  10. BE CONSISTENT with existing code

What it can do on your machine

Read from SKILL.md and the folder at commit ad8daf7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • google.github.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Python Style Guide loads about 2.8k tokens when it runs, and up to ~8.2k if it reads all its reference files. Until then it costs about 105 tokens; SKILL.md has 639 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~105
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 639 words (~2,780 tokens).

“Comprehensive guidelines for writing clean, maintainable Python code based on Google's Python Style Guide.”

— opening of SKILL.md by aiskillstore, Custom licence
name
python-style-guide
license
Complete terms in LICENSE.txt

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in skills/codingkaiser/python-style-guide of aiskillstore/marketplace.

  • SKILL.md
  • LICENSE
  • references/advanced_types.md
  • references/antipatterns.md
  • references/docstring_examples.md
  • skill-report.json

Open the folder on GitHubat commit ad8daf7

Compare with similar skills

Python Style Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Python Style Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Style Guide this skillaiskillstore/marketplace430—~2.8kAutomated safety check: PassCustom licence
Technical Writing Standardcursor/plugins10k10 repos~2.4kAutomated safety check: PassNone
Commenting C And Pythonmicrosoft/bocpy201—~3.3kAutomated safety check: PassMIT
ISO 24495-3 Technical Plain LanguageGaZmagik/iso-24495189—~1.6kAutomated safety check: PassMIT
Code Comment GeneratorArabelaTso/Skills-4-SE253—~4.6kAutomated safety check: PassApache-2.0
Technical Writingcitypaul/.dotfiles739—~2.5kAutomated safety check: PassMIT

Similar skills

  • Official

    Applies four layers of technical-writing rules to docs, RFCs, readmes, PR descriptions and commit messages so a tired engineer follows them on the first read.

    10k GitHub starsUsed in 10 repos~2.4k tokens
    Writing & ContentAuto-check passed
  • Official

    Follow bocpy commenting and documentation conventions. An agent skill from microsoft/bocpy.

    201 GitHub stars~3.3k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Applies plain language rules to software documentation, architecture explanations, code reviews and technical analysis, following the principles of ISO 24495-3:2026.

    189 GitHub stars~1.6k tokensUpdated today
    Writing & ContentAuto-check passed
  • Code Comment Generator

    ArabelaTso/Skills-4-SE

    Generates meaningful comments and documentation for code to improve maintenance and readability.

    253 GitHub stars~4.6k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Technical Writing

    citypaul/.dotfiles

    Writing developer-facing prose that can be skimmed first and trusted enough to finish — READMEs, guides, tutorials, reference docs, proposals, PR descriptions, release notes.

    739 GitHub stars~2.5k tokensUpdated 5 days ago
    Writing & ContentAuto-check passed
  • JavaScript Concept Page Writer

    leonardomso/33-js-concepts

    Writes or reviews documentation pages for the 33 JavaScript Concepts project, following its structure, a beginner-friendly voice and rules against AI-sounding language.

    67k GitHub stars~14k tokensUpdated 27 days ago
    Writing & ContentAuto-check passed

More from aiskillstore/marketplace

All 1,108 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 2 repos~598 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Works with

Questions about Python Style Guide

What does Python Style Guide do?

Comprehensive Python programming guidelines based on Google's Python Style Guide. Python Style Guide is an agent skill from aiskillstore/marketplace. Comprehensive Python programming guidelines based on Google's Python Style Guide.

When should I use Python Style Guide?

Python Style Guide fits situations like: Claude needs to write Python code; review Python code for style issues; refactor Python code; provide Python programming guidance.

How do I install Python Style Guide in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill python-style-guide -a claude-code`. Or copy the skill folder (skills/codingkaiser/python-style-guide in aiskillstore/marketplace) into .claude/skills/python-style-guide in your project. Claude Code loads it when a task matches its description.

How do I install Python Style Guide in Codex?

Run `npx skills add aiskillstore/marketplace --skill python-style-guide -a codex`. Or copy the skill folder (skills/codingkaiser/python-style-guide in aiskillstore/marketplace) into .agents/skills/python-style-guide in your project. Codex loads it when a task matches its description.

Can I use Python Style Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill python-style-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-style-guide, .gemini/skills/python-style-guide, .github/skills/python-style-guide and .opencode/skills/python-style-guide in your project.

What does Python Style Guide need to run?

SKILL.md names no scripts, command-line tools or credentials: Python Style Guide is instructions for the agent only. Our summary lists: Python 3.

Does Python Style Guide access the network?

SKILL.md names 1 domain. As links in the text: google.github.io. This is read from the text; nothing was executed.

Is Python Style Guide safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Python Style Guide use?

Python Style Guide has a licence file (from the LICENSE file in the skill folder) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Python Style Guide use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.4k tokens, read only when the agent opens those files.

What are the alternatives to Python Style Guide?

Skills that share tags, products or a category with Python Style Guide: Technical Writing Standard (cursor/plugins, 10k stars), Commenting C And Python (microsoft/bocpy, 201 stars), ISO 24495-3 Technical Plain Language (GaZmagik/iso-24495, 189 stars) and Code Comment Generator (ArabelaTso/Skills-4-SE, 253 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python Style Guide?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,108 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.