Compose Python Stack

SkillCloud & infra

Design and generate a compatible project from the Python Template component layers or presets. Use when choosing a workload, framework, AI providers, data engines, interfaces, training and serving tools, deployment target, or IaC option; also use when a user wants a simple library, CLI, or API without AI.

Use Compose Python Stack in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Compose Python Stack and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Compose Python Stack skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Compose Python StackStart free

What this skill tells your AI

The instructions your AI receives, as published by leynier/python-template in skills/compose-python-stack/SKILL.md and read by Ahel’s review.

Turn a product goal into a supported stack, explain the consequential choices, and generate it with Copier.

Workflow

  1. Read docs/reference/presets.md and docs/reference/components.md. When exact compatibility matters, also read catalog/generated/catalog.json.
  2. Ask only about choices that change the architecture. Prefer one of the documented presets when it is close; otherwise select custom and compose the layers.
  3. Keep model and embedding providers independent. Select at most one provider for each data role. Do not add AI to a simple library, Typer CLI, or FastAPI/Flask API unless requested.
  4. Select one deployment target. Docker is the portable base for deployed projects; select either no IaC, Pulumi, or Terraform where the chosen target supports it.
  5. Generate into a new directory with copier copy gh:leynier/python-template <destination>, answering interactively. For automation, pass explicit values with repeated -d key=value arguments.
  6. Enter the generated directory and run uv sync --all-groups, uv run pytest, uv run ruff check ., and uv run ruff format --check ..
  7. Report the selected layers, generated entry points, required environment variables, and any cloud resources the user must configure.

Guardrails

  • Treat catalog compatibility rules as authoritative; do not force an invalid combination.
  • Preserve the first-class python-library, typer-cli, and fastapi-api paths.
  • Prefer Python 3.12 or newer and uv for environment and command execution.
  • Never deploy, create paid resources, or write credentials unless the user explicitly authorizes that action.

Signals

GitHub stars
37
Forks
1
Last commit
Oct 2026
Advanced
Item type
skill
Key
compose-python-stack
Source
github.com/leynier/python-template