agentleFS
BhaskarManamBhaskarManam/pstack/skills/opportunity/SKILL.md

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.

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
  1. Distinctive:

    Every assessment passes through an internal quality loop before the user sees it.

    line 14
  2. Very specific:

    If 01-strategy.md does not exist: tell the user and stop.

    line 22
  3. Very specific:

    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.

    line 23
  4. Very specific:

    If rubric_score is missing: run a quick score pass on the strategy before proceeding.

    line 24
  5. Very specific:

    Read pstack-workspace/{slug}/01-strategy.md in full, and 00-vision.md for grounding.

    line 32
  6. Distinctive:

    Ask these four questions, one at a time.

    line 42
  7. Distinctive:

    If the user names the whole strategy or a vague theme, push back: *"Pick ONE bet.

    line 45
  8. Distinctive:

    If the assumption is comfortable/safe, push back: *"That's a safe bet.

    line 50
  9. Distinctive:

    Before drafting, read silently:

    line 58
  10. Distinctive:

    Keep it tight — this is a lightweight discovery doc, not a strategy or a PRD.

    line 73
  11. Distinctive:

    If it reads like a solution spec rather than a discovery assessment, rewrite it as a question — that is the most common failure mode.

    line 83
  12. Very specific:

    Add an artifact entry: file opportunity-<bet-slug>.md, type opportunity, version, rubric_score, date.

    line 97
  13. Very specific:

    Write ~/.config/pstack/last-session.md per knowledge/schemas/last-session.schema.md.

    line 103
  14. Distinctive:

    Ask once: *"One thing you'd change about this assessment?

    line 115
  15. Distinctive:

    Never start if strategy score is below 2.5 — enforce the gate

    line 129
  16. Distinctive:

    Never advance the project state — opportunity is a side artifact

    line 131
  17. Distinctive:

    Always require concrete kill criteria — "we'll reconsider" is not a kill condition

    line 135

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/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.md does not exist: tell the user and stop. "Run /strategy first — /opportunity pressure-tests a specific bet from your strategy."
  • 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. Sharpen it with /strategy or /critique before assessing a bet." Stop.
  • If rubric_score is 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

  1. Read pstack-workspace/{slug}/01-strategy.md in full, and 00-vision.md for grounding.
  2. Read knowledge/INDEX.md.
  3. Load from INDEX.md:
    • knowledge/frameworks/cagan-discovery.md — the four risks
  4. Read knowledge/rubrics/opportunity.yaml.

Step 3 — Interview (AskUserQuestion)

Ask these four questions, one at a time.

  1. "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."
  2. "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."
  3. "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?"
  4. "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, /prd to spec it. If it's a no-go, return to /strategy and 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.