Claude Skill

python-stack

Develop Python projects and PEP 723 scripts: uv, Ruff, ty, Pydantic, pytest tests, async, HTTPX API clients, structlog/OpenTelemetry, LangExtract; fix lint/types.

LLM Mart · 0 points · 2 views 0 listing impressions 0 install-command copies
Download fmind-dot-skills_python-stack-3bbe830.zip · 36 KB

Install

skills CLI npx skills add https://github.com/fmind/dot/tree/main/skills/python-stack
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install fmind-dot@llmmart
Git git clone https://github.com/fmind/dot.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole fmind/dot collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Python Stack

Maintain a lean, strictly typed Python foundation built on proven, well-maintained packages, minimal dependencies, and existing project conventions preserved in place.

Workflow

Read only the matching guide and its required resources. Dataframe code defaults to Polars; argparse owns CLI contracts in any language. Requests to diagnose, debug, or profile authorize read-only observation and isolated reproduction — modify product code only when asked for a fix.

Task guides

  • api-client: Build typed Python HTTPX API clients with bounded pagination and retries.
  • argparse: Design CLI contracts (commands, flags, streams, exit codes, JSON) and build Python argparse or Typer CLIs.
  • foundation: Python package layout, dependency choices, uv/Ruff/ty tooling, and project scaffolding.
  • langextract: Extract structured facts from text with LangExtract and source-grounded evidence.
  • observability: Instrument Python services and agents: structlog logs, OpenTelemetry traces and metrics.
  • performance: Profile Python CPU and memory, and benchmark commands and HTTP load with hyperfine, oha, or Locust.
  • pydantic: Typed validation, serialization, and settings boundaries.
  • python-async: Async design, cancellation, timeouts, and shutdown.
  • python-script: Standalone single-file utilities with PEP 723 inline metadata run by uv run --script.
  • python-testing: Write Python tests with pytest, fixtures, property and mutation tests.
Files (dot)
  • references
    • api-client
      • references
        • httpx-tests.md 1.1 KB
          Loading…
      • GUIDE.md 3.6 KB
        Loading…
    • argparse
      • references
        • bootstrap.md 1.1 KB
          Loading…
      • templates
        • init-cli.py 1.2 KB
          Loading…
        • main.py 66 B
          Loading…
        • test_cli.py 2.2 KB
          Loading…
        • test_smoke.py 525 B
          Loading…
      • GUIDE.md 5.3 KB
        Loading…
    • foundation
      • references
        • bootstrap.md 2.4 KB
          Loading…
      • templates
        • AGENTS.md.template 1.6 KB · in bundle
        • docs-index.md 72 B
          Loading…
        • gitignore 184 B · in bundle
        • ignore 274 B · in bundle
        • init-library.py 94 B
          Loading…
        • lefthook.yml 822 B
          Loading…
        • mise.toml 5 KB
          Loading…
        • pyproject.toml.template 2.7 KB · in bundle
        • test_library.py 158 B
          Loading…
        • zensical.toml 602 B
          Loading…
      • GUIDE.md 8.4 KB
        Loading…
    • python-async
      • GUIDE.md 1.9 KB
        Loading…
    • python-script
      • templates
        • script.py 1.9 KB
          Loading…
      • GUIDE.md 2.4 KB
        Loading…
    • python-testing
      • references
        • mutation-tests.md 1008 B
          Loading…
        • property-tests.md 1 KB
          Loading…
        • pytest.md 3.5 KB
          Loading…
      • GUIDE.md 2 KB
        Loading…
    • langextract.md 2.2 KB
      Loading…
    • observability.md 3.3 KB
      Loading…
    • performance.md 3.9 KB
      Loading…
    • pydantic.md 1.9 KB
      Loading…
  • SKILL.md 2.2 KB
    ---
    name: python-stack
    description: "Develop Python projects and PEP 723 scripts: uv, Ruff, ty, Pydantic, pytest, async, HTTPX, CLIs, and profiling."
    license: MIT
    metadata:
      kind: collection
      author: Médéric HURIER (Fmind)
      source: github.com/fmind/dot/tree/main/skills/python-stack
      created: "2026-06-23"
      updated: "2026-11-11"
    ---
    
    # Python Stack
    
    Maintain a lean, strictly typed Python foundation built on proven, well-maintained packages, minimal dependencies, and existing project conventions preserved in place.
    
    ## Workflow
    
    Read only the matching guide and its required resources. Dataframe code defaults to [Polars](../python-mlops/references/polars.md); [argparse](references/argparse/GUIDE.md#defaults-for-new-clis) owns CLI contracts in any language. Requests to diagnose, debug, or profile authorize read-only observation and isolated reproduction — modify product code only when asked for a fix.
    
    ## Task guides
    
    <!-- guides:start -->
    
    - [api-client](references/api-client/GUIDE.md): Build typed Python HTTPX API clients with bounded pagination and retries.
    - [argparse](references/argparse/GUIDE.md): Design CLI contracts (commands, flags, streams, exit codes, JSON) and build Python argparse or Typer CLIs.
    - [foundation](references/foundation/GUIDE.md): Python package layout, dependency choices, uv/Ruff/ty tooling, and project scaffolding.
    - [langextract](references/langextract.md): Extract structured facts from text with LangExtract and source-grounded evidence.
    - [observability](references/observability.md): Instrument Python services and agents: structlog logs, OpenTelemetry traces and metrics.
    - [performance](references/performance.md): Profile Python CPU and memory, and benchmark commands and HTTP load with hyperfine, oha, or Locust.
    - [pydantic](references/pydantic.md): Typed validation, serialization, and settings boundaries.
    - [python-async](references/python-async/GUIDE.md): Async design, cancellation, timeouts, and shutdown.
    - [python-script](references/python-script/GUIDE.md): Standalone single-file utilities with PEP 723 inline metadata run by uv run --script.
    - [python-testing](references/python-testing/GUIDE.md): Write Python tests with pytest, fixtures, property and mutation tests.
    
    <!-- guides:end -->
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.