python-uv-starter
Scaffolds an empty directory as a Python CLI project with uv, src/ layout, pytest, ruff, a Makefile, a Docker-first wheel build, and GitHub Actions CI.
Skill by twistingmercury
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/twistingmercury-python-uv-starter
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/python-uv-starter
What's inside
- Skill name
python-uv-starter- Description
- Scaffolds an empty directory as a Python CLI project with uv, src/ layout, pytest, ruff, a Makefile, a Docker-first wheel build, and GitHub Actions CI. Use when standing up a new Python project; not for modifying an existing one.
- License
- MIT
- Instructions
- 62 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (22)
- SKILL.md
- openai.yaml · agents/
- .dockerignore.tmpl · assets/project/
- .editorconfig.tmpl · assets/project/
- {{PROJECT_NAME}}-ci.yaml.tmpl · assets/project/.github/workflows/
- .gitignore.tmpl · assets/project/
- CHANGELOG.md.tmpl · assets/project/
- Makefile.tmpl · assets/project/
- README.md.tmpl · assets/project/
- Dockerfile.tmpl · assets/project/build/
- build.sh.tmpl · assets/project/build/
- .gitkeep.tmpl · assets/project/deploy/
- .gitkeep.tmpl · assets/project/docs/
- pyproject.toml.tmpl · assets/project/
- .gitkeep.tmpl · assets/project/scripts/
- __init__.py.tmpl · assets/project/src/{{PACKAGE_NAME}}/
- cli.py.tmpl · assets/project/src/{{PACKAGE_NAME}}/
- main.py.tmpl · assets/project/src/{{PACKAGE_NAME}}/
- test_cli.py.tmpl · assets/project/tests/
- test_main.py.tmpl · assets/project/tests/
- scaffold.sh · scripts/
- scaffold.bats · tests/
SKILL.md (first lines)
# Python uv Starter
Scaffolds the current directory as a minimal Python CLI project. It's deterministic: every file comes from
`assets/project/` via `scripts/scaffold.sh`. Don't hand-write the files.
## Generated layout
| Path | Purpose |
| --- | --- |
| `pyproject.toml` | setuptools backend, `dev` group (pytest, ruff), `[project.scripts]` entry point |
| `src/<package>/main.py`, `cli.py` | `main(argv=None)` entry point; argparse lives in `cli.py` |
| `tests/test_main.py`, `test_cli.py` | Passing pytest stubs |
| `Makefile` | `help`, `test`, `analyze`, `build`, `install`, `uninstall` |
| `build/Dockerfile`, `build/build.sh` | Formats, lints, tests, then exports the wheel to `dist/` |
| `.github/workflows/<project>-ci.yaml` | Runs `build/build.sh` on `develop`/`main` |
| `.editorconfig`, `.gitignore`, `.dockerignore`, `README.md`, `CHANGELOG.md` | Repo hygiene |
| `deploy/`, `scripts/`, `docs/` | Empty placeholders (`.gitkeep`) |
## Steps
1. **Pick names.** Ask for the project name if the user didn't give one.
`--project-name` is the distribution and CLI name (lowercase, hyphens
allowed). The rest is optional; pass a flag only when the user supplied the
value. Defaults: package = name with `-` → `_`, display name = name,
description = "A new Python project", Python floor = 3.12.
2. **Check the target.** Run from the directory that becomes the repo root.
It may only hold `.git`, `.claude`, `.codex`, or `.agents`. The script
checks this itself and refuses anything else before writing. On refusal,
report the blocking entry and ask the user whether to move it or choose
another directory. Never delete it or render somewhere else yourself.
3. **Render.** Run the script through bash, using this skill's absolute path:
```sh
bash /absolute/path/to/python-uv-starter/scripts/scaffold.sh \
--project-name <name> \
[--package-name <snake_name>] \
[--display-name "<Title>"] \
[--description "<one line, no double quotes>"] \
[--python-version 3.12]
```
4. **Verify** from the project root, checking exit codes. Run `make test`. It
syncs, formats, lints, runs pytest, and creates `uv.lock`, which the Docker
build needs. If `docker info` succeeds, run `bash build/build.sh` too. If it
doesn't, say so and don't claim the build passes. Locally uv may pick any
interpreter ≥ the floor; the Docker build pins the floor version.
5. **Hand off.** Summarize the layout and the commands (`uv run <name>`,
`make test`, `make build`).
Don't `git init`, commit, push, or add runtime dependencies unless the user
asks for it.
## Common mistakes
- Running the script with a bare path. Always use `bash scripts/scaffold.sh`,
since installers can drop the executable bit.
- Skipping `make test` before `build/build.sh`. The Dockerfile uses
`uv sync --frozen`, which fails without `uv.lock`.
- Using `dist/<project-name>-*.whl` with a hyphenated name. Wheels use the
underscored package name. The Makefile already handles this.From twistingmercury/agents-skills, MIT.
More from twistingmercury/agents-skills
- 0.570score
mermaid-diagrams
twistingmercury
Writes Mermaid diagrams as plain-text fenced code blocks, entirely locally, and never sends diagram source to an online renderer, editor, or API.
SkillAFreshness: AClaude Code +9 - 0.570score
rlm
twistingmercury
Runs a Recursive Language Model-style loop over a large file or document directory using a persistent local REPL: load the context once, then search, chunk…
SkillAFreshness: AClaude Code +9 - 0.570score
docker-first-ci
twistingmercury
Implements and hardens Docker-first build, test, and release pipelines, where one build script runs the quality gates, the build, and the e2e tests inside…
SkillAFreshness: AClaude Code +9 - 0.565score
shell-script
twistingmercury
Create or modify production-grade shell scripts with automatic BATS test coverage and a bounded verification loop.
SkillAFreshness: AClaude Code +9 - 0.565score
capture-requirements
twistingmercury
Elicit, document, and refine software project requirements for handoff to architecture and design agents.
SkillAFreshness: AClaude Code +9 - 0.565score
check-push-readiness
twistingmercury
Audits, read-only, the exact unpushed commits before a push: resolves the live remote SHA, checks fast-forward, scans the diff for secrets and debug code…
SkillAFreshness: AClaude Code +9 - 0.565score
design-docs-writer
twistingmercury
Creates and updates architecture documents under docs/design/ from standardized templates, using snake_case filenames and frontmatter versioning, always…
SkillAFreshness: AClaude Code +9 - 0.565score
readme-writer
twistingmercury
Creates or updates a concise root README.md from a required template baseline.
SkillAFreshness: AClaude Code +9 - 0.561score
code-review
twistingmercury
Conduct evidence-based code reviews of files, diffs, pull requests, or working changes using independent general, architectural, and language perspectives.
SkillAFreshness: AClaude Code +9 - 0.559score
prime
twistingmercury
Surveys a repository to build working context by reading its README and listing tracked files.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 5, 2026 (24 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/twistingmercury/agents-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from twistingmercury
- 0.570score
mermaid-diagrams
twistingmercury
Writes Mermaid diagrams as plain-text fenced code blocks, entirely locally, and never sends diagram source to an online renderer, editor, or API.
SkillAFreshness: AClaude Code +9 - 0.570score
rlm
twistingmercury
Runs a Recursive Language Model-style loop over a large file or document directory using a persistent local REPL: load the context once, then search, chunk…
SkillAFreshness: AClaude Code +9 - 0.570score
docker-first-ci
twistingmercury
Implements and hardens Docker-first build, test, and release pipelines, where one build script runs the quality gates, the build, and the e2e tests inside…
SkillAFreshness: AClaude Code +9 - 0.565score
shell-script
twistingmercury
Create or modify production-grade shell scripts with automatic BATS test coverage and a bounded verification loop.
SkillAFreshness: AClaude Code +9 - 0.565score
capture-requirements
twistingmercury
Elicit, document, and refine software project requirements for handoff to architecture and design agents.
SkillAFreshness: AClaude Code +9 - 0.565score
check-push-readiness
twistingmercury
Audits, read-only, the exact unpushed commits before a push: resolves the live remote SHA, checks fast-forward, scans the diff for secrets and debug code…
SkillAFreshness: AClaude Code +9
Cite this page
python-uv-starter skill. Agent Mart. https://agentmart.dev/skills/twistingmercury-python-uv-starter (last updated 2026-10-24)