/skills:python-projectfrom skills
Scaffolds and maintains Python projects with uv, src layout, Ruff, and pytest. Handles packaging, dependencies, tests, and tooling for existing repos or new scaffold creation.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
For $python-project --help or $python-project -h (including native Claude forms), return concise help and stop before
any workflow step. State the purpose and invocation policy. Show exact usage
for every public action. Describe each public action, positional
argument, and flag in one concise line, including -h, --help; say "No
additional public flags" when there are no others. Use only the documented
public interface. For internal or coordinator-only skills, state that boundary
and that no standalone public workflow action exists. After the selected
SKILL.md is loaded, help is report-only: do not call any additional tools,
inspect project state, or modify files, private state, Git, or external systems.
Never expose private helper actions or flags or treat help as workflow
authorization.
Use $python-project in Codex, /python-project in Claude Code, or
/skills:python-project in the Claude plugin. Dollar-prefixed skill examples
refer to the same named skill on either host; use the native invocation syntax.
Preserve the declared invocation policy, approvals and workflow ownership.
Use available native tools; an unavailable required capability is a blocker,
never permission to bypass a guard or claim unobserved behavior.
Scaffold production-grade Python repositories with conservative, uv-first defaults and one authoritative dependency workflow.
Check scope before routing so specialist calls cannot recurse:
Creation normally finishes ready to develop under the original user request; no separate execute phrase or dependency-setup permission is required. Honor plan-only, files-only, offline and actual host restrictions.
Read references/project-contract.md for the closed producer contract. Core executable profiles are package/library, CLI, API and systemd. Extended UI, IaC, security/networking and AI/ML references remain specialist guidance; do not claim their executable generation is supported or silently omit them.
Root README and Makefile belong to scaffold-project, root ignore rules to gitignore, and root CI to github-workflows. Supply integration requirements and Python command recommendations to those owners. Assigned component-local README/Makefile remain Python-owned. Never generate, template, or hand-edit uv.lock in a candidate bundle: dependency resolution is a post-integration step of the same authorized creation workflow. It is produced by uv during bootstrap.
pyproject.toml with PEP 621 metadata.pyproject.toml declares supported Python, direct dependencies, development
groups, consumer extras, and approved sources. Keep profile dependencies out
of the scaffold until their profile is selected.uv.lock with uv, commit and review it, and never hand-edit or
template it. Treat requirements files as derived exports for external
consumers, not a second source of truth.pyproject.toml as the single packaging metadata source. Add a minimal
setup.py compatibility shim only when the user explicitly requests it for a
named existing build or release entrypoint.setuptools + setuptools-scm for build/versioning.src/ package layout.__version__, a runtime resolver that prefers live
SCM state in source checkouts and falls back to metadata/generated version
files for installed artifacts.ruff for linting/formatting checks.pytest for tests.tests/unit/ for focused behavior with isolated external boundaries.tests/integration/ for real component collaboration and controlled dependencies.tests/contract/ for interface compatibility and tests/e2e/ for workflows.tests/conftest.py for small shared fixtures and selection/network guardrails.Typer + Rich for CLI UX.Pydantic for config/schema validation.Makefile with .DEFAULT_GOAL := all and aggregate all target (for example all: check build).src/<package>/systemd/.>=3.11,<3.14).cli, systemd, api, ui, iac, automation, security, networking, ai-ml.systemd is selected, the fully qualified service module. Generate
that importable module under src/; do not assume an agent.main path.references/base-layout.mdreferences/dependency-management.mdreferences/testing.mdassets/pyproject.toml.templateassets/Makefile.templateassets/tests-conftest.py.templatereferences/cli-systemd.mdreferences/api-ui.mdreferences/iac-automation-security-networking.mdreferences/ai-ml.mdreferences/testing.md when adding or standardizing testsTODO) for environment-specific values and never invent secrets.For dependency additions, removals, upgrades, migration, stale-lock failures,
or resolver conflicts, read references/dependency-management.md and follow
its mutation, application-versus-library, index-trust, and failure-preservation
rules. Inspect uv self version, concise command help, and long-form
uv help <command> before using version-sensitive options.
For a newly created project, the coordinator assembles these artifacts; do not add unrelated files during standalone maintenance:
pyproject.tomluv.lock generated by uv after
final dependency selection. If safe resolution was not run, report it as
pending instead of synthesizing the file..gitignoreREADME.mdsrc/<package>/__init__.pysrc/<package>/__main__.py only for a selected CLItests/conftest.pytests/unit/tests/integration/ when meaningful real collaboration exists; omit empty layers.Add these when selected:
cli: src/<package>/cli.py and [project.scripts].systemd: an importable source module matching the selected service module,
src/<package>/systemd/*.service, optional *.timer, and package-data
configuration.
ExecStart to the exact project-owned .venv interpreter and selected
module, never ambient Python or an assumed module path.api: src/<package>/api.py (ASGI app) and production run guidance.ui: src/<package>/ui.py and auth/network boundary notes.iac: infra/terraform/ (or point to $terraform skill for full scaffolding).automation: Makefile, .github/workflows/ci.yml, .pre-commit-config.yaml.
Makefile must set .DEFAULT_GOAL := all.Makefile must include an all target that aggregates primary checks/build.Makefile should expose test-unit, test-integration, and coverage.--locked, and run
project commands with uv run --locked; do not retain a parallel pip
install path.ai-ml: src/<package>/ml/ split for train/eval/infer pipelines.In coordinated-candidate scope, limit this list to paths explicitly assigned inside the component. Return candidate path, mode, provenance, and validation requirements rather than writing the target.
When using this skill, capture durable, reusable, public-safe learnings in the narrowest appropriate surface only when the task contract allows source edits. For read-only/report-only work, or when a learning is not public-safe, evidence-backed, in scope, or free of unverified/vendor-specific claims, do not edit skill sources; report that it was skipped. Do not capture secrets, private URLs, customer data, raw logs, or one-off local state.
first-index strategy; do not weaken index selection to
work around a resolution failure. Use named indexes and explicit = true
when an index should serve only explicitly bound packages.--frozen as the CI freshness check, use broad --upgrade for a
scoped dependency request outside the isolated library lower-bound lane, or
use --active against an unrelated environment by default.>=x,<y) and avoid unconstrained pins unless required.tmp_path for file IO.references/testing.md for limits.frontend-project
and container artifacts to container.Default to setuptools-scm with SemVer tags:
<project>-vMAJOR.MINOR.PATCH__version__, do not import the generated
_version.py file directly from __init__.py for source/editable checkouts.
Prefer a runtime_version.py helper that tries live SCM state first, then
package metadata, then the generated version file.src/<package>/_version.pypyproject.toml when SCM versioning is enabled.For containerized/Helm-delivered apps, keep version layers related but independent:
sha-<shortsha>, and release tags like X.Y.Z + X.Y.Z-g<shortsha>).Chart.yaml.version tracks chart packaging changes.Chart.yaml.appVersion tracks the default app/image SemVer.version to equal app SemVer.Read references/project-contract.md before render, validate or bootstrap.
Use scripts/python_project.py render --request <json> --output <private-dir>,
validate --manifest <json>, or
bootstrap --target <repository> --bundle <private-bundle> --candidate-set <id>. These are internal specialist actions;
normal user requests remain natural language.
assets/pyproject.toml.template: baseline project metadata and tooling.assets/cli.py.template: Typer-based CLI starter.assets/api.py.template: FastAPI starter with health endpoint.assets/systemd.service.template: hardened service unit baseline requiring
{{service_module}} to match a generated importable source module.assets/Makefile.template: local developer workflow and fast test targets.assets/tests-conftest.py.template: test-layer selection and explicit network policy using pytest-socket.assets/test-cli.py.template: sample unit tests for a Typer CLI.assets/smoke-wheel.py.template: isolated installed-artifact smoke helper.assets/github-actions-ci.yml.template: CI with fast hermetic checks, artifact smoke and full non-external coverage.Use detailed references only when needed:
references/base-layout.mdreferences/dependency-management.mdreferences/cli-systemd.mdreferences/api-ui.mdreferences/iac-automation-security-networking.mdreferences/ai-ml.mdreferences/testing.mdREADME.md (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/Makefile.template (opens in a new tab)assets/api.py.template (opens in a new tab)assets/cli.py.template (opens in a new tab)assets/github-actions-ci.yml.template (opens in a new tab)assets/pyproject.toml.template (opens in a new tab)assets/smoke-wheel.py.template (opens in a new tab)assets/systemd.service.template (opens in a new tab)assets/test-cli.py.template (opens in a new tab)assets/tests-conftest.py.template (opens in a new tab)evals/evals.json (opens in a new tab)evals/trigger-prompts.csv (opens in a new tab)references/ai-ml.md (opens in a new tab)references/api-ui.md (opens in a new tab)references/base-layout.md (opens in a new tab)references/cli-systemd.md (opens in a new tab)references/dependency-management.md (opens in a new tab)references/iac-automation-security-networking.md (opens in a new tab)references/project-contract.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nebius/nebius-ps-services --plugin skillsOther plugins' skills for the same job
75 skills in this plugin
/agent-nebius-auth-diagnoseRead-only diagnosis for current-session Nebius project discovery, agent authentication, quota reads, profiles, selectors, or auth-hook failures. Use when auth is missing/blocked; never mutate auth or IAM./agent-nebius-auth-setupUse only when explicitly invoked to bootstrap or repair current-project Codex Agent Nebius auth: account/tenant access, credentials/profile, repair lease, or separately requested auth hooks./ai-agent-designDesign provider-neutral production AI agent subsystems: behavior and topology, contracts, tools, context, memory, authority, durability, security, evals, and operations. Use ai-stack when AI technology selection remains, design/app-stack for whole products, and implementation skills for code.