Install
openclaw skills install @franklinxkk/ai-delivery-specTurn ideas, customer materials, brownfield systems, and ToC/ToB/ToG requirements into one implementable PRD/prototype baseline with change, traceability, Agent handoff, and acceptance. Excludes sprint management, coding, CI/CD, deployment, and operations.
openclaw skills install @franklinxkk/ai-delivery-specCreate one human-readable, AI-coding-ready baseline and trace source → behavior → acceptance in both directions. Product Truth is optional governed authority.
First run: Python 3.10+; python -m pip install -r scripts/requirements.txt.
Terms: Stable ID = durable name; Product Truth = optional structured authority;
gate = static structure/trace check, never business/browser proof.
Internally classify two axes; expose them only when useful or overridden:
delivery_shape: requirement_card, unified_prd, or governed_truth;assurance_profile: bounded, standard, high_risk, or safety_critical.Use a card for one reversible role-local change, one PRD for normal work, and governed truth only for controlled multi-output, repeated cross-module change, lineage or strong audit. Size or “AI” alone never forces it. L0—L4 remain gate intensity metadata, not user homework.
Self-check artifacts and the exact domain section before asking. Batch independent
fact questions; traverse aesthetic/route/conflict decisions one at a time. Each
question carries a recommendation, evidence and trade-off, and the next branch
cites the answer. Ask only for user-owned facts. If unavailable, record the
assumption, owner, reversal path and blocks_stage. Enter Specify only when each
P0/P1 item is confirmed or an owned, scoped UNK-*; never invent cost.
| Active need | Read |
|---|---|
| intake, stages, roles, baseline | references/lifecycle.md |
| one-line idea, sources, competitor, brownfield inventory | references/discover.md |
| PRD, fields, rules, interfaces, machine annex | references/specify.md |
| page contract, Stage 0, prototype, visual route | references/prototype.md |
| change, traceability, acceptance result | references/change-acceptance.md |
| large input, composition, checkpoints, Agent packets | references/context.md |
| Coding tool projection | references/tool-adapters.md |
| failure/FAQ/anti-pattern | references/troubleshooting.md |
| domain evidence | scripts/query_domain.py --domain <pack> --section "<heading>" |
| private domain/template/rules | init-custom; local declarations override presentation only |
Load one stage reference plus one exact domain section. Do not load README,
maintainer/, all templates/examples/domains, or the whole repository. Load
optional patterns only when triggered.
Intake → Clarify → Specify → Review → Baseline → Change → Acceptance → Closed
REQ-* to source, outcome, scope, owner and acceptance.REV/UNK explicit.DEC-CONFLICT-*.CHG-* traverses both directions, updates projections and regresses.AC-* records actual evidence, result and accountable sign-off.primary, layout, applicable surfaces, conditional
fields/actions/API/AC and stable prototype anchors.REG-* anchors and browser ARUN-* evidence.SRC/DEC/ASSUMPTION; AI and lineage contracts appear only
when those behaviors are actually in scope.For existing work, complete Stage 0 before overwrite: classify every view,
action, state, role, object, field and handoff as confirmed, inferred,
unknown, or defect_candidate. With a forward baseline, use INV-* → REQ-*;
put inferences in owned RBATCH-*. Inventory cannot infer API, metric,
permission or compliance truth.
Auto-round at >8 inputs, >500k characters, ≥8 modules, ≥12 pages, or ≥200 stable objects. Freeze sources first, use vertical role slices/checkpoints, then run cross-module closure. A stage checkpoint is not completion.
Learning is off/local/no-network. Candidates follow
schemas/domain-candidate.schema.json, default to project_only, and need
approval plus maintainer gates before promotion.
Long work may project root/module AGENTS.md from
schemas/agent-handoff.schema.json; packets bind hash, owner, scope and AC but
cannot modify requirement truth.
python scripts/ai_delivery_spec_cli.py gate --profile prd --prd PRD.md --level auto
python scripts/ai_delivery_spec_cli.py gate --profile prototype --prototype app.html --level auto
python scripts/ai_delivery_spec_cli.py gate --profile handoff --prd PRD.md --prototype admin.html --manifest handoff-manifest.yaml --level auto
The zero-LLM, zero-subagent, single-read gate only diagnoses. Repair its first
finding and rerun RETRY. Static PASS never replaces review, browser/QA execution
or customer acceptance. auto reads PRD frontmatter but resolves prototype and
handoff to L2; request L3 explicitly. L3/L4 without browser ARUN-* returns a
gap, not interactive completion. Return exactly one state: PASS,
REVIEW_COMPLETE_WITH_GAPS, BLOCKED_BY_P0_UNKNOWN, or BLOCKED.
For authorized long tasks, continue through every requested artifact and gate; pause only for a material user decision, unavailable authority, or scoped P0 unknown that blocks the current stage.