Learn-skills.dev python
Python skill router. Use when planning, implementing, or reviewing Python changes and you need to select focused skills for workflow, design, typing/contracts, reliability, testing, data/state, concurrency, integrations, runtime operations, or notebook async behavior.
install
source · Clone the upstream repo
git clone https://github.com/NeverSight/learn-skills.dev
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/ahgraber/skills/python" ~/.claude/skills/neversight-learn-skills-dev-python && rm -rf "$T"
manifest:
data/skills-md/ahgraber/skills/python/SKILL.mdsource content
Python Skill Router
Scope Note
- Treat these recommendations as preferred defaults for common cases, not universal rules.
- If a default conflicts with project constraints or worsens the outcome, suggest a better-fit alternative and explain why it is better for this case.
- When deviating, call out tradeoffs and compensating controls (tests, observability, migration, rollback).
Invocation Notice
- Inform the user when this skill is being invoked by name:
.python
Overview
Use this skill to route Python work to focused skills instead of loading one large guide. Select the smallest set of skills that matches the task.
Route by Task
Choose one or more based on scope:
- Delivery workflow, branch/PR checks:
python-workflow-delivery - Design, readability, module boundaries, refactor shape:
python-design-modularity - Typing, public interfaces, contract evolution, pydantic boundaries:
python-types-contracts - Error strategy, retries/timeouts, retryability policy:
python-errors-reliability - Testing strategy, pytest practices, async/reliability testing:
python-testing - Data lifecycle, consistency boundaries, configuration:
python-data-state - Concurrency models, cancellation/deadlines, leak diagnostics:
python-concurrency-performance - External clients, outbound reliability, resilience contract tests:
python-integrations-resilience - Services/jobs/CLI runtime behavior and observability:
python-runtime-operations - Notebook async loop ownership and
/#%%
patterns:.ipynbpython-notebooks-async
Shared Defaults
- Use project-defined Python version first.
- Use
for env/dependency workflow and run checks withuv
.uv run ... - Prefer
#%%
notebooks over.py
unless.ipynb
is explicitly required..ipynb - If repo conventions conflict with a selected skill, follow the repo and state tradeoffs.
Clarification Rule
Ask concise questions before coding when behavior/contracts/reliability policy are ambiguous or when defaults appear counterproductive for the repository context.