discovery
Skill40 starsChanged 6 months agoMITView on GitHub
Process any inbound source of customer context — meeting transcript, prior FDE's handoff notes, AE/sales briefing, customer-side RFP response, prior Discovery Workshop output, or your own raw notes. Extracts new stack info, stakeholders, stated problem, real problem, open questions, and context conflicts. Updates customer context files and commits.
26 other projects use a version of this.
Adopted by
Most recently taken up by
- GustavoAlecio/claude-setuptheir own version, first seen Nov 8, 2026
- anotb/forward-deployedtheir own version, first seen Nov 8, 2026
- newkirkjosh/skillstheir own version, first seen Nov 1, 2026
- jantichy/claudetheir own version, first seen Oct 27, 2026
- CrowdStrike/agentworks-skillstheir own version, first seen Oct 25, 2026
- steepy-it/steepy-formulatheir own version, first seen Oct 25, 2026
Used with
Projects with it also use specify, plan and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ArvorCoSkillspecify
Create feature specification from natural language description. Use when starting a new feature or creating a spec. Triggers on: create spec, specify feature, new feature spec.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 5 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 6 projects that use this
nicolasestremSkillbrainstorm
Structured idea generation and solution exploration with systematic analysis.
Also in 4 projects that use this
MicrosoftSkillinit
Also in 3 projects that use this
AnthropicSkillarchitecture
Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.
Also in 3 projects that use this
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- AICMO/AiCMO-Marketing-Prompt-Collection★ 229same name
- avelikiy/great_cto★ 112same name
- joelhooks/joelclaw★ 65same name
- Kanevry/session-orchestrator★ 53same name
- jantichy/claude★ 45same name
- DGouron/review-flow★ 42same name
- tekliner/improvado-agentic-frameworks-and-skills★ 17same name
- steepy-it/steepy-apex★ 14same name
- intent-driven-dev/skills★ 9same name
- steepy-it/steepy-formula★ 5same name
16 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- customer-contextSkill
- engagement-retroSkill
- integrateSkill
- learningsSkill
- pocSkill
- scopeSkill
- triageSkill
- value-frameSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
If no customer name is provided: ask "Which customer?
- Distinctive: line 30
If no source content is provided after the name: ask "Paste the source content below — a transcript, handoff doc, briefing, or notes."
- Very specific: line 56
If MARKER_MISSING=true or MARKER_STALE=true:
- Distinctive: line 60
Stop. Do not proceed.
- Distinctive: line 71
If relevant past learnings exist (e.g., similar customer type, similar problem), note them in your analysis — "Prior learning: [x] — watch …
- Distinctive: line 87
Read these files to understand existing knowledge before extracting from the transcript:
- Very specific: line 138
If customers/<name>/discovery-<MEETING_DATE>.md already exists (multiple meetings same day, or rerunning /discovery), append a suffix:
- Very specific: line 189
Update the ## Last Updated line in each file you modify.
- Distinctive: line 198
No confirmation prompt for discovery — the FDE just reviewed the extracted output in Steps 6-7.
- Distinctive: line 203
After updating context, consider: does anything from this transcript represent a pattern likely to appear with other customers?
- Distinctive: line 209
If yes, ask: "This seems like a generalizable pattern — want me to save it to your learnings for future engagements?"
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/discovery
Process any source of customer context — raw or already-structured — and update the customer's context files.
Step 0: Parse inputs
The customer name is the first argument. Everything after it is the source content — a transcript, notes, handoff doc, briefing, RFP response, or any other inbound material about the customer.
If no customer name is provided: ask "Which customer? (e.g. /discovery acme <source doc>)"
If no source content is provided after the name: ask "Paste the source content below — a transcript, handoff doc, briefing, or notes."
Note the source type at the top of the discovery file (Step 6): Source: <transcript | handoff | briefing | RFP | notes | other>. This is part of the audit trail — six months later, knowing whether a decision came from your own call vs. an inherited doc is important context.
When the source is already structured (e.g., a Solution Blueprint with sections like "Pain Points" and "Strategic Priorities"), treat it as input not output: extract the same six dimensions below, but expect more pre-organized content and less inference work. The stated-vs-real-problem distinction is still worth making — synthesized docs are usually the upstream author's take, not the customer's raw words.
Set CUSTOMER_NAME from the first argument.
Step 1: Check session marker
MARKER="/tmp/fdestack-session-$CUSTOMER_NAME"
if [ -f "$MARKER" ]; then
MARKER_TS=$(cat "$MARKER" | grep '^ts=' | cut -d= -f2)
NOW=$(date +%s)
AGE=$(( NOW - MARKER_TS ))
if [ "$AGE" -lt 43200 ]; then
echo "MARKER_OK=true"
else
echo "MARKER_STALE=true AGE_H=$(( AGE / 3600 ))"
fi
else
echo "MARKER_MISSING=true"
fiIf MARKER_MISSING=true or MARKER_STALE=true:
Run
/customer-context $CUSTOMER_NAMEfirst, then retry /discovery. (Context must be loaded this session to ensure you're working with current information.)
Stop. Do not proceed.
Step 2: Load cross-customer learnings
LEARNINGS_FILE="$HOME/.fdestack/learnings.jsonl"
if [ -f "$LEARNINGS_FILE" ] && [ -s "$LEARNINGS_FILE" ]; then
tail -5 "$LEARNINGS_FILE" | jq -r '"[learning] " + .key + ": " + .insight' 2>/dev/null || true
fiIf relevant past learnings exist (e.g., similar customer type, similar problem), note them in your analysis — "Prior learning: [x] — watch for this pattern here."
Step 3: Transcript length check
Estimate word count from the transcript length. If the transcript appears very long (rough heuristic: more than ~50 paragraphs or obvious multi-hour raw transcript with timestamps on every line), note:
This is a long transcript — I'll extract what matters. For faster runs next time, paste only the key sections (decisions, action items, new info).
Then proceed normally. Do not truncate or refuse to process.
Step 4: Read current customer context
Read these files to understand existing knowledge before extracting from the transcript:
customers/<name>/profile.mdcustomers/<name>/stack.mdcustomers/<name>/stakeholders.mdcustomers/<name>/unknowns.md
This lets you identify what's NEW (not already captured) and what CONFLICTS with existing context.
Step 5: Extract from transcript
Working through the transcript, identify:
- New stack info — tools, APIs, languages, data systems, auth patterns, rate limits, constraints mentioned
- New stakeholders — people mentioned by name or role who aren't in stakeholders.md
- Stated problem — what the customer said they want ("we need X")
- Real problem — what you infer from subtext, what wasn't said, what seems to actually be driving this
- Open questions — things the customer said they'd find out, things that came up without resolution, things you need to follow up on
Context conflicts — anything that contradicts what's currently in the context files. For each conflict, use AskUserQuestion to ask the FDE which version is canonical before writing anything. Format:
D<N> — Context conflict on <subject> ELI10: <stakeholders.md|stack.md|...> says one thing; this <transcript| handoff doc|...> says another. Both can't be true. Which is current? Stakes if we pick wrong: Wrong choice silently propagates into every future Session Brief and skill output until corrected. Recommendation: <whichever is more recent / from a more authoritative source>, because <one-line reason>. Pros / cons: A) Trust the existing context file (recommended if older but authoritative) — keeps continuity, requires no edit ✅ No risk of overwriting a deliberate prior decision ❌ Discards new info that might be more accurate B) Trust the new source — overwrite the existing entry ✅ Reflects the most recent signal ❌ Loses the prior decision's context (capture in decisions.md) C) Both are partially right — let me edit by hand ✅ Surfaces the nuance neither pure choice captures ❌ Slowest; requires FDE to interrupt the discovery flow Net: A preserves history; B updates fast; C is for the messy real case.For each FDE choice: if A, leave the existing entry untouched and append a one-line note in the discovery file's
## Context Conflictssection ("FDE confirmed<existing version>is current;<new source>'s claim discarded"). If B, overwrite the existing entry and log the change in decisions.md. If C, pause Step 5 so the FDE can edit.
Step 6: Write discovery file
Determine the meeting date. If the transcript contains a **Date:** or Date: line near the top, use that. Otherwise default to today ($(date +%Y-%m-%d)). If you're unsure, ask the FDE once: "What date should this discovery be tagged with? (default: today)"
Set MEETING_DATE accordingly and use it for both the filename and the commit message in Step 8.
Set FDE_NAME="$(git config user.name)" so the "FDE:" line renders the real name, not the literal placeholder.
If customers/<name>/discovery-<MEETING_DATE>.md already exists (multiple meetings same day, or rerunning /discovery), append a suffix:
DISCOVERY_FILE="customers/$CUSTOMER_NAME/discovery-$MEETING_DATE.md"
if [ -f "$DISCOVERY_FILE" ]; then
i=2
while [ -f "customers/$CUSTOMER_NAME/discovery-$MEETING_DATE-$i.md" ]; do
i=$((i + 1))
done
DISCOVERY_FILE="customers/$CUSTOMER_NAME/discovery-$MEETING_DATE-$i.md"
fiThen write to $DISCOVERY_FILE:
# Discovery: <YYYY-MM-DD>
FDE: <git user.name>
## New Stack Info
[bullets — only things not already in stack.md]
## New Stakeholders
[name, role, notes — only people not already in stakeholders.md]
## Stated Problem
[one paragraph — what the customer said they want]
## Real Problem (inferred)
[one paragraph — what you think is actually going on based on subtext]
## Open Questions / Follow-ups
[bullets — things to find out or follow up on]
## Context Conflicts
[anything that contradicts existing context files — flag for FDE to reconcile]
[if none: "None — transcript is consistent with existing context."]
## Updates Made
[list of which files were updated and what changed]Step 7: Update context files in place
For each item extracted in Step 5:
- New stack info → append to
customers/<name>/stack.mdunder the relevant section - New stakeholders → append to
customers/<name>/stakeholders.mdunder the relevant section - Open questions → append to
customers/<name>/unknowns.mdunder the appropriate risk level (default MED unless clearly HIGH) - Context conflicts → note in the discovery file; do NOT silently overwrite existing context. Ask the FDE: "stakeholders.md says X but the transcript says Y — which is current?"
Update the ## Last Updated line in each file you modify.
Step 8: Commit
git add "customers/$CUSTOMER_NAME/"
git commit -m "discovery: $CUSTOMER_NAME $MEETING_DATE"No confirmation prompt for discovery — the FDE just reviewed the extracted output in Steps 6-7. If the commit fails (e.g., nothing staged), note "Nothing new to commit."
Step 9: Check for cross-customer learnings
After updating context, consider: does anything from this transcript represent a pattern likely to appear with other customers? Examples:
- A surprising technical constraint (e.g., "their Snowflake environment doesn't allow UDFs")
- An organizational pattern (e.g., "legal review takes 6 weeks at companies this size")
- An approach that worked (e.g., "showing the demo before the technical deep-dive changed the conversation")
If yes, ask: "This seems like a generalizable pattern — want me to save it to your learnings for future engagements?"
If yes:
jq -nc \
--arg skill "discovery" \
--arg key "<short-key>" \
--arg insight "<one sentence>" \
--arg confidence "7" \
--arg source "observed" \
--arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
'{skill:$skill,key:$key,insight:$insight,confidence:($confidence|tonumber),source:$source,ts:$ts}' \
>> "$HOME/.fdestack/learnings.jsonl"
echo "Saved to learnings."Print a summary: "Discovery complete. Updated [list of files changed]. [N] open questions added to unknowns.md."
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.

