Stack:
Python package / CLI
Python package / CLI preset
A reasoning guide the onboard flow uses for Python packages and CLI tools. It is a checklist, not a template — detected reality wins.
Signals
pyproject.tomlwith a[project.scripts]entry point (an installable CLI).- A CLI framework in deps:
click,typer, or stdlibargparse. - A src-layout (
src/<pkg>/) or root package with__init__.py,cli.py/__main__.py, andcommands/.
What to reason about
- The real validation gate (
ruff check,mypy,pytest) — captured verbatim, including any Makefile/tox/hatch wrapper. - The console-script entry name and the command/subcommand structure.
- Stack-appropriate skills:
command-add,subcommand,option/flag, andreleaseif it ships to PyPI.
Notes
Public-API stability, help text, and exit codes are user-facing surfaces — treat them as standards.