一键导入
discovery
Progressive Discovery — Systematically analyzes project ideas through a structured workflow and transforms them into an actionable master plan
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Progressive Discovery — Systematically analyzes project ideas through a structured workflow and transforms them into an actionable master plan
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Plan-then-execute sprint orchestrator. Works like a real delivery team: split work into sprints (~1 human-week each), plan them all up front WITH the user, then autonomously run each sprint through a full cycle (research→plan→design→do→QA→fix→deploy) to completion. Multiple sprints can run at once (concurrent dispatch). The leader (main session) dynamically scaffolds project-local agents for whatever domain — not dev-only (marketing, research, ops, data all fit). bkit-aware: borrows bkit agents/skills internally when present, runs fully standalone otherwise. Not for single-file edits, one-shot bug fixes, or work under ~a few hours.
Invoke for "/cowork-insights" command or when the user asks to summarize, review, or report on past Claude Code sessions. Analyzes sessions to show key prompts (verbatim), structured assessments (goal/outcome/friction), tool usage patterns, and actionable insights. Produces HTML report + shareable Markdown for Jira/Notion/Slack. Three report formats — full (deep narrative), standard (core insights), minimal (quick team share). Supports --from/--to with absolute (2026-03-01) or relative (7d, 2w, 1m) dates. Trigger on phrases like weekly status update, sprint recap, what did I do with Claude, AI usage patterns, session history, minimal recap, what I worked on today, share with team, cowork-insights. DO NOT invoke for active tasks (debugging, refactoring, code review, project setup) or for commit-time recaps (use cowork-commit instead).
Trigger whenever the user asks to commit AND wants the commit message enriched with AI collaboration history. Creates a lightweight commit message (key decision highlights + link) and a full directive-log file with conversation transcript + recap. The key signal is the combination of (1) making a commit with (2) capturing how AI contributed. Trigger on phrases like commit with AI recap, attach collaboration history to commit, record AI work in commit, cowork-commit. DO NOT trigger for plain commits without AI documentation, standalone time-period recaps (use cowork-insights instead), PR reviews, or general git operations.
One-time bootstrap of an existing project's docs/ and source into the cowork-doc-sync taxonomy structure. After a detailed gap analysis, relocate docs to match the standard. Phase 1 = relocation only (no new creation, includes moving content between docs), Phase 2 = analyze source to create new docs (only after user approval). For ongoing maintenance use /cowork-doc-sync. Triggers: cowork-doc-init, /cowork-doc-init, init doc structure, relocate docs, organize existing docs, doc init, doc bootstrap
Ongoing doc-sync skill that aligns a project's docs/ with the current code/decision state. Call once at the very end, after implementation/refactoring is complete. Enforces a numbered taxonomy (00-reference~99-misc) + status model (LIVING/ACTIVE/FROZEN) + migration rules. To fit an existing project into this structure for the first time, use /cowork-doc-init. Triggers: cowork-doc-sync, /cowork-doc-sync, sync docs, align docs, organize docs, doc sync, doc alignment
Compare DevMD files against actual source code. Measures coverage, accuracy, and consistency with deterministic counting and evidence-backed findings.
| name | discovery |
| description | Progressive Discovery — Systematically analyzes project ideas through a structured workflow and transforms them into an actionable master plan |
| triggers | ["discovery","project plan","master plan"] |
| user-invocable | true |
| allowed-tools | ["Read","Write","Glob","Grep","WebSearch","WebFetch","AskUserQuestion","Agent"] |
Related rules:
docs/specs/question-principles.mddocs/specs/research.mddocs/specs/c-suite-analysis.mdTransforms a project idea into an actionable master plan through a structured 7-phase workflow (Phase 0-6).
docs/00-discovery/ directoryVerify every item before generating the master plan. If any item is incomplete, go back and complete it.
Verify the JSON output before writing to .ww-w-ai/standards/discovery/:
After Phase 6 completes, persist execution metadata to .ww-w-ai/standards/discovery/:
.ww-w-ai/standards/discovery/ directory if it does not existlatest.json -- structured metadata following templates/schema.jsonlatest.md -- execution summary following templates/report.template.mdhistory/ -- copy latest.json to .ww-w-ai/standards/discovery/history/{timestamp}.jsonlatest.md is produced in the user's conversation language. JSON field names remain in English regardless of language.
The JSON output captures execution metadata (Phases completed, number of searches, C-Suite consensus, etc.).
The full discovery output is maintained under docs/00-discovery/. Only the metadata is stored under .ww-w-ai/.
flowchart LR
P0["Phase 0<br/>Context scan"] --> P1["Phase 1<br/>Idea parsing"]
P1 --> GATE{"User confirmation<br/>Idea finalized"}
GATE --> P2["Phase 2<br/>Research<br/>(auto 3 depths)"]
P2 --> P3["Phase 3<br/>C-Suite<br/>(parallel)"]
P3 --> P4["Phase 4<br/>YAGNI filter"]
P4 --> P5["Phase 5<br/>Scope breakdown"]
P5 --> P6["Phase 6<br/>Master plan"]
Key point: Once the idea is finalized in Phase 1, Phases 2-6 proceed automatically without user confirmation.
Assess the current project state.
Glob)CLAUDE.md, README.md, docs/)package.json, pubspec.yaml, Cargo.toml, etc.)Output: docs/00-discovery/research/context.md -- current-state summary
Structure the user's idea and determine the execution mode.
AskUserQuestion)AskUserQuestion):Choose how to execute Phases 2-6:
1. Automatic -- non-stop automatic progression through to the master plan (recommended)
2. Manual -- proceed after per-category auto/manual selection
| Mode | Phase 2 | Phases 3-6 | Suitable situation |
|---|---|---|---|
| Automatic | all 8 categories automatic (non-stop) | all automatic | fast results, clear idea |
| Manual | per-category auto/manual selection | confirm after each Phase | deep analysis of specific categories |
When Manual mode is selected, decide the execution method for every category at once before Phase 2 begins (AskUserQuestion, multiSelect):
Select categories to run automatically (the rest will be manual):
[v] 1. User/problem validation
[v] 2. Market size and trends
[v] 3. Competitor/alternative analysis
[ ] 4. Solution/technical approach <- manual (confirm before proceeding)
[ ] 5. Tech stack/infrastructure <- manual
[v] 6. Content/data strategy
[v] 7. Business model
[v] 8. Legal/regulatory environment
Output: docs/00-discovery/01-idea.md -- idea structuring document + execution mode
Perform deep searches up to Depth 3 automatically per category. All 8 categories complete without user confirmation.
Automatic depth progression: categories progress depth 1 -> 2 -> 3 automatically (details: see ../../docs/specs/research.md)
8 categories (in order, automatic):
Per category:
Cross-category parallelism: independent categories are executed in parallel via the Agent tool. Issue multiple Agent calls simultaneously in one turn to speed up processing.
Within each group, categories run concurrently as separate Agent calls:
# Group A execution example (3 Agents invoked concurrently in one turn)
Agent 1: Category 1 User/problem validation depth 1->2->3
Agent 2: Category 2 Market size and trends depth 1->2->3
Agent 3: Category 3 Competitor/alternative analysis depth 1->2->3
Output: docs/00-discovery/research/{NN}-{category}-depth{N}.md (category x depth)
Analyze in parallel from 10 executive perspectives.
CEO, CFO, CTO, CMO, COO, CRO, CPO, CLO, CHRO, CSO (details: see c-suite-analysis.md)
Agent 1: CEO + CSO (Strategy group)
Agent 2: CFO + COO (Operations/Finance group)
Agent 3: CTO + CPO (Product/Technology group)
Agent 4: CMO + CHRO (Market/Talent group)
Agent 5: CRO + CLO (Risk/Legal group)
Output: docs/00-discovery/03-csuite-analysis.md (consolidated), docs/00-discovery/research/csuite-raw-*.md (individual raw)
Remove over-engineering.
Output: docs/00-discovery/04-solution-yagni.md
Define every domain that composes the project and each domain's scope.
Include for each domain:
Domains differ per project. Derive them from the Phase 1-4 results of the project at hand.
Detailed specs are not produced here. The sub-plan for each domain is authored separately in the PDCA Plan (docs/01-plan/features/*.plan.md).
Output: docs/00-discovery/05-sub-plan-map.md
Generate 00-master-plan.md + detailed chapters.
00-master-plan.md required content:
Detailed chapters: 01-idea, 02-research, 03-csuite, 04-yagni, 05-sub-plan-map
The master plan is a decision-support document. What to do next is decided by the reader.
Output: docs/00-discovery/00-master-plan.md + docs/00-discovery/01~05-*.md + docs/00-discovery/research/
Automatic mode -- fully non-stop:
[Categories 1-8, all depths 1->2->3 automatically]
Independent categories run in parallel via Agent (multiple Agents invoked concurrently in one turn)
Manual mode -- per-category mix:
[Category 1: auto] depth 1->2->3 auto -> record result
[Category 2: auto] depth 1->2->3 auto -> record result
[Category 3: auto] depth 1->2->3 auto -> record result
[Category 4: manual] depth 1 -> present -> confirm -> depth 2 -> present -> confirm -> depth 3
[Category 5: manual] depth 1 -> present -> confirm -> depth 2 -> ...
[Categories 6-8: auto] ...
docs/00-discovery/
├── 00-master-plan.md <- consolidated summary + roadmap + 01-05 links
├── 01-idea.md <- idea structuring
├── 02-research.md <- 8-category insight consolidation
├── 03-csuite-analysis.md <- 10-perspective consolidation
├── 04-solution-yagni.md <- YAGNI filtering
├── 05-sub-plan-map.md <- full project scope (sub-plan map)
└── research/ <- evidence. Never delete.
├── context.md <- Phase 0 context scan
├── 01-user-problem-depth1~3.md <- per category x per depth
├── ... (up to 24 files)
├── csuite-raw-*.md <- C-Suite individual raw (10)
├── search-log.md
└── brainstorm-notes.md
docs/specs/question-principles.md -- 6 principles for question generationdocs/specs/research.md -- deep search methodology (source quality tiers, cross-validation, search protocol)docs/specs/c-suite-analysis.md -- 10-perspective analysis frameworktemplates/document-guide.md -- master plan document structureFor detailed verification criteria, evidence tables, and examples:
../../docs/specs/c-suite-analysis.md, ../../docs/specs/question-principles.md, ../../docs/specs/research.md../../docs/evidence/evidence-registry.md