Setup Python Repository
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
End-to-end bootstrap for a Python web repository of one of two flavors — a FastAPI service or a Django project — by orchestrating the flavor’s scaffold skill and the shared repository-level skills in one pass, collecting every shared parameter once.
Purpose
iru-setup-python-repository is the Python stack orchestrator, run stand-alone or from the iru-setup-repository
front door. It resolves the flavor (from args, an iru-explore Project type: line of python-fastapi or
python-django, or on-disk markers such as a root manage.py or fastapi/django in pyproject.toml, otherwise
asked), the project identity (name, import package, description, per-flavor license, developer details), the Python
version (checked live against devguide.python.org or endoflife.date, catalog default 3.13, never below 3.12), the
flavor’s shape (database, plus orm for FastAPI or api for Django), and the shared pipeline parameters
(open-source, visibility, ci, ci-tests, pages, distribution as a GHCR container image, sonar and its
detail keys, branches, and — Django only — accessibility, the level of the browser UI tests' automated accessibility checks written to .ui-quality.yml), each with visibility-aware cost guidance. It then runs, each through the
iru-isolated-skill-executor agent so only a short summary returns: the scaffold skill, iru-setup-antora,
iru-setup-python-gitignore, iru-setup-python-github-workflows (skipped entirely when ci is no),
iru-setup-changelog, and iru-setup-readme.
It announces the setup mode first (from scratch vs updating an existing repository, with a per-component inventory
marked absent/present/partial); each sub-skill then asks Update / Keep as is / Replace for what it finds. Plain Python
libraries (python-library) and other web frameworks such as Flask are out of scope and stop the run. Existing
Poetry, PDM or pipenv projects stay in scope: the scaffold keeps the existing manager instead of silently migrating
to uv.
Plugin
Shipped by the iru-python plugin of the ai-catalog marketplace (install with /plugin install iru-python@ai-catalog; see Plugins).
Inputs
| Argument | Required | Description | Default |
|---|---|---|---|
|
No |
|
Detected from an |
|
No |
|
|
|
No |
Whether the project is open source; |
|
|
No |
Generate workflows; |
|
|
No |
|
|
|
No |
|
|
|
No |
CPython minor the project runs on ( |
Live lookup; catalog default |
|
No |
|
Asked; PostgreSQL recommended. |
|
No |
|
Asked; SQLModel recommended. |
|
No |
|
Asked; Django REST Framework recommended. |
|
No |
|
|
|
No |
Branches used by the workflows. |
|
Identity keys |
No |
|
Asked; skipped in |
|
No |
|
|
Unknown keys (for example publish) are ignored, as is orm for Django and api and accessibility for FastAPI.
Outputs
-
A scaffolded FastAPI or Django project with tests, quality configuration, Sphinx API docs sources and container files, via the scaffold skill — for Django also
.ui-quality.ymland a Playwright UI tier (tests/ui/,.ui-screenshots/captures). -
An Antora docs site, a root
.gitignore,CHANGELOG.mdandREADME.md, via the delegated skills. -
Unless
ci: no, GitHub Actions workflows (build,release,sync,security) and Dependabot. -
A final report: the setup mode, resolved flavor and mode, identity and license, Python version and its source, database/ORM/API shape, branches, a per-component action table (including
.ui-quality.ymlfor Django; created / updated / replaced / kept as is / skipped (ci: no) / not written), the verification results (including the Django UI tier), what was wired or omitted and why, the required-secrets table, and explicit warnings.
Execution flow
Dependencies
Invokes
-
Setup Python FastAPI — Step 5, scaffold for the
fastapiflavor (viairu-isolated-skill-executor). -
Setup Python Django — Step 5, scaffold for the
djangoflavor (viairu-isolated-skill-executor). -
Setup Antora — Step 6, Antora documentation site (via
iru-isolated-skill-executor). -
Setup Python Gitignore — Step 7, root
.gitignore(viairu-isolated-skill-executor). -
Setup Python GitHub Workflows — Step 8, CI/CD and security workflows, skipped when
ci: no(viairu-isolated-skill-executor). -
Setup Changelog — Step 9, root
CHANGELOG.md(viairu-isolated-skill-executor). -
Setup Readme — Step 10, root
README.md(viairu-isolated-skill-executor).
Invoked by
-
Setup Repository — Step 4, FastAPI/Django bootstrap, via the
iru-isolated-skill-executoragent.
Related agents
-
iru-isolated-skill-executor— Steps 5-10, runs each sub-skill in a fresh context so only a short completion summary returns.
Source
SKILL.md on GitHub — the file this page was generated from.