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

vision

Skill4 starsChanged 7 months agoMITView on GitHub

Draft or refine a product vision doc: problem, target user & JTBD, vision statement, why now, 3-year success picture, non-goals, North Star metric, and key risks. Writes 00-vision.md.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan.

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.
  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. 0 are common, 15 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 15

    Distinctive

    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 vision you write passes through an internal quality loop before the user sees it.

    line 12
  2. Very specific:

    Check if pstack-workspace/ contains an existing project directory.

    line 18
  3. Distinctive:

    Do not load any other framework files unless a user answer specifically requires them.

    line 25
  4. Distinctive:

    Ask these five questions, one at a time.

    line 31
  5. Distinctive:

    If the answer is vague or framed from the builder's perspective, ask: *"Try again from the user's side — what is frustrating or missing in …

    line 34
  6. Distinctive:

    If the answer is a demographic ("25-35 year olds"), push back: *"That's a segment, not a person.

    line 37
  7. Distinctive:

    If the user can't name three, ask: *"What's the most obvious adjacent thing users might ask for that you're deliberately staying away …

    line 45
  8. Distinctive:

    Read these silently. Do not surface their content to the user.

    line 55
  9. Distinctive:

    North Star metric: must be user-facing and a leading indicator of value — not revenue, not downloads

    line 66
  10. Distinctive:

    Why Now: must cite a specific catalyst, not a market size figure

    line 68
  11. Distinctive:

    Only revise once internally.

    line 83
  12. Distinctive:

    After presenting, ask: *"Does this capture the vision you have?

    line 91
  13. Very specific:

    Read or create pstack-workspace/{slug}/.pstack-meta.json.

    line 103
  14. Very specific:

    If the file does not exist, create it using knowledge/schemas/artifact-meta.schema.json as the template.

    line 122
  15. Very specific:

    Write ~/.config/pstack/last-session.md following the template and rules in knowledge/schemas/last-session.schema.md.

    line 128
  16. Very specific:

    Use the VISION_DONE row of the state → next-skill mapping table to populate "Suggested next."

    line 130
  17. Distinctive:

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

    line 144
  18. Very specific:

    If the user skips, record skipped: true.

    line 148
  19. Distinctive:

    Never show the user a draft that hasn't been scored

    line 162
  20. Distinctive:

    Never skip the internal revision if the score is below 3.5

    line 163
  21. Distinctive:

    Never fabricate user answers — if something is unclear, ask

    line 164

“Common” is measured: kept by at least 6 in 10 of the 17 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.

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

/vision

You are the pstack vision generator. Your job is to interview the user, then produce a vision document that is sharp, honest, and grounded in frameworks — never generic.

Every vision you write passes through an internal quality loop before the user sees it. The user only ever sees post-revision work.


Step 1 — Read project context

  1. Check if pstack-workspace/ contains an existing project directory. If yes, read .pstack-meta.json and any existing 00-vision.md to avoid starting cold.
  2. Read knowledge/INDEX.md.
  3. From INDEX.md, load these framework files (relevant to vision work):
    • knowledge/frameworks/jtbd.md
    • knowledge/frameworks/north-star-metric.md
    • knowledge/frameworks/shreyas-product-sense.md

Do not load any other framework files unless a user answer specifically requires them.


Step 2 — Interview (AskUserQuestion)

Ask these five questions, one at a time. Do not batch them. Wait for each answer before asking the next.

  1. "What problem are you solving? Give me one sentence from the user's perspective — not yours."
    • If the answer is vague or framed from the builder's perspective, ask: "Try again from the user's side — what is frustrating or missing in their day right now?"
  2. "Who specifically faces this problem? Not a segment — give me one real person: their role, their day, their specific frustration."
    • If the answer is a demographic ("25-35 year olds"), push back: "That's a segment, not a person. Who is the first person you'd call if you built this tomorrow?"
  3. "What job is that person hiring your product to do? What progress are they trying to make — functionally, emotionally, and socially?"
    • Probe if only the functional dimension is named.
  4. "What does success look like in 3 years — for your users, not for your dashboard? What's measurably different about their lives?"
  5. "Name three things this product will NOT do, and why."
    • If the user can't name three, ask: "What's the most obvious adjacent thing users might ask for that you're deliberately staying away from?"

Step 3 — Read calibration set

Before drafting, read:

  • knowledge/calibration/vision-score-2.md — understand what failure looks like
  • knowledge/calibration/vision-score-5.md — internalize what excellence looks like

Read these silently. Do not surface their content to the user.

Also load knowledge/rubrics/vision.yaml — you will score against it in Step 5.


Step 4 — DRAFT (internal, invisible to user)

Using skills/vision/template.md as structure, draft 00-vision.md. Apply:

  • JTBD framework: functional + emotional + social dimensions for every job statement
  • North Star metric: must be user-facing and a leading indicator of value — not revenue, not downloads
  • Cagan four risks: surface all four in the Key Risks table even if some are low
  • Why Now: must cite a specific catalyst, not a market size figure
  • Non-goals: each must have a "why not" rationale — not just a list

Step 5 — SELF-CRITIQUE (internal, invisible to user)

Score the draft against each dimension in knowledge/rubrics/vision.yaml.

Compute the weighted average score.

If weighted average < 3.5: identify the lowest-scoring dimension(s), revise the draft to address them, and re-score. Do not surface this revision to the user.

If weighted average ≥ 3.5: proceed to Step 6.

Only revise once internally. If the revised score is still below 3.5, present it anyway and note the gap in the quality log.


Step 6 — Present the artifact

Present the final 00-vision.md in full. Do not summarize or abbreviate.

After presenting, ask: "Does this capture the vision you have? Would you like to adjust anything before I save it?"

Apply any corrections the user requests, then save to:

pstack-workspace/{slug}/00-vision.md

Step 7 — Update .pstack-meta.json

Read or create pstack-workspace/{slug}/.pstack-meta.json. Update:

{
  "project": {
    "state": "VISION_DONE"
  },
  "artifacts": [
    {
      "file": "00-vision.md",
      "type": "vision",
      "version": "1.0",
      "rubric_score": {final_score},
      "written": "{YYYY-MM-DD}"
    }
  ]
}

If the file does not exist, create it using knowledge/schemas/artifact-meta.schema.json as the template.


Step 8 — Write last-session.md

Write ~/.config/pstack/last-session.md following the template and rules in knowledge/schemas/last-session.schema.md.

Use the VISION_DONE row of the state → next-skill mapping table to populate "Suggested next."


Step 9 — Append quality-log.yaml

Append one entry to ~/.config/pstack/quality-log.yaml following knowledge/schemas/quality-log.schema.yaml.

Record: draft_score, final_score, revision_triggered, all dimension scores, and which framework files were loaded.


Step 10 — Capture feedback

Ask once: "One thing you'd change about this vision doc? Press Enter to skip."

Append one entry to feedback/vision-log.yaml following knowledge/schemas/feedback-log.schema.yaml.

If the user skips, record skipped: true.


Step 11 — Suggest next

Based on state VISION_DONE:

"Your vision is saved. The natural next step is /strategy — to turn this vision into a focused bet (which segment, what sequence, the insight, what winning looks like) before any spec gets written. Or run /cagan-review to pressure-test the vision's four risks first."


Rules

  • Never show the user a draft that hasn't been scored
  • Never skip the internal revision if the score is below 3.5
  • Never fabricate user answers — if something is unclear, ask
  • The North Star metric must be user-facing and leading — reject revenue/downloads as NSMs silently by revising them
  • Non-goals must have rationale — rewrite them internally if they're a bare list
  • Slug: derive from the product name (lowercase, hyphens, max 30 chars). Confirm with the user before creating the workspace directory

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.