# 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. 1. 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. 2. 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 with `python3 .claude/framework/project.py init --spec docs/project-request.json`; apply with the same command plus `--apply` for 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. 3. Complete `docs/project/brief.md` from 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. 4. 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. 5. Keep `docs/project/config.json` aligned 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. Run `python3 .claude/framework/project.py check`: it checks document structure and pending markers, not semantic architecture quality or application correctness. Complete semantic review separately. 6. 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.