modern-python
Skill1 starsChanged 29 days agoMITView on GitHub
Configure or migrate Python projects using uv, Ruff, pytest and a supported type checker; maintain packaging, dependency and script conventions.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- mycelium-io/myceliumtheir own version, first seen Nov 1, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- allanninal/claude-code-skillstheir own version, first seen Oct 17, 2026
- alexderz/agentic-toolboxtheir own version, first seen Oct 17, 2026
- BenSchZA/skillstheir own version, first seen Oct 13, 2026
- Samueladewole/claude-skillstheir own version, first seen Oct 13, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- mycelium-io/mycelium★ 127same name
- alexderz/agentic-toolbox★ 5same name
- allanninal/claude-code-skills★ 1same name
- BenSchZA/skills★ 1same name
- romaintoso78/claude-skills★ 1same name
- YogirajA/Claude-Skills★ 1same name
- davidanthonyn/claude-skills★ 0same name
- Samueladewole/claude-skills★ 0same name
- TheWatcher01/skills★ 0same name
- uts58/my-random-skills★ 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 repository42 other files it gives its agents.
- ansible-hardeningSkill
- cavetechSkill
- ci-cdSkill
- claude-to-cursorSkill
- code-consistencySkill
- code-qualitySkill
- config-auditorSkill
- container-sandboxSkill
- cpa-tax-specialistSkill
- database-designSkill
- definition-of-doneSkill
- differential-reviewSkill
- exact-head-reviewSkill
- fast-ciSkill
- grill-meSkill
- inbound-syncSkill
- infosec-architectSkill
- insecure-defaultsSkill
- lonely-sysadminSkill
- mcp-createSkill
- mcp-hardeningSkill
- model-evaluationSkill
- ms-office-suiteSkill
- mutation-checkSkill
- plan-to-execution-handoffSkill
- prd-to-planSkill
- property-based-testingSkill
- pr-truth-triageSkill
- repo-hardening-workflowSkill
- resume-writerSkill
- skill-updaterSkill
- software-developerSkill
- software-development-lifecycleSkill
- solutions-architectSkill
- stay-readySkill
- supply-chain-risk-auditorSkill
- systematic-debuggingSkill
- tddSkill
- token-miserSkill
- triage-issueSkill
- verification-before-completionSkill
- write-a-prdSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use an approved installation of uv and inspect the installed version's help.
- Very specific: line 28
Add actual runtime dependencies with uv add.
- Very specific: line 33
Use [dependency-groups] for development tools and [project.optional-dependencies] for optional installed product features.
- Distinctive: line 59
Only remove obsolete configuration after all consumers, including CI and release jobs, have migrated.
- Distinctive: line 62
Follow the migration checklist.
- Distinctive: line 66
Use meaningful tests for accepted behavior, error paths and state isolation.
- Distinctive: line 73
Run local checks through pre-commit or prek if the repository uses them.
- Distinctive: line 83
Run the selected formatting, linting, typing, tests, build and installation checks against the changed revision.
“Common” is measured: kept by at least 6 in 10 of the 9 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
Modern Python
Inspect the supported Python versions, existing package manager, build backend, lockfile, CI and tests first. Preserve functioning project conventions unless a migration is requested. A different formatter or type checker is not itself a defect. Background inspiration: https://github.com/trailofbits/cookiecutter-python.
New project
Use an approved installation of uv and inspect the installed version's help.
For a plain application, uv init myproject creates a root main.py; for an
installable package, use uv init --package myproject and inspect its generated
source layout and build configuration. Do not copy a stale backend version pin.
uv init myproject
cd myproject
uv add --group dev ruff pytest
uv run python main.py
uv run ruff check .
uv run pytestAdd actual runtime dependencies with uv add. Choose a type checker compatible
with the project's annotations and integrations; ty is one option, while existing
mypy or Pyright configurations may remain appropriate. Do not remove stubs or
checks simply because a different tool produces fewer findings.
Use [dependency-groups] for development tools and [project.optional-dependencies]
for optional installed product features. Commit the resolved lockfile for a uv
project. Match Python/tool targets to the supported interpreter range. Configure
Ruff incrementally around existing style, and keep formatting changes separate
when they would obscure a behavior change.
See pyproject configuration, uv commands, and Ruff settings.
Scripts
For a standalone script with dependencies, consider PEP 723 inline metadata and
uv run script.py. Inspect dependencies and source before execution; metadata is
not a trust guarantee. See script examples.
Migration
Record baseline tests, supported platforms, entry points, dependency groups and build artifacts. Work in an isolated branch and keep the old configuration until the replacement preserves required behavior. Translate constraints, indexes, extras and environment markers deliberately; do not filter requirement lines through a loop that hides errors and then delete the source files.
Validate the lockfile with uv lock --check or use uv sync --locked. The
--frozen flag skips the freshness check; it is not a substitute. Test package
build and installation in a clean environment as well as source-tree tests.
Only remove obsolete configuration after all consumers, including CI and release
jobs, have migrated. Preserve history and a practical rollback path.
Follow the migration checklist.
Tests, security and CI
Use meaningful tests for accepted behavior, error paths and state isolation. Coverage percentages supplement those checks; they do not establish correctness. See pytest examples and adapt fixtures to the actual app and installed plugins, including ASGI lifespan and database transaction behavior.
Choose scanners for the project's threats; distinguish findings from tool/network failures, and preserve nonzero outcomes. See security setup. Run local checks through pre-commit or prek if the repository uses them. Keep CI as the authoritative execution path for required checks.
Public repositories use GitHub-hosted runners. Private repositories use approved private runners with isolation suitable for the code's trust level. Pin external Actions to verified full commit SHAs and use minimal token permissions. Use Dependabot configuration for reviewed dependency updates.
Verification and handoff
Run the selected formatting, linting, typing, tests, build and installation checks against the changed revision. Record what executed, what failed or could not run, and the exact interpreter/tool versions. Never claim migration success when the lockfile changed unexpectedly, tests were not collected, or a required consumer still uses the old configuration.
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.

