Detailed procedure
Use the input contract in SKILL.md; resolve its required information before dependent actions.
Input: the resolved request or the user's project description. Use for a new application, not framework maintenance. Missing description: ask for it; otherwise proceed with safe assumptions and ask only material questions.
- Read
.claude/framework/policy.md, STATE.md, Git state, existing project docs and actual manifests. Preserve existing application code and decisions. Framework build history is not application progress. - Use design-interview for material missing choices before generating dependent source. Ask in batches and reuse preferences already supplied. Save confirmed answers in docs/project/design.json; recommendations are not answers. For a pristine project, write a JSON request at
docs/project-request.json, using.claude/framework/templates/project/spec.example.json: schema_version, name, description, selected available profiles, and stack preferences. Treat JSON as data; never interpolate its contents into shell code. Preview withpython3 .claude/framework/project.py init --spec docs/project-request.json; apply with the same command plus--applyfor already authorized local initialization. The helper replaces only exact pristine state seeds and never chooses architecture. If files conflict, use codebase-onboarding and reconcile them; never force an overwrite or reset existing state. Existing initialized projects do not need reinitialization. - Complete
docs/project/brief.mdfrom actual users, main flows, scope, constraints, security/data boundaries and measurable acceptance. Inspect versions rather than treating stack preferences as verified facts. Resolve material unknowns; label reversible assumptions. - Use architecture-design for the smallest suitable architecture and credible alternatives; eng-planner only for substantial trade-offs. Replace pending architecture/principle markers with reasoned decisions, a diagram and concrete applicable rules. DDD, microservices and CQRS need a demonstrated reason. Create only consequential ADRs with
.claude/framework/templates/project/adr.md; preserve real proposed/accepted status and existing project ADR ownership wherever they live. - Keep
docs/project/config.jsonaligned with config.example.json (name, description, profiles, stack, schema_version); preserve additional user-owned metadata. Update project ROADMAP.md/STATE.md with slices, decisions, source revision, evidence, blockers and next action. Runpython3 .claude/framework/project.py check: it checks document structure and pending markers, not semantic architecture quality or application correctness. Complete semantic review separately. - If backend scaffolding was requested, use backend-scaffold after confirmed choices; use implement-change for other implementation. Continue authorized work for the first authorized vertical slice and document the application's actual setup/check commands in its README. Preserve framework usage guidance under docs/framework/. Do not redesign settled choices every turn. Ask before global changes, package installation, credentials, paid services or destructive steps; reversible authorized work may continue.
Outputs: a completed project brief, suitable architecture/principles, needed ADRs, selected profile record, roadmap/state and scoped implementation. Inspect actual diffs and run applicable checks. Empty or unavailable application checks remain NOT_CONFIGURED; planning documents and template self-tests never prove a working application.