discovery-doc
Skill4 starsChanged 4 months agoMITView on GitHub
Activate when: /gsd:new-project questioning phase wraps up (Step 3 → Step 4 transition), or whenever a new project is initialized and its "why" hasn't been preserved. PROJECT.md is a product spec — structured, comprehensive, forward-looking. DISCOVERY.md is a vision doc — raw, motivational, backward-looking. After a context reset, a new Claude session can read DISCOVERY.md in 60 seconds and understand the founder's intent. PROJECT.md tells you what to build; DISCOVERY.md tells you why it matters. Write .planning/DISCOVERY.md immediately after the…
In this repository162 other files it gives its agents.
- agents/AGENTS.mdAGENTS.md
- skills/compound-engineering/AGENTS.mdAGENTS.md
- skills/trailofbits-security/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- examples/CLAUDE.mdCLAUDE.md
- skills/compound-engineering/CLAUDE.mdCLAUDE.md
- skills/trailofbits-security/CLAUDE.mdCLAUDE.md
- app-store-reviewSkill
- advanced-javascriptSkill
- ai-native-uiSkill
- anime-jsSkill
- app-l100Skill
- barba-jsSkill
- brand-guidelinesSkill
- cinematic-web-engineSkill
- codebase-knowledge-graphSkill
- crossplatform-monorepoSkill
- css-first-uiSkill
- design-auditSkill
- design-critiqueSkill
- dev-cycleSkill
- device-hardware-bridgeSkill
- docxSkill
- edge-intelligenceSkill
- graph-aware-reviewSkill
- linkedin-posterSkill
- local-first-architectureSkill
- modern-build-pipelineSkill
- motion-nativeSkill
- nano-bananaSkill
- playwrightSkill
- pptxSkill
- project-initSkill
- remotionSkill
- sensory-nativeSkill
- spline-3dSkill
- streaming-cacheSkill
- tanstack-ecosystemSkill
- design-taste-frontendSkill
- tauri-desktopSkill
- threejsSkill
- transition-nativeSkill
- ui-design-stackSkill
- visual-nativeSkill
- web-l100Skill
- web-platform-apisSkill
- xlsxSkill
- better-authSkill
- claude-real-videoSkill
- clone-websiteSkill
- css-keyframe-animationsSkill
- design-checkSkill
- design-dnaSkill
- design-polishSkill
- drizzle-neonSkill
- fastlaneSkill
- angular-architectSkill
- api-designerSkill
- architecture-designerSkill
- atlassian-mcpSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
After a context reset, a new Claude session can read DISCOVERY.md in 60 seconds and understand the founder's intent.
- Very specific: line 18
Write .planning/DISCOVERY.md immediately after the /gsd:new-project deep questioning phase completes — before synthesizing PROJECT.md.
- Distinctive: line 37
Tone: Use the user's own words when possible.
- Distinctive: line 99
After writing, commit alongside PROJECT.md:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Discovery Doc — Project Vision Capture
Activate when:
/gsd:new-projectquestioning phase wraps up (Step 3 → Step 4 transition), or whenever a new project is initialized and its "why" hasn't been preserved.
Why This Exists
PROJECT.md is a product spec — structured, comprehensive, forward-looking.
DISCOVERY.md is a vision doc — raw, motivational, backward-looking.
After a context reset, a new Claude session can read DISCOVERY.md in 60 seconds and understand the founder's intent. PROJECT.md tells you what to build; DISCOVERY.md tells you why it matters.
When to Write It
Write .planning/DISCOVERY.md immediately after the /gsd:new-project deep questioning phase completes — before synthesizing PROJECT.md. Capture the conversation while it's fresh.
Also write it for any project that has PROJECT.md but no DISCOVERY.md.
What Goes In It
Capture the human side of the conversation — not technical decisions, but:
| Section | What to capture |
| Problem | The specific pain or gap that prompted this. Concrete, not abstract. |
| Key insight | The "aha" that makes this approach right. The core bet. |
| Vision | What does success feel like? What does the user imagine using? |
| Motivation | What excited them? Why build this now vs later? |
| Hard constraints | Non-negotiables the user stated (tech, time, audience, budget). |
| Anti-vision | What this explicitly is NOT. Scope the problem space. |
Tone: Use the user's own words when possible. Preserve their phrasing. Length: Aim for 30–60 lines. If it's longer, you're documenting requirements (that's PROJECT.md's job).
Template
# Discovery: [Project Name]
**Captured:** [date]
## Problem
[1-3 sentences describing the specific pain or gap. Concrete scenario, not abstract category.]
## Key Insight
[The core bet — why this approach solves the problem better than alternatives.]
## Vision
[What the user imagines using. "I want it to feel like X." Specific experience, not feature list.]
## Motivation
[Why now? What sparked this? What's the user excited about?]
## Hard Constraints
- [Non-negotiable 1 — stated explicitly by user]
- [Non-negotiable 2]
- [If none: "No hard constraints stated — open to best approach"]
## Anti-Vision
[What this is NOT. Things that came up and were explicitly ruled out.]
[If none: "Nothing ruled out yet"]
---
*Captured from `/gsd:new-project` questioning — [date]*How It Complements the GSD System
.planning/
├── DISCOVERY.md ← The "why" (this file) — founder's voice, motivation
├── PROJECT.md ← The "what" — requirements, decisions, scope
├── REQUIREMENTS.md ← The "what exactly" — testable, scoped requirements
├── ROADMAP.md ← The "how" — phases, sequencing, success criteria
└── STATE.md ← The "where" — current progress, resume pointDISCOVERY.md is the only file a new Claude session needs to orient quickly before diving into PROJECT.md and the roadmap.
Commit
After writing, commit alongside PROJECT.md:
node ~/.claude/get-shit-done/bin/gsd-tools.cjs commit "docs: capture project discovery" --files .planning/DISCOVERY.mdOr bundle with the PROJECT.md commit if writing them together.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

