Skip to content
Back to skills

Intent

ASecurity

Planning interview - asks, what the conversation and the code leave open. When a change looks like it needs a plan and no confirmed interview or fixer diagnosis is in context, keep talking with the user and suggest, in one line, this interview; invoke it only after the user agrees or asks to plan, design or be interviewed. Not for a change the user asked to make directly, without a plan.

  • 8 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 7, 2026
ai-agents

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add p2p2sp/p2p2.claude --skill intent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Intent?

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

Security grade badge for Intent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/p2p2sp-intent-p2p2-claude/badge)](https://www.skillsdirectory.com/skills/p2p2sp-intent-p2p2-claude)

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: intent
description: Planning interview - asks, what the conversation and the code leave open. When a change looks like it needs a plan and no confirmed interview or fixer diagnosis is in context, keep talking with the user and suggest, in one line, this interview; invoke it only after the user agrees or asks to plan, design or be interviewed. Not for a change the user asked to make directly, without a plan.
allowed-tools: Read, Grep, Glob, WebSearch, WebFetch, Agent, AskUserQuestion, Skill
---

# Intent

Run `ExitPlanMode` first, if plan mode is active.

Interview the user until you reach a shared understanding. Map the topic as a design tree: every decision branches into the decisions that hang off it. Until the user confirms that understanding, change nothing and build nothing.

## Rounds

The frontier is every decision whose prerequisites are settled: the questions you can ask now without guessing at answers you have not heard yet.

1. Ask the frontier in one round of at most 5 questions, in prose, never through `AskUserQuestion` (only the final confirmation uses it). Questions past the fifth stay in the frontier for the next round. A question whose answer depends on another question still open in this round belongs to a later round.
2. Wait for the user's answers.
3. Recompute the frontier from the answers: settled decisions unblock the questions that depended on them. Ask the next round.

Number the questions, give each your recommended answer. "yes" accepts all recommended answers in round.

Each option is the final text of its decision, since "yes" settles it: every value with its unit and boundaries (a day: from when to when), every group by its members, never an example value.

Format (never more than 3 options):
```
**1** - **<question title>**: <question body, might be multiple paragraphs>

`1.1` Recommended - <your recommended answer>
`1.2` - other option
`1.3` - another option

---

**2** - **<question title>**: <question body, might be multiple paragraphs>

`2.1` Recommended - <your recommended answer>
`2.2` - other option
`2.3` - another option
```

## Facts and decisions

- Finding facts is your job: never ask the user for anything you could look up yourself.
- A question needs a fact from the environment (filesystem, tools): dispatch an `Explore` sub-agent in a fresh context window.
- A running exploration is an unsettled prerequisite: hold back only the questions downstream of it and ask the rest of the frontier now, within the round limit.
- A change that alters or removes existing behaviour: have `Explore` find what relies on that behaviour (callers, tests asserting it, docs stating it). Each one whose own observable behaviour would change is a decision: it changes too, or it must keep working.
- Decisions are the user's: put each one to them and wait, never settle one yourself.
- A limit (what stays unchanged, what is left out) is a decision. Before putting it to the user, have `Explore` check that every required behaviour can be built within it: each file the change adds or moves has a home that can reference what it needs.
- A fact you hold from neither the user, a round nor the code (one carried over from an earlier spec or a pattern): state it in the understanding under `Assumed`, apart from the decisions. It does not bind the build.

## Done

The interview ends when the frontier is empty: every branch of the tree visited, no exploration still running, nothing silently assumed. Then state the shared understanding in prose and ask the user to confirm it through one `AskUserQuestion` call, every field in the conversation's language.

## Parts

More than 10 required behaviours settled (edge cases count) and no outcome path given: before stating the understanding, propose in one more round a split into parts, each of at most 10 behaviours. 10 or fewer: no question about parts.

- A part is a vertical slice: once it is closed, the project builds, the full test suite is green and at least one new behaviour is observable.
- Parts are numbered in build order; a part relies only on earlier parts.
- Every behaviour belongs to exactly one part; every fact shared by parts is marked shared. Nothing later repairs the split.
- The user rejects the split: there are no parts.
- With parts, the shared understanding lists each part (number, title, its behaviours) and the shared facts.

## Next phase

Invoked with the path of an `outcome.md`: read it before the first round. Its `## Phases` section is a split already settled.

- The current phase is the first `### P<n> - <title>` heading without ` (built)`; interview its behaviours only. None left: say every phase is built and stop.
- Never propose a new split: the understanding lists every phase of the section with its ` (built)` mark and its behaviours, and the shared facts, verbatim.
- Its `Issue:` line: the understanding names that issue.
- A `prototype.html` beside the outcome: the understanding ends with the line `Mockup: <its path>`.

## Confirmation

If the interview shows that the change touches the UI and no prototype of it exists yet, propose running the `viber:ui-prototype` skill by adding the Prototype option; otherwise hide that option.

With parts, show Spec -> Plan -> Build, Short plan -> Build and, if it applies, Prototype; hide Build now. The choice covers the current phase only: each later phase takes its own intent run and its own confirmation.

Format:

```
header: "Intent"
question: "<the change in one sentence>. Is this understanding correct?"
multiSelect: false
options:
  - label: "Spec -> Plan -> Build"
    description: "Full path: spec, task plan, build by agents"
  - label: "Short plan -> Build"
    description: "Skip the spec: approve a short plan, build in a fresh context"
  - label: "Build now"
    description: "No plan: build in this session from what was settled"
  - label: "Prototype"
    description: "Build an HTML mockup of <the UI part> first, then return to this question"
```

- Spec -> Plan -> Build: invoke the `viber:spec` skill.
- Short plan -> Build: invoke the `viber:simple-plan` skill.
- Build now: invoke the `viber:implementor` skill.
- Prototype: invoke the `viber:ui-prototype` skill.

Files in this skill

  • SKILL.md11.9 KB
  • fragments/branching-handoff.allowed.md771 B
  • fragments/branching-handoff.required.md690 B
  • fragments/branching-start.allowed.md3.4 KB
  • fragments/branching-start.required.md3.3 KB
  • fragments/fast-path.true.md2.3 KB
  • fragments/issues-done.false.md10 B
  • fragments/issues-done.true.md1.5 KB
  • fragments/issues-input.false.md236 B
  • fragments/issues-input.true.md1.1 KB
  • references/issue.md855 B

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.