discovery-start
Skill0 starsChanged 9 months agoMITView on GitHub
Initiates a structured, incremental discovery session for exploring architectural insights before making decisions. Use when exploring multiple approaches, facing uncertainty, or before major decisions. Works step-by-step with user collaboration.
In this repository18 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adr-createSkill
- dev-log-rotateSkill
- gather-insightSkill
- git-commitSkill
- init-projectSkill
- insight-captureSkill
- jira-startSkill
- review-implementationSkill
- session-endSkill
- session-listSkill
- session-startSkill
- team-stream-startSkill
- work-stream-startSkill
- worktree-endSkill
- worktree-listSkill
- worktree-removeSkill
- worktree-startSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. About 0 are common, 24 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈24
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
- Distinctive: line 19
Before major decisions or refactoring
- Distinctive: line 29
STOP after each section and wait for user input
- Distinctive: line 31
Document as we go (living doc)
- Distinctive: line 32
Never dump everything at once
- Very specific: line 38
Read .claude/project-config.md if it exists
- Distinctive: line 43
Use default path listed above
- Distinctive: line 48
Ask user for discovery topic:
- Very specific: line 62
Ensure folder exists: [discovery-path] (from config)
- Distinctive: line 64
Create basic structure with EMPTY sections:
- Distinctive: line 123
Ask user: "What's the insight?
- Distinctive: line 153
Update Status Log after each insight is documented
- Distinctive: line 157
Ask user: "Based on these insights, what's the opportunity we're exploring?"
- Distinctive: line 190
Ask user: "What solution approaches should we explore?"
- Distinctive: line 235
STOP HERE: after proposing each solution: Ask:
- Distinctive: line 242
After all solutions explored, STOP and ASK USER:
- Distinctive: line 247
After user chooses, document chosen solution with user's rationale
- Distinctive: line 301
Update Status Log with final status:
- Distinctive: line 321
One section at a time: Never rush through multiple sections without user approval
- Distinctive: line 322
User drives content: Ask questions, discuss, don't assume you know the answers
- Distinctive: line 325
Living document: Update as we go, status log tracks progress
- Distinctive: line 369
Don't proceed without understanding
- Distinctive: line 372
Ask: "Are you sure? [Section X] helps clarify [benefit]"
- Distinctive: line 373
If user insists, mark section as "Skipped by user"
- Distinctive: line 377
Update sections freely based on new insights
- Distinctive: line 388
Not all discoveries lead to implementation - some lead to "current approach is fine"
- Distinctive: line 390
Update Status Log throughout to track progress
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 Start Skill (Incremental Workflow)
Guides user through discovery sessions incrementally, one section at a time, with explicit stops for collaboration.
When to Use
Activate this skill when:
- User says "discovery", "let's explore", "start a discovery"
- Multiple valid approaches exist (need to explore trade-offs)
- Reflecting on recent implementation (lessons learned)
- Architectural uncertainty or complexity
- Before major decisions or refactoring
Discovery Structure
Insights (multiple) -> Opportunity (singular) -> Solutions (multiple) -> Assumptions -> ValidationCRITICAL: This skill works INCREMENTALLY
- Complete ONE section at a time
- STOP after each section and wait for user input
- User drives pace ("ready for next?" "let's move to solutions")
- Document as we go (living doc)
- Never dump everything at once
Instructions
Step 0: Read Project Config
- Read
.claude/project-config.mdif it exists - Parse
## Documentation Pathssection to get:- Discovery path (default:
docs/discovery/)
- Discovery path (default:
If no config exists:
- Use default path listed above
- Continue with skill execution
Step 1: Create Basic Discovery Document Structure
- Ask user for discovery topic:
What topic are you exploring? Examples: - "Authentication approach comparison" - "Database schema design" - "API versioning strategy" - Generate filename from topic (kebab-case):
- Example: "authentication-approach-comparison.md"
- Example: "database-schema-design.md"
- Ensure folder exists:
[discovery-path](from config) - Create basic structure with EMPTY sections:
# [Topic Title] **Date**: [YYYY-MM-DD] **Status**: Active Discovery ## Context [Brief description of what triggered this discovery] --- ## Insights ### Insight #1: [To be filled collaboratively] --- ## Opportunity [To be filled as insights converge] --- ## Solutions [To be filled after opportunity identified] --- ## Assumptions [To be filled during solution design] --- ## Validation [To be filled with validation approach] --- ## Status Log - [YYYY-MM-DD]: Created discovery doc, starting with Insight #1 - STOP HERE: Tell user:
Created discovery doc at [discovery-path]/[filename].md Ready to start with Insight #1?
Step 2: Work Through Insights (One at a Time)
For each insight:
- Ask user: "What's the insight? What have we learned or observed?"
- Discuss with user incrementally:
- What we learned (concrete observations)
- Why it matters
- Related work (if applicable)
- Draft insight section based on discussion:
### Insight #[N]: [Insight Name] **What we learned**: [Concrete observations, examples, current state] **Why this matters**: [Impact, implications, what it blocks/enables] - STOP HERE: Show drafted insight to user, ask:
Does this capture Insight #[N] correctly? Should we refine it, or move to Insight #[N+1]? (Or are we ready to move to Opportunity section?) - Iterate until user is satisfied with insights
- Update Status Log after each insight is documented
Step 3: Define the Opportunity (Singular Focus)
- Ask user: "Based on these insights, what's the opportunity we're exploring?"
- Discuss:
- What capability are we trying to enable?
- What benefits does this unlock?
- What does this improve or fix?
- Draft opportunity section:
## Opportunity **[Opportunity Title]** [1-2 paragraphs describing the opportunity] **What this enables**: 1. [Capability 1] 2. [Capability 2] 3. [Capability 3] - STOP HERE: Show drafted opportunity to user, ask:
Does this capture the opportunity correctly? Should we refine it, or move to Solutions? - Update Status Log
Step 4: Explore Solutions (One at a Time)
- Ask user: "What solution approaches should we explore?"
- For each solution approach:
- Propose one solution concept at a time
- Discuss with user before moving to next
- Document pros, cons
- Draft solution sections:
## Solutions We explored [N] different approaches: ### Solution A: [Name] **Concept**: [Brief description] **How it works**: - [Step 1] - [Step 2] - [Step 3] **Pros**: - [Benefit 1] - [Benefit 2] **Cons**: - [Trade-off 1] - [Trade-off 2] --- [Repeat for each solution] ### Chosen Solution: [Letter] ([Name]) **Why [Solution Letter]**: - [Reason 1] - [Reason 2] **Trade-offs we're accepting**: - [Trade-off 1] - [Trade-off 2] - STOP HERE after proposing each solution: Ask:
Thoughts on Solution [Letter]? Should I propose Solution [Next Letter], or do you have another approach in mind? - After all solutions explored, STOP and ASK USER:
Which solution do you want to choose? - After user chooses, document chosen solution with user's rationale
- Update Status Log
Step 5: Identify Assumptions (Collaborative)
- Ask user to start: "What assumptions are you making about [Chosen Solution]?"
- After user provides their assumptions, add your own:
- "I'd add these assumptions based on the solution design: [list]"
- Draft simple assumptions list:
## Assumptions For Solution [Letter] to work, we're assuming: 1. [Assumption statement] 2. [Assumption statement] 3. [Assumption statement] - STOP HERE: Show combined list, ask:
Does this capture all our assumptions? Any others we should add?
Step 6: Define Validation Approach
- For critical assumptions, define validation:
## Validation ### Critical Assumptions to Validate **Assumption [N]: [Statement]** **How to validate**: [Method] **What we're looking for**: [Success criteria] --- ## Decision Framework **Proceed if**: - [Condition 1] - [Condition 2] **Iterate if**: - [Condition 1] - [Condition 2] - Update Status Log with final status:
- [YYYY-MM-DD]: **Discovery complete** - [Chosen solution] selected - Tell user:
Discovery session complete! Next steps: - Create work stream for implementation - Or create ADR to document decision Discovery doc: [discovery-path]/[filename].md
Key Principles
- One section at a time: Never rush through multiple sections without user approval
- User drives content: Ask questions, discuss, don't assume you know the answers
- Stop and wait: Explicit stops after each section for user feedback
- Iterate freely: User can refine any section before moving forward
- Living document: Update as we go, status log tracks progress
- Collaborative thinking: This is thinking-together, not documentation-generation
Example Flow
User: "Let's start a discovery around authentication approach"
Skill:
- Creates basic doc structure with empty sections
- STOP: "Created doc. Ready for Insight #1?"
- User: "Yes"
- Discusses Insight #1 with user, drafts section
- STOP: "Does this capture Insight #1? Ready for Insight #2?"
- User: "Yes, let's do Insight #2"
- Discusses Insight #2 with user, drafts section
- STOP: "Does this capture Insight #2? More insights or move to Opportunity?"
- User: "Move to Opportunity"
- Discusses opportunity with user, drafts section
- STOP: "Does this capture the opportunity? Ready for Solutions?"
- User: "Yes"
- Proposes Solution A, discusses
- STOP: "Thoughts on Solution A? Should I propose Solution B?"
- User: "Yes, show me B"
- Proposes Solution B, discusses
- STOP: "Thoughts on Solution B? More solutions or pick one?"
- User: "Let's go with A"
- Documents chosen solution
- STOP: "Solution A chosen. Ready for Assumptions?"
- User: "Yes"
- Discusses assumptions
- STOP: "Have we captured all assumptions?"
- User: "Yes, let's wrap up"
- Defines validation approach
- STOP: "Discovery complete!"
Error Handling
If user provides sparse details:
- Ask follow-up questions
- Provide examples to clarify
- Don't proceed without understanding
If user wants to skip sections:
- Ask: "Are you sure? [Section X] helps clarify [benefit]"
- If user insists, mark section as "Skipped by user"
If user wants to go back:
- Allow it! Discovery is iterative
- Update sections freely based on new insights
If discovery scope grows too large:
- Warn: "This feels like multiple discoveries"
- Suggest: "Split into separate docs?"
Notes
- Discovery documents are living - they evolve as thinking evolves
- Not all discoveries lead to implementation - some lead to "current approach is fine"
- Discovery can fail fast - that's success (avoid bad paths)
- Update Status Log throughout to track progress
- Mark discovery status clearly: "Active", "Complete", "Failed fast"
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.

