Skip to content
Back to skills

Goals Discovery

ASecurity

Phase one of a goal. Find out what the user really wants, starting from their pain, and get an explicit "yes" before anything is built. Use right after `goals start` and before `goals-plan`, when the goal is open-ended or vague. Skip it for a trivial, unambiguous task such as a typo fix, or when no Goals goal is active.

  • 17 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsrustgobash

Works with

  • cli

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add ShivamGupta42/goals --skill goals-discovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Goals Discovery?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Goals Discovery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shivamgupta42-goals-discovery/badge)](https://www.skillsdirectory.com/skills/shivamgupta42-goals-discovery)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: goals-discovery
description: Phase one of a goal. Find out what the user really wants, starting from their pain, and get an explicit "yes" before anything is built. Use right after `goals start` and before `goals-plan`, when the goal is open-ended or vague. Skip it for a trivial, unambiguous task such as a typo fix, or when no Goals goal is active.
---

# Goals Discovery: understand before you build

Run this first, before Assess (`goals-plan`). The usual failure is
filling gaps with your own assumptions and building a clear answer to the wrong
question. Users often cannot say what to build, but they know what hurts and how
it should feel. Start there, not with features.

## Rules

1. **Build nothing until the alignment checkpoint is `passed`**: no code, edits
   or prototypes.
2. **Ask one thing at a time**, then stop. Offer your suggested answer and the
   choices with their costs. What you suggest stays a suggestion until the user
   says yes to it, and no reply means "not yet". If one reply answers several
   steps, record all of it and move on; do not re-ask.
3. **Check the project for facts yourself**; ask the user only what only they
   know: wants, priorities, trade-offs. A search in the wrong or partial place
   proves nothing: log the gap as an open question, do not conclude it is missing.
4. **Say what you do not understand.** One honest "I don't know X yet" beats ten
   confident assumptions. Use plain words a non-technical user can weigh.

## The flow

**1. Start from the pain, not the ask.** What is hard or annoying today, when does
it bite, what do they do instead? The goal is usually a proposed fix; the pain is
the real target. Propose nothing yet. Record each pain point (the first also opens
the alignment checkpoint, waiting on the user):

```bash
goals assess pain "<what's hard or annoying today, and when it bites>"
```

**2. Draw out the feel of a good result.** How will they know it worked, and what
would make them not trust it? Collect properties like "fast enough that I never
wait", not screens. Record each in their words, with how it is proven:

- **Measurable** (a check could fail). Bind it to the phase that builds it, P3 in
  the default arc. P3 will not pass without an automated check, run by
  `goals phase verify`, that covers the property's id (`DP-...`):
  `goals assess want "<property> — <what that means here>" --proof auto --phase P3`
- **A feel only the user can judge.** Adds a checkpoint to the last phase (P4,
  Review), closed on their reply once there is something to try:
  `goals assess want "<property>" --proof user`

Never bind a property to P1: nothing is built yet to check. On a custom loop, use
its build phase. Pains and properties stay on this goal.

**3. Name what you do NOT understand.** List the ambiguous words, unstated scope
and forks only the user can settle, each as an open question under the part of the
goal it belongs to:

```bash
goals assess breakdown --problem "<the goal, rephrased plainly>" \
  --subproblem "<the part it's about> | | <open question>; <another open question>"
```

The empty middle slot is for tasks. Breakdowns are copied into the committable
`.goals/` spec, so keep health, family, money and names out. If you must lean on
an assumption, use `goals assess assume`; add `--depends` only if an automated
check could disprove it, with that check's `--phase`.

**4. Reflect it back.** In a few plain sentences, say what they are really after:
pain, desired feel, key properties. Let them catch a misread before it is code.

**5. Lay out the approach with honest pros and cons.** At least two paths, always
including doing nothing: gain, cost, what is hard to undo. If the idea is still
fuzzy, also propose a small trial and the result that would make you stop. Record
your pick:

```bash
goals decision record "How we'll approach <goal>" --choice "<the path>" --by agent --phase P1 \
  --why "<plain reason it fits their pain and desired feel>"
```

Keep `--by agent`: the CLI default, `--by user`, logs a choice they never made.

**6. Get an explicit yes.** Ask plainly: "Here's what I understand and how I'd
approach it. Is this what you want to build?" Record the checkpoint that blocks
the run until they answer, then stop and wait:

```bash
goals checkpoint record P1 alignment --kind understanding --status needs_user \
  --needs-user --title "Does this match what you want to build?" \
  --summary "<one line: the understanding and approach awaiting their yes>"
```

Only a reply to this final question closes it, never an earlier answer. The Goals
hook records their reply and `--status passed` cites it. Without the hook,
`--unverified` closes it and every view says so. Do not run `goals phase review
P1` while it waits.

When they confirm, flip it and log the approach as their decision:

```bash
goals checkpoint record P1 alignment --kind understanding --status passed \
  --summary "User confirmed: <what they agreed to>"
goals decision record "How we'll approach <goal>" --choice "<the path they confirmed>" \
  --by user --phase P1 --private --why "<their reason, in their words>"
```

`--private` keeps it on this goal; otherwise a `--by user` decision is copied into
their memory across projects. At the end, Goals lists their wants and
`goals user record` to keep any as a standing preference; nothing is saved unless
they run it. If they correct you, fold it in (steps 2 to 5) and ask again; a "no"
is the cheapest feedback in the run. When an answer changes a decision, record a
new one saying it replaces the old; never overwrite.

If their understanding shifts after the yes, run
`goals assess revise --reason "<what changed>"`. It reopens P1 for a fresh yes and
sends accepted phases back for review. Then redo steps 1 to 6. Goals keeps
`DISCOVERY.md` current; do not edit it by hand.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.