Agent skill · Documentation

python-guidelines

This skill should be used when writing, reviewing, or refactoring Python code. Covers code integration, idiomatic patterns, docstring formatting, anti-abstraction rules, and software engineering basics.

fcakyongithub.com/fcakyonGitHub ↗
claude-codecodexcursorApache-2.0
Install
npx skills add fcakyon/claude-codex-settings --skill python-guidelines --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 5
SKILL.md size: 5 KB
Bundled scripts: none
Path: plugins/python-skills/skills/python-guidelines/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 967
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Python Guidelines **Integrate into existing code. Don't append to it.** > Simple is better than complex. Flat is better than nested. > Errors should never pass silently. Unless explicitly silenced. > If the implementation is hard to explain, it's a bad idea. > > -- The Zen of Python (PEP 20) ## Code Philosophy - Match existing naming, importing, and signature patterns. Use existing utilities and data structures. - Functions have a single purpose. Don't hardcode behavior that makes them less general. - No trivial wrappers for 2 lines or less. Inline it. - Inline single-use variables at the usage site. - No try/except unless critical. Let errors surface. - No duplicate code. - Functions handle their own input validation. No if-else checks in main. - Use pathlib, not os.path. - Consider API and time costs for MongoDB/Gemini/OpenAI/Claude/Voyage. Don't do this: ```python # Generate comment report only if requested if include_comments: comment_report = generate_comments_report(start_date, end_date, team, verbose) else: comment_report = "" print(" Skipping comment analysis (disabled)") ``` Do this: ```python comment_report = generate_comments_report(start_date, end_date, team, verbose)

What's inside
Steps it walks through
  1. Code Philosophy
  2. Simplicity Over Abstraction
  3. Environment
  4. Testing Discipline
  5. Google-Style Docstrings
  6. Reference Files
Ships with 4 files
  • references/effective-python-tips.md
  • references/google-style-guide.md
  • references/idiomatic-patterns.md
  • references/zen-of-python.md
More from claude-codex-settings
All skills →
About this skill
What does the python-guidelines skill do?

This skill should be used when writing, reviewing, or refactoring Python code. Covers code integration, idiomatic patterns, docstring formatting, anti-abstraction rules, and software engineering basics.

How do I install it?

Run `npx skills add fcakyon/claude-codex-settings --skill python-guidelines --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From fcakyon/claude-codex-settings, a repository with 967 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going