Use this skill to scaffold FastAPI service projects or uv workspaces with service members and baseline quality tooling.
- Platform guidance is macOS-first.
- Workflow is
uv-centric. - Default Python version is
3.13. - FastAPI run guidance defaults to
fastapi devand optionalfastapi run. - Workspace member naming/profile conventions are predefined.
- Guardrails are strict around
--force,--no-git-init, and--initial-commitcombinations.
- Runtime and run-mode conventions (local vs containerized).
- Generated app structure and tests.
- Workspace naming and member/profile defaults.
- Guardrail strictness and failure behavior.
- Quality stack (
pytest,ruff,mypy) and commands.
- Adjust FastAPI run mode defaults:
- Edit command text and examples in
scripts/init_python_service.shandSKILL.md. - Optionally emit Docker commands instead of host-native runtime commands.
- Change generated app and test structure:
- Update underlying shared scaffold expectations in
bootstrap-uv-python-workspacetemplates/scripts. - Align
SKILL.mdexamples with the chosen structure (for examplesrc/<module>/api.py).
- Update workspace conventions:
- Change default members/profile map in upstream workspace scaffolding and reflect in this skill examples.
- Tune guardrails:
- Modify argument validation and fail conditions in
scripts/init_python_service.sh. - Keep CLI help and docs synchronized with guardrail logic.
- Replace default checks:
- Swap in
pyrightor additional tooling in generated guidance. - Ensure command examples and references stay consistent.
- "Adjust this skill to prefer Docker-based local run commands."
- "Change generated app structure from
app/main.pytosrc/<module>/api.py." - "Switch default checks to include
pyrightand dropmypy." - "Relax guardrails so
--forcecan overwrite specific known files only." - "Update workspace defaults for domain-based service naming conventions."
- Verify argument help text and validation behavior are consistent.
- Scaffold a project and a workspace, then run generated run/check commands.
- Confirm docs and examples use the same structure and tooling.
- Validate guardrails with both valid and invalid flag combinations.
- Re-run sensitive-data scan before release.