ワンクリックで
0-init
Use when starting a new project or feature — scans codebase, creates CONTEXT.md, detects project type
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when starting a new project or feature — scans codebase, creates CONTEXT.md, detects project type
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | 0-init |
| description | Use when starting a new project or feature — scans codebase, creates CONTEXT.md, detects project type |
You are now entering Phase 0: Project Init.
Sets up project context before brainstorming. Run once per feature.
Separate project setup (who are you, what exists) from requirements discovery (what to build). Creates the scaffold and scans the codebase so all subsequent phases start with context.
/quangflow:0-init <idea> — Initialize with a feature idea
/quangflow:0-init — Initialize interactively (asks for idea)
./plans/{feature-slug}/Ask the user:
"Before we start — are you technical (developer/engineer) or non-technical (PM, founder, designer)?
pm_mode: hands-onpm_mode: autopilot — see _protocols/_autopilot.md for full behaviorSee _protocols/_autopilot.md → Hands-Free Mode. Offer restart with claude --continue --dangerously-skip-permissions.
Save state to PIPELINE-STATE.md (see _protocols/_shared.md → PIPELINE-STATE Schema).
Ask the user:
"Is this an existing project or a new project from scratch?
Ask scan depth:
"How deep should I scan the codebase?
./docs/. Recommended.Perform the scan based on user's choice:
./docs/ directory (if exists)src/ structure (2 levels deep)project_type: newSave to ./plans/{feature-slug}/CONTEXT.md:
# Context — {feature-slug}
## Metadata
```yaml
quangflow_version: "1.1.0"
pm_mode: {hands-on | autopilot}
project_type: {existing | new}
scan_depth: {shallow | medium | deep | none}
created: {ISO timestamp}
{detected stack from scan, or "TBD — will be decided in Phase 1/2"}
{directory tree summary from scan, or "New project — no existing structure"}
{patterns found during scan, or "N/A"}
{key deps relevant to the new feature, or "N/A"}
{any constraints from current architecture, or "None identified"}
(populated by later phases)
## Step 5: Create OPEN_QUESTIONS.md
Save to `./plans/{feature-slug}/OPEN_QUESTIONS.md`:
```markdown
# Open Questions — {feature-slug}
(populated during brainstorm and later phases)
Check ./plans/*/PIPELINE-STATE.md for hands_free: true.
If found: skip Autopilot Detection, resume from last incomplete stage.
If not found: proceed with Step 1 above.
See _protocols/_shared.md → Output Rule.
See _protocols/_shared.md → Progress Tracking. Append Phase 0 row to plans/{feature-slug}/PROGRESS.md.
Key decisions to log: project type (existing/new), scan depth, pm_mode.
Tell user: "Project initialized. Context saved to ./plans/{feature-slug}/CONTEXT.md."
Then suggest next command:
**Next:** `/quangflow:1-brainstorm` — Discover requirements, edge cases, milestones, and team composition
↳ Skip? Jump to `/quangflow:2-design` only if you already have REQUIREMENTS.md written manually
↳ Also available: `/quangflow:status` (check status)
Trivial feature shortcut: For 1-file tasks with no design needed, skip brainstorm entirely:
/quangflow:cook --solo "<task description>"
Cook Stage 0 routes through solo handoff — main agent edits directly, SOLO-LOG.md required. NOT for sensitive areas (auth/payment/crypto/migration) — those force escalation to team regardless of flag.
Use when closing a finished milestone — writes MILESTONE.yml so /quangflow:status hides it from default view
Use when entering requirements phase — clarifying questions, edge cases, milestone splits, team composition
Use when entering execution handoff — ROADMAP generation, TDD/logging mandates, SHIP/REFINE gate
Use when entering verification — TDD compliance audit, evidence certification, gap detection
Use when project is shipped — systematic debugging, structured log scan, bug triage, hotfix
Use when running cook — auto-routes solo / light / team via Stage 0 complexity triage. Override with --solo / --light / --team flags.