Skip to main content

Scaffold AI-development-ready FastAPI projects with canonical agent guidance, Agent Targets, MCP config, and design docs

Project description

dev-ready

繁體中文導覽:https://github.com/MoofonLi/dev-ready/blob/main/README.zh-TW.md

Scaffold a production-grade, AI-development-ready FastAPI + React project in one command:

uvx dev-ready init my-app

The upstream template is pinned to a CI-verified commit, never an untested “latest.” Generation is all-or-nothing: failures never expose a partial target.

What you get

A generated project based on fastapi/full-stack-fastapi-template (FastAPI, React, SQLModel, PostgreSQL, and Docker Compose), plus:

  • Canonical project instructions in AGENTS.md and skills under .agents/skills/, readable directly by Cursor, Codex, Cline, Zed, OpenCode, and other standard-compliant agents.
  • A mandatory Spec Loop covering grilling, durable specs, tracer-bullet tickets, implementation, TDD, diagnosis, two-axis review, and architecture cleanup.
  • A lean Default Set: the Spec Loop plus the project’s own architecture and requirements skeletons. Every Enhancement is off by default.
  • Optional Enhancements selected through Dev, Security, Quality, Design, and Token Optimize Categories.
  • Optional Claude Code and Windsurf Agent Targets, rendered as Pointer Stubs over the one Canonical Content copy—not symbolic links or content copies.
  • Project-level .mcp.json only when a selected Enhancement needs it.
  • A .dev-ready.json stamp recording immutable Base Provenance and current Overlay Currency.

v0.9 no longer generates the Handoff Protocol’s seven-role multi-agent scaffold, Protocol Configuration, gate templates, ticket scaffold, or execution report. Generated projects use the Spec Loop without a second process layer.

Requirements

  • Python 3.12 or newer
  • git
  • Network access to github.com during generation
  • Docker only to run the generated project, not to generate it

Installation

No installation is needed with uv:

uvx dev-ready init my-app

Or install with pip:

pip install dev-ready
dev-ready init my-app

Install the agent skill

npx skills add MoofonLi/dev-ready --skill dev-ready

The source is skills/dev-ready/SKILL.md. Inspect the repository’s discoverable skills before installing with:

npx skills add MoofonLi/dev-ready --list

The skill resolves Category selections, runs one non-interactive initialization command, and verifies the generated stamp.

Then ask your agent: “Scaffold a FastAPI project with dev-ready named my-app.”

For installation or generation problems, open an issue.

Usage

uvx dev-ready init
uvx dev-ready init my-app --yes
uvx dev-ready init my-app --yes --categories dev,token-optimize --dev none --token-optimize caveman,code-memory --agents claude,windsurf

--yes accepts the lean Default Set. Use --categories all for every Enhancement. Category selection accepts all, none, or comma-separated identifiers through --categories, --dev, --security, --quality, --design, and --token-optimize; --development-loop names the mandatory loop and --agents independently selects Agent Targets.

Category Enhancement identifiers
Dev setup-all
Security security-audit
Quality react-doctor, webapp-testing
Design frontend-design, design-stripe, design-linear
Token Optimize caveman, code-memory

The previous Component-shaped flags (--skills, --no-skills, --mcp, --no-mcp, and --no-docs) now exit 2 and name their Category-shaped replacement. --no-handoff and --no-agents exit 2 because the generated Handoff Protocol was removed.

uvx dev-ready check path/to/project
uvx dev-ready check path/to/project --json
uvx dev-ready upgrade path/to/project --dry-run
uvx dev-ready upgrade path/to/project

check is read-only and offline. upgrade preserves immutable Base Provenance and upstream application content while advancing Overlay Currency. A v0.8 project migrates to stamp version 5 without new input: untouched retired managed files are deleted transactionally, edited files are preserved and reported, failures roll back, and a repeat upgrade is a no-op.

During init, stderr reports fetch → overlay → verify → finalize progress; stdout retains the final report. Finalization uses a same-filesystem atomic directory rename, so failure never exposes a partial target.

Exit codes: 0 success; 1 unexpected error or user abort; 2 invalid arguments; 3 network/fetch failure; 4 target conflict; 5 structural verification failure; 6 stamp missing or invalid; 7 drift detected; 8 pre-v3 upgrade unsupported; 9 upgrade failed and rolled back.

Links

License

MIT. Generated projects include third-party content; see THIRD_PARTY_NOTICES.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dev_ready-0.9.0.tar.gz (403.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dev_ready-0.9.0-py3-none-any.whl (199.2 kB view details)

Uploaded Python 3

File details

Details for the file dev_ready-0.9.0.tar.gz.

File metadata

  • Download URL: dev_ready-0.9.0.tar.gz
  • Upload date:
  • Size: 403.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for dev_ready-0.9.0.tar.gz
Algorithm Hash digest
SHA256 4482d81c7a566904edb50b40e7792c46cf94a18922e0228c260aab429b8f8c96
MD5 824e92167a8a22a73ed11b353b9bd399
BLAKE2b-256 21e4a9da14d2aca31ab81a048b231c11be144b51b970be548d19c9ae2c063f66

See more details on using hashes here.

Provenance

The following attestation bundles were made for dev_ready-0.9.0.tar.gz:

Publisher: release.yml on MoofonLi/dev-ready

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dev_ready-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: dev_ready-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 199.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for dev_ready-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28644db517717db28351708731315a3ef96c5c1f198b52ede512a8dd34cba062
MD5 41ad9c2c57940e43f66bf155e7c548d9
BLAKE2b-256 7eec32a0262e2860bb63e7af758550e927b05ab8864a2f43ffa3603c3852fd4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dev_ready-0.9.0-py3-none-any.whl:

Publisher: release.yml on MoofonLi/dev-ready

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page