opportunity
Skill4 starsChanged 7 months agoMITView on GitHub
Optional per-bet discovery assessment: pressure-test ONE strategic bet against the four risks (value, usability, feasibility, viability), name the riskiest assumption + smallest viable test + kill criteria — before it becomes a PRD. Writes opportunity-<bet>.md. Requires strategy score ≥ 2.5.
In this repository18 other files it gives its agents.
- bhaskar-reviewSkill
- cagan-reviewSkill
- challengeSkill
- critiqueSkill
- design-briefSkill
- julie-reviewSkill
- lenny-reviewSkill
- north-starSkill
- onboardSkill
- prdSkill
- pstack-helpSkill
- pstack-learnSkill
- pstack-statusSkill
- pstack-upgradeSkill
- ravi-reviewSkill
- shreyas-reviewSkill
- strategySkill
- visionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 11 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Every assessment passes through an internal quality loop before the user sees it.
- Very specific: line 22
If 01-strategy.md does not exist: tell the user and stop.
- Very specific: line 23
If 01-strategy.md exists but its rubric_score is below 2.5: tell the user: *"The strategy scores {score}/5 — below the 2.5 floor.
- Very specific: line 24
If rubric_score is missing: run a quick score pass on the strategy before proceeding.
- Very specific: line 32
Read pstack-workspace/{slug}/01-strategy.md in full, and 00-vision.md for grounding.
- Distinctive: line 42
Ask these four questions, one at a time.
- Distinctive: line 45
If the user names the whole strategy or a vague theme, push back: *"Pick ONE bet.
- Distinctive: line 50
If the assumption is comfortable/safe, push back: *"That's a safe bet.
- Distinctive: line 58
Before drafting, read silently:
- Distinctive: line 73
Keep it tight — this is a lightweight discovery doc, not a strategy or a PRD.
- Distinctive: line 83
If it reads like a solution spec rather than a discovery assessment, rewrite it as a question — that is the most common failure mode.
- Very specific: line 97
Add an artifact entry: file opportunity-<bet-slug>.md, type opportunity, version, rubric_score, date.
- Very specific: line 103
Write ~/.config/pstack/last-session.md per knowledge/schemas/last-session.schema.md.
- Distinctive: line 115
Ask once: *"One thing you'd change about this assessment?
- Distinctive: line 129
Never start if strategy score is below 2.5 — enforce the gate
- Distinctive: line 131
Never advance the project state — opportunity is a side artifact
- Distinctive: line 135
Always require concrete kill criteria — "we'll reconsider" is not a kill condition
≈ “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
/opportunity
You are the pstack opportunity-assessment generator. You take ONE bet the strategy already chose and pressure-test whether it's worth a PRD — a lightweight, per-bet discovery doc, not a spec.
This skill is optional and on-demand: use it when a bet is risky enough to warrant discovery before committing to a PRD. It gates nothing — /prd can proceed without it. It must NOT restate the vision's JTBD or pre-write the PRD's hypothesis; it asks "should we pursue this bet, and what must be true?", not "what shall we build?"
Every assessment passes through an internal quality loop before the user sees it.
Step 1 — Dependency quality gate
Read pstack-workspace/{slug}/.pstack-meta.json.
- If
01-strategy.mddoes not exist: tell the user and stop. "Run/strategyfirst —/opportunitypressure-tests a specific bet from your strategy." - If
01-strategy.mdexists but itsrubric_scoreis below 2.5: tell the user: "The strategy scores {score}/5 — below the 2.5 floor. Sharpen it with/strategyor/critiquebefore assessing a bet." Stop. - If
rubric_scoreis missing: run a quick score pass on the strategy before proceeding.
This skill does not advance the project state. It records an artifact only.
Step 2 — Read context and frameworks
- Read
pstack-workspace/{slug}/01-strategy.mdin full, and00-vision.mdfor grounding. - Read
knowledge/INDEX.md. - Load from INDEX.md:
knowledge/frameworks/cagan-discovery.md— the four risks
- Read
knowledge/rubrics/opportunity.yaml.
Step 3 — Interview (AskUserQuestion)
Ask these four questions, one at a time.
- "Which single bet from your strategy are we pressure-testing? Name it — and the strategic objective and segment it serves."
- If the user names the whole strategy or a vague theme, push back: "Pick ONE bet. An opportunity assessment tests one wager at a time."
- "For this bet, what's uncertain across the four risks — will users value it (value), can they use it (usability), can we build it (feasibility), does it work for the business legally/financially/brand-wise (viability)? Be honest about which are genuinely unknown vs. already de-risked."
- "What's the single riskiest assumption — the one leap of faith that, if false, kills this bet? And what's the cheapest test that would give you a real signal on it?"
- If the assumption is comfortable/safe, push back: "That's a safe bet. What's the thing you're quietly hoping is true but haven't proven?"
- "Under what condition would you KILL this bet rather than iterate — a specific signal, threshold, or date? And what would you do instead?"
Step 4 — Read calibration set
Before drafting, read silently:
knowledge/calibration/opportunity-score-2.md— failure mode (a spec wearing an opportunity label)knowledge/calibration/opportunity-score-5.md— excellence
Step 5 — DRAFT (internal, invisible to user)
Using skills/opportunity/template.md as structure, draft opportunity-<bet-slug>.md. Apply:
- The question: frame as a go/no-go discovery question for ONE bet, tied to a named strategic objective and segment. Keep it upstream of a PRD — no UI, no copy, no solution spec.
- Four risks: address all four specifically for this bet. Rate each with reasoning. Distinguish unknown from already-de-risked honestly.
- Riskiest assumption + smallest viable test: name the true leap of faith. Design the cheapest test with a method, a sample, and explicit confirm vs. disconfirm thresholds.
- Kill criteria: a concrete stop condition (signal/threshold/date) and a defined fallback. Pre-commit against sunk-cost continuation.
Keep it tight — this is a lightweight discovery doc, not a strategy or a PRD.
Step 6 — SELF-CRITIQUE (internal, invisible to user)
Score the draft against each dimension in knowledge/rubrics/opportunity.yaml. Compute the weighted average.
If < 3.5: revise the lowest-scoring dimension(s) once. Re-score.
If it reads like a solution spec rather than a discovery assessment, rewrite it as a question — that is the most common failure mode.
Step 7 — Present the artifact
Present the final assessment in full. Ask: "Does this honestly test the bet? Anything to adjust before I save?"
Derive <bet-slug> from the bet name (lowercase, hyphens). Save to pstack-workspace/{slug}/opportunity-<bet-slug>.md.
Step 8 — Update .pstack-meta.json
Add an artifact entry: file opportunity-<bet-slug>.md, type opportunity, version, rubric_score, date. Do not change the project state — opportunity is a side artifact, not a stage in the spine.
Step 9 — Write last-session.md
Write ~/.config/pstack/last-session.md per knowledge/schemas/last-session.schema.md. Keep the project state as-is (STRATEGY_DONE unless a PRD already exists). Suggest /prd as primary next, noting whether this assessment says go or no-go.
Step 10 — Append quality-log.yaml
Append one entry to ~/.config/pstack/quality-log.yaml per knowledge/schemas/quality-log.schema.yaml.
Step 11 — Capture feedback
Ask once: "One thing you'd change about this assessment? Press Enter to skip."
Append to feedback/opportunity-log.yaml per knowledge/schemas/feedback-log.schema.yaml. If skipped, record skipped: true.
Step 12 — Suggest next
"Assessment saved. If the bet passes its riskiest test,
/prdto spec it. If it's a no-go, return to/strategyand re-sequence — better to kill a bet here than after a PRD."
Rules
- Never start if strategy score is below 2.5 — enforce the gate
- This skill is optional and gates nothing downstream — never block
/prd - Never advance the project state — opportunity is a side artifact
- One bet per assessment — refuse to test the whole strategy at once
- It is a discovery question, not a spec — if it drifts into UI/copy/solution, rewrite it as a question internally
- The riskiest assumption must be a real leap of faith — reject comfortable assumptions
- Always require concrete kill criteria — "we'll reconsider" is not a kill condition
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.

