SkillsReviewed · fcakyon

Python Guidelines

Python Guidelines is a coding skill for developers using AI assistants to write or review Python, but its strict conventions need adapting to each project. It combines instructions with four references covering readable code, Python idioms, documentation and software design.

Researched 17 Nov 2026

In short.

Python Guidelines is an instruction pack for developers using AI assistants on Python projects, but some rules conflict and require project judgment. It emphasizes integrating with existing code, limiting unnecessary abstractions, using idiomatic patterns and writing consistent docstrings. Its examples provide concrete review guidance; compatibility, assistant adherence and effects on code quality have not been assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers SKILL.md and all four files under plugins/python-skills/skills/python-guidelines/references at commit b4876aac9566bfd66378237c244a285e09310d2f, plus the repository root LICENSE. The wider repository, plugin installation metadata, external source documents, book contents and any additional notices outside the supplied material are outside this assessment. Installation, activation, command execution, assistant adherence, runtime compatibility, costs and performance were not tested.

The overview

identity

Python Guidelines is the python-guidelines skill inside fcakyon/claude-codex-settings. Its selected folder contains SKILL.md and four reference files: idiomatic-patterns.md, zen-of-python.md, google-style-guide.md and effective-python-tips.md.

The source version is commit b4876aac9566bfd66378237c244a285e09310d2f. The original folder at that revision is available at [https://github.com/fcakyon/claude-codex-settings/tree/b4876aac9566bfd66378237c244a285e09310d2f/plugins/python-skills/skills/python-guidelines].

assessment

The skill offers specific guidance for common assistant mistakes: adding parallel implementations instead of reusing existing code, introducing speculative abstractions, hiding errors and producing inconsistent documentation. The supporting examples make these preferences easier to apply during a review.

Treat it as guidance to reconcile with project conventions. For example, SKILL.md prescribes Google-style docstrings, while its Google-style reference says existing project docstrings take precedence. The files do not explain how to resolve that conflict.

users

Beginners can use the before-and-after examples to understand iteration, resource handling, mutable defaults and small data structures. Experienced developers can use the instructions as review criteria for assistant-generated changes and as a starting point for team conventions.

It is most suitable for projects willing to adopt or adapt its preferences, including uv, pathlib and detailed docstring formatting. Teams with established alternatives will need to resolve those differences before use.

capabilities

The instructions cover writing, reviewing and refactoring Python. Topics include reusing project utilities, keeping functions focused, separating input/output from logic, avoiding premature abstraction, handling exceptions and formatting Google-style docstrings.

The idiom reference supplies 18 patterns, including enumerate, zip, comprehensions, generators, context managers, dataclasses, collection helpers, caching and safe default arguments. Other references summarize design principles and selected advice attributed to Google and Effective Python.

Using it

requirements

Following the skill requires an assistant workflow that can read SKILL.md and its relative reference files. Its verification instructions also assume access to Python execution, the project environment and installed package source.

The file prescribes uv rather than pip and describes an existing .venv or uv run workflow. It does not specify supported assistant hosts, minimum host versions, a uv version or a general minimum Python version. One caching example explicitly identifies Python 3.9+ for functools.cache.

mechanism

The skill works through written instructions. Its YAML metadata identifies Python writing, review and refactoring as the intended use, while the main document directs the assistant to consult different references for different tasks.

It asks the assistant to verify behavioral assumptions with short Python commands and inspect installed package source. The selected files contain guidance and examples; they do not include a linter, automatic enforcement mechanism or evidence that a particular assistant follows the rules reliably.

setup

Obtain SKILL.md together with its references directory from the original source version. Keep their relative paths intact because the main file links directly to those documents.

Consult the intended assistant host's installation documentation for placement and activation. Exact installation commands and host-specific configuration are absent from the selected folder. Before enabling it, reconcile its package-manager, documentation and error-handling preferences with the target project.

example

For a review of a loop that uses range(len(items)) to retrieve each item's index and value, the idiom reference suggests enumerate(items). For file handling, it replaces manual opening and closing with a with statement.

These examples illustrate the intended review style: make a small, readable change that fits the surrounding code. They are source examples, not executed demonstrations or evidence of improved results.

Assessment & evidence

limitations

Several instructions are unusually strict: inline single-use variables, avoid wrappers of two lines or fewer and avoid try/except unless critical. Applying these mechanically can conflict with the resource's broader emphasis on readability and clear separation of responsibilities.

The examples also require context. The caching reference explicitly describes cache as unbounded, so it is not a universal memory-management recommendation. No execution results establish installation success, compatibility, correctness across real projects or measurable improvements.

reasoning

Its practical value comes from connecting broad principles to concrete edits. Advice about simplicity is paired with examples of comprehensions, helper functions, explicit arguments and lightweight data structures, while the main instructions emphasize fitting changes into an existing project.

That makes it a useful starting point for review guidance. The unresolved precedence between project conventions and prescribed rules limits how confidently it can serve as an unchanged team standard.

alternatives

For fuller context, consult the sources named by the skill: PEP 8 [https://peps.python.org/pep-0008/], PEP 20 [https://peps.python.org/pep-0020/] and Google's Python Style Guide [https://google.github.io/styleguide/pyguide.html]. The Effective Python reference also points readers to Brett Slatkin's third edition.

A project's existing conventions offer another basis for assistant instructions, especially where they already settle imports, type hints and docstrings. No comparative performance or usability evidence establishes which approach works better.

evidence

The available source material comprises the complete selected skill folder: one instruction file and four references, accompanied by the repository's root LICENSE. These documents establish the resource's written behavior, examples and stated source attributions.

The external websites and book are cited by those files but their full contents are not supplied. Accuracy of the summaries, book item numbers and correspondence to current external guidance are not independently established. Nothing was installed or executed.

Access & freshness

costs

The repository's Apache 2.0 license grants rights without royalties, but total operating cost is unknown. The selected files provide no assistant subscription prices, model usage measurements or estimates for running verification commands.

The main instructions explicitly mention considering time and API costs for MongoDB, Gemini, OpenAI, Claude and Voyage. Those mentions do not establish required integrations, included services or actual spending.

rights

The repository includes Apache License 2.0, which permits use, modification and redistribution subject to its conditions. Redistribution requires supplying the license, retaining applicable notices and marking modified files. Applicable NOTICE attributions must also be preserved if such a file exists. The license provides no warranty and does not generally grant trademark rights.

The Google-style reference separately identifies its source as CC-BY 3.0. Other references reproduce or summarize material attributed to PEPs and Brett Slatkin's Effective Python. The supplied material does not establish all third-party reuse terms or whether additional notices apply, so the root license should not be assumed to resolve every reference's attribution and reuse requirements.

freshness

The source snapshot was captured on 17 November 2026 at commit b4876aac9566bfd66378237c244a285e09310d2f. This identifies the analyzed version; it does not establish the commit's publication date or whether the repository's main branch has since changed.

The references identify Effective Python's third edition as a 2024 source and include an example marked Python 3.9+. Neither detail establishes current assistant compatibility or recent maintenance. The selected files provide no release history.

actions

Before adopting the skill, decide which existing project conventions take precedence, particularly for docstrings, package management, helper functions and exception handling. Preserve the reference directory and confirm how the intended assistant host loads the skill.

Evaluate its guidance on a small Python task using the project's normal review and validation process. Check whether the assistant consults relevant references and preserves behavior. Review the applicable license and third-party attribution requirements before redistributing the files.

Evidence for this report

LICENSEnotice · checked 2026-11-17