# Python

> |-

- **Type:** Skill
- **Install:** `agentstack add skill-ahgraber-skills-python`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ahgraber](https://agentstack.voostack.com/s/ahgraber)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** CC0-1.0
- **Upstream author:** [ahgraber](https://github.com/ahgraber)
- **Source:** https://github.com/ahgraber/skills/tree/main/skills/python

## Install

```sh
agentstack add skill-ahgraber-skills-python
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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 `#%%`/`.ipynb` patterns: `python-notebooks-async`

## Shared Defaults

- Use project-defined Python version first.
- Use `uv` for env/dependency workflow and run checks with `uv run ...`.
- Prefer `#%%` `.py` notebooks over `.ipynb` unless `.ipynb` is explicitly required.
- 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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ahgraber](https://github.com/ahgraber)
- **Source:** [ahgraber/skills](https://github.com/ahgraber/skills)
- **License:** CC0-1.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-ahgraber-skills-python
- Seller: https://agentstack.voostack.com/s/ahgraber
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
