python-engineering
Skill4 starsChanged 12 days agoMITView on GitHub
Use when evaluating or improving Python engineering practices, including project structure, dependencies and version policy, typing, testing, language features, standard-library mechanisms, and tooling.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- novatic-cu/nova-skills-coretheir own version, first seen Nov 22, 2026
- adymire/CraftLayertheir own version, first seen Nov 15, 2026
- nledford/engineering-review-boardtheir own version, first seen Nov 3, 2026
- cmdr-chara/chara-toolkittheir own version, first seen Nov 1, 2026
- cmdr-chara/codex-toolkittheir own version, first seen Nov 1, 2026
- yariv1025/skillstheir own version, first seen Oct 11, 2026
Used with
Projects with it also use rust-engineering, go-engineering and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
pirafrankSkillrust-engineering
Apply pragmatic Rust engineering conventions when implementing, modifying, reviewing, or refactoring Rust code. Use for Rust CLI tools, system utilities, daemons, filesystem operations, network integrations, and security-sensitive code. Based on the official Rust guidelines and selected Google Rust Style Guide practices.
Also in 4 projects that use this
caseyngSkillgo-engineering
Senior Go engineering standards for production code. Module structure, error handling, interface design, concurrency, context propagation, testing, security, observability. Includes gomobile-specific constraints for cross-language bindings. Compose with code-integrity-guardrail go for verification. Trigger on: any Go implementation task, any gomobile binding, any Go component in pipeline.
Also in 4 projects that use this
harrissohail6Skillclean-architecture
Clean architecture and SOLID principles. Auto-activates when designing systems or refactoring code structure.
Also in 3 projects that use this
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- nledford/engineering-review-board★ 11same name
- ldilov/harness-forge★ 4same name
- cmdr-chara/chara-toolkit★ 2same name
- cmdr-chara/codex-toolkit★ 2same name
- nafeeur/MaskShift★ 2same name
- yariv1025/skills★ 2same name
- caseyng/Claude-skills★ 1same name
- novatic-cu/nova-skills★ 1same name
- novatic-cu/nova-skills-core★ 1same name
- adymire/CraftLayer★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- maintain-adrSkill
- grill-meSkill
- msgspecSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this Skill for Python-specific engineering review, convention design, and analysis.
- Very specific: line 24
Read-only constraint: when the user says "do not modify", "read-only", "just analyze", or "survey", do not run any command that writes …
- Distinctive: line 57
When terminology is unclear or inconsistent, read the glossary.
- Distinctive: line 65
Write output in the language required by global, project, or user instructions.
- Distinctive: line 69
Do not automatically run full review mode.
- Distinctive: line 70
Do not modify code unless the user asks for fixes.
- Distinctive: line 71
Do not run unsafe fixes, bulk suppressions, cross-file refactors, dependency changes, or lockfile-altering commands without explicit …
- Distinctive: line 72
Read-only and analysis tasks leave reviewed files unchanged.
- Distinctive: line 73
Do not report issues that Ruff, ty, or pre-commit can catch mechanically.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Python Engineering
Use this Skill for Python-specific engineering review, convention design, and analysis.
Entry Conditions
Activate this Skill when the task is Python-specific engineering: project shape or package layout, Python version policy, dependency management, type hints and checking strategy, testing, docstrings, custom lint, grammar choices, standard-library mechanisms, or toolchain setup.
Mode Selection
Three modes are available. Default to fast review.
- Fast review is the default for daily self-checks, small diffs, and PR review; read
./workflow/fast-review.md. - Full review applies when the user explicitly says "full review", "complete review", "systematic review", or "architecture review"; read
./workflow/full-review.md. - Analysis applies when the user asks for discussion, brainstorming, design comparison, mechanism analysis, or a refactoring plan; read
./workflow/analysis.md.
Read-only constraint: when the user says "do not modify", "read-only", "just analyze", or "survey", do not run any command that writes files. Prefer rg, git ls-files, git show, find, wc, nl. Avoid uv run, pytest, ruff check --fix, pre-commit run, or any command that creates .venv, cache, or modifies source.
Judgment Order
Route to leaf documents by signal. Read only what the task requires.
- For Python version, runtime target, and compatibility, read python-version, often alongside type-hint and structure.
- For project shape (script, flat, src, packaged app, or workspace), read structure, often alongside dependency-management and uv.
- For runtime, development, and optional dependencies, locks, and groups, read dependency-management, often alongside uv and structure.
- For code style and the boundary between PEP 8 and formatters or review, read style, often alongside ruff and custom-lint.
- For Python-specific applications of design principles, paradigms, and refactoring, read Python design guidance, often alongside style and type-hint.
- For type hints, annotations,
Any,cast, Protocol, generics, type aliases, and type parameters, read type-hint, often alongside python-version and ty. - For test organization, fixtures, parametrize, exceptions and warnings, log and output capture, mocking boundaries, and async tests, read testing, often alongside pytest.
- For docstrings, API docs, schema metadata, and information placement, read docstrings-api-docs, often alongside type-hint.
- For project-specific mechanical rules and custom lint, read custom-lint, often alongside flake8-plugin and pre-commit.
- For
match/caseand structural pattern matching, read match-case, often alongside type-hint. - For
with,async with, and resource-lifetime syntax, read context-manager, often alongside contextlib and exception-groups. - For
ExceptionGroup,except*, and multiple errors, read exception-groups, often alongside context-manager. - For decorators, higher-order functions, parameterized decorators, and decorator classes, read decorator, often alongside functools and common.
- For common stdlib modules such as pathlib, enum, dataclasses, and logging, read common, often alongside functools and itertools.
- For
singledispatch,partial, closures, and decorator helpers, read functools, often alongside decorator and common. - For
itertools, lazy pipelines, grouping, and batching, read itertools, often alongside common and functools. - For
contextlib,ExitStack, andAsyncExitStack, read contextlib, often alongside context-manager and common. - For uv dependency, lock, script, and workspace commands, read uv, often alongside dependency-management and structure.
- For Ruff's formatter and linter responsibilities, read ruff, often alongside style and custom-lint.
- For ty as a fast type checker and for LSP feedback, read ty, often alongside type-hint, mypy, and basedpyright.
- For mypy strict mode and legacy gates, read mypy, often alongside type-hint, ty, and basedpyright.
- For basedpyright strict mode and its comparison with Pyright, read basedpyright, often alongside type-hint, ty, and mypy.
- For pytest runner configuration, discovery, import mode, markers, strict mode, and plugins, read pytest, often alongside testing.
- For coverage.py, branch coverage, and thresholds, read coverage, often alongside testing and pytest.
- For pre-commit hooks, local gates, and CI integration, read pre-commit, often alongside custom-lint and ruff.
- For Flake8 plugin mechanics used by custom lint, read flake8-plugin, often alongside custom-lint and pre-commit.
When terminology is unclear or inconsistent, read the glossary.
Output Contract
Report findings first. Separate facts, inferences, judgments, and recommendations. Do not repeat issues that a formatter, linter, or type checker can determine mechanically.
Output format is mode-specific. Follow the matching workflow document (./workflow/fast-review.md, ./workflow/full-review.md, or ./workflow/analysis.md). Analysis mode gives options and tradeoffs, not a findings list.
Write output in the language required by global, project, or user instructions; when none is specified, use the current conversation's language.
Stop Rules
- Do not automatically run full review mode.
- Do not modify code unless the user asks for fixes.
- Do not run unsafe fixes, bulk suppressions, cross-file refactors, dependency changes, or lockfile-altering commands without explicit confirmation.
- Read-only and analysis tasks leave reviewed files unchanged. Existing authorization to maintain reports or Task materials still applies.
- Do not report issues that Ruff, ty, or pre-commit can catch mechanically. Note them once in Notes if relevant, then move on.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

