python-bootstrap
Skill0 starsChanged 11 days agoMITView on GitHub
Scaffolds or retrofits a Python project with uv, ruff, strict mypy and a standard Makefile. Use when the user sets up Python tooling. Not for publishing.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- nuncaeslupus/literary-criticword for word, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- nuncaeslupus/literary-critic★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository22 other files it gives its agents.
- claude-arsenal/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- arsenal-initSkill
- coverage-gapsSkill
- dep-upgradeSkill
- designSkill
- executionSkill
- explore-ideaSkill
- gate-checkSkill
- githubSkill
- initSkill
- mutmut-reportSkill
- pin-checkSkill
- pypi-releaseSkill
- queue-addSkill
- queue-nextSkill
- queue-statusSkill
- reviewSkill
- session-endSkill
- shipSkill
- specifySkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
Remove black when adding ruff format, so the two do not fight.
- Very specific: line 51
When the retrofit writes or changes a CI workflow or the test target, load claude-arsenal/references/ci-minutes.md (§ CI defaults) first: …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
python-bootstrap
Brings a Python project in line with the arsenal defaults — uv, ruff, strict
mypy, the standard Makefile, requires-python>=3.12 — from scratch or as a
retrofit.
CANARY: python-bootstrap-loaded-2026-06-04-ea39c2b5-394e8afa1019319d
When to load
Load when a Python repo needs its tooling created or brought up to standard: no
pyproject.toml yet, or one missing the ruff select list, the strict mypy
block, or the Makefile targets. Publishing belongs to pypi-release, upgrades
to dep-upgrade.
Step 1 — Report the gaps
The script reads project_dir (default: the current directory):
python3 "${CLAUDE_SKILL_DIR}/scripts/analyze_project.py" [project_dir]The JSON gives mode (scaffold without pyproject.toml, else retrofit),
ruff.missing_select, mypy.missing_keys, makefile.missing_targets,
and requires_python_ok.
Step 2 — Apply the canonical blocks
Load references/canonical-config.md before applying any block: it holds the
pyproject (ruff + mypy), Makefile and uv blocks. Apply only what the report flags:
- Merge into existing
[tool.ruff]and[tool.mypy]tables, keeping the project'sper-file-ignores, extraselectcodes and module overrides. - Match
target-version,python_versionandrequires-pythonto what the project supports; the flags are defaults, the versions are not. - Remove
blackwhen addingruff format, so the two do not fight. - On an untyped codebase, stage strict mypy with per-module
[[tool.mypy.overrides]]rather than weakening the global block.
When the retrofit writes or changes a CI workflow or the test target, load
claude-arsenal/references/ci-minutes.md (§ CI defaults) first: one
Python version and Linux only on pull requests, parallel pytest.
Then run the project's make lint and make test (or uv run ruff check .
and uv run mypy .) to confirm the new config is clean.
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.

