Skip to content
Back to skills

Plan Interview

ASecurity

Use BEFORE writing any implementation plan for behavior-changing work — plan mode, or a direct feature/fix ask with no pipeline ticket. Surfaces the load-bearing design decisions to the engineer while the plan is forming and emits the in-plan Decision Ledger the plan gates require. Writes no intake receipt; a ticket headed for the pipeline enters by /intake-toolkit:intake instead. Not for typo/mechanical fixes.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentsgogitapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned December 1, 2026

npx -y skills add manoldonev/second-shift --skill plan-interview --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plan Interview?

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

Security grade badge for Plan Interview
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/manoldonev-plan-interview/badge)](https://www.skillsdirectory.com/skills/manoldonev-plan-interview)

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: plan-interview
description: Use BEFORE writing any implementation plan for behavior-changing work — plan mode, or a direct feature/fix ask with no pipeline ticket. Surfaces the load-bearing design decisions to the engineer while the plan is forming and emits the in-plan Decision Ledger the plan gates require. Writes no intake receipt; a ticket headed for the pipeline enters by /intake-toolkit:intake instead. Not for typo/mechanical fixes.
---

# Plan Interview

You are about to write an implementation plan. Before the plan exists as a document, the engineer co-authors its load-bearing decisions — each as its own question, with a recommendation where one is grounded — so the plan records choices already made instead of asking for a post-factum rubber stamp.

Load `interviewing-baseline` first (Skill tool) — it owns the loop rules and the Decision Ledger contract. This file only adds what is specific to plan-time design elicitation.

## Scope

You elicit **design decisions from the engineer** for a plan. You do NOT:

- Write an intake receipt, or interview a ticket for a pipeline run — that is `/intake-toolkit:intake <issue>`, whose Interview stage follows steps 2–5 below and adds the receipt.
- Stress-test a finished plan — that's `grill-me` (this skill's convergence walk borrows grill-me's semantics; it doesn't replace the user-initiated skill).

## Protocol

1. **Explore first.** Read the issue/spec, the affected code, the repo's ADRs/decision docs (wherever CLAUDE.md routes), and the Product-Essence Brief if one exists (`.claude/pipeline-state/{issue}-brief.md`). Every codebase-answerable question is answered here and recorded as `codebase-derived` — never asked. Answer it by running something where something can be run — a grep count, `ls`, `git cat-file`, a tool's `--help` — and keep the command and its decisive output: a `file:line` you read is a pointer, not verification.

2. **Build the decision register.** Admission = **materiality**. A decision enters the register only if it changes:

   *What the user gets* — the categories that go first because they are the ones an engineering-shaped register silently drops:

   - **states and transitions** — loading, empty, partial, error, not-found, and what moves between them,
   - **copy the user reads** — labels, messages, empty-state and error text; "we'll word it later" is a decision deferred, not a decision avoided,
   - **first paint** — what is on screen before the data arrives, and whether anything shifts when it does,
   - **degraded and missing dependencies** — what the user sees when the thing this depends on is absent, stale, or empty,
   - **composition and placement** — what else is on the surface, what it sits next to, what is suppressed when there is too little to show.

   *How it is built* — material for the same reason, and lower only because they are the ones that get asked anyway:

   - observable behavior (flows, status codes, emitted events),
   - API or data contracts (endpoint shapes, DTO fields, wire formats),
   - data invariants (uniqueness, soft-delete semantics — every natural key needs a conscious uniqueness decision),
   - scope boundaries (what this PR explicitly does not do),
   - tenancy/security posture (multi-tenant scoping filters per the repo's CLAUDE.md rules, guards, credential handling),
   - migration/rollout (existing rows, backfill, ordering across workspace packages),
   - a new unit of mechanism — each kind "Size the mechanism to the need" below lists. Each one is a decision question, never decided silently,
   - data provenance — for each persisted field (one of an entity whose schema, model, DDL or mapping lives in this repo; third-party API payloads and in-memory JSON are out) the change newly reads but does not write, and that is feature-critical or crosses a service boundary: the persisting schema line, every writer of the entity (including sync or webhook paths that write raw payloads past the schema), and whether existing records carry the field — the backfill half is the migration/rollout item above. It lands as a `codebase-derived` row whose evidence is run, e.g. ``run: `grep -rn "fingerprint" src/entities/document.entity.ts src/sync` → schema line 41; written only by document.service.ts:88`` — or a `deferred` row.

   Everything below that bar is decided silently and does not enter the register. Material design decisions are near-always groundable, so most decision questions carry a recommendation. One with nothing to ground it takes the no-recommendation form of the baseline's rule 3.

   **The ticket's candidate fixes are input, not the option set.** Build the options for the decision that picks the mechanism yourself. When the root cause lies in how a tool, library or platform mode behaves rather than in this repo's code, at least one option replaces that primitive instead of working around it. Find it on the tool's own surface (`--help`, its docs), check this repo's history with it (`git log`, earlier tickets), and state what it costs. The ticket's options and yours are options of that one question, each with its consequence (the baseline's rule 3), and the ledger's `Options weighed:` list records them, so a reviewer can see what was compared.

   **Size the mechanism to the need.** The default recommendation is the smallest mechanism that delivers the ticket's outcome for the callers that exist. A new unit of mechanism is a refactor, new abstraction, layer, generalization or extension point, or a cache, timeout, lock, retry, flag or option, config key, stored or request field, renderer, a second writer of an existing artifact, or a user-facing control. The list is closed. Recommend a new unit only when a present caller or a stated requirement needs it, and cite which. A need you only expect in the future is not one. Every question whose options add a unit shows the "No new mechanism" option (the baseline's rule 3). A question whose option adds a guard — a timeout, retry, lock or cache — states the failure the guard prevents and how the guard stops it. A row that places a new file, module or namespace is a choice, not a fact. It is `codebase-derived` only when `run:` evidence shows two existing examples of the same kind, or a stated repo convention covers it. Otherwise ask it. Restructuring the ticket itself prescribes is a candidate fix like any other: weigh it against the smaller option and recommend cutting it unless the outcome depends on it. The cut lands as a scope-boundary row; a restructuring worth doing on its own is filed as its own ticket, not folded into this one.

3. **Enumerate the surfaces, then check the register against them.** The register is whatever you chose to admit, so "the register is empty" grades the interview against itself. Independently of it, list the surfaces and states this work implies — every screen, route, state and artifact a user or operator ends up looking at, and every interface that code outside the change calls or parses (an HTTP endpoint, an SDK or library method, an event or message, a CLI or script interface with its args, flags and exit codes, and output that a machine reads). Then walk that list: each entry is **decided** by a register row, a **contract** whose register row states its `Inputs:`, `Outputs:` and `Errors:` (schema in `interviewing-baseline`), or **explicitly out of scope with a reason**. An entry that is neither is a missing register row — add it and interview it.

   The list is not scratch work. In a plan-mode plan, write it as a `## Surface Inventory` section beside the ledger (schema in `interviewing-baseline`). The lint checks that section only on an intake receipt, so nothing here will fail you for omitting it — which is exactly why it is on you. Genuinely surface-free work states the explicit empty form and moves on.

4. **Pick the traversal.**

   - **Flat walk** — ≤ 4 uncoupled decisions: walk the register in any order.
   - **Convergence walk** — ≥ 5 decisions, or any coupling (one answer changes another decision's options): resolve in dependency order, parents first, grill-me style. Both traversals share the same exit criterion.

5. **Interview** per the baseline loop rules (each decision as its own question, in the shape of rules 3 and 4, "your call" → `user-delegated`).

6. **Emit the Decision Ledger** and exit only when the register is empty *and* every surface is accounted for — each material decision carrying a non-`assumed` provenance, each surface decided or scoped out. Trivial work exits immediately with both explicit empty forms.

## Where the ledger lands

A `## Decision Ledger` section in the plan file itself, before `ExitPlanMode` is called (this plugin's `exitplan-ledger-gate.sh` hook lints for it and blocks the exit if it's missing or malformed). It is the four-column in-plan ledger. This skill never writes `.claude/pipeline-state/{issue}-ledger.md`: the pipeline's receipt is written only by `/intake-toolkit:intake`'s Receipt stage.

## Escalation

Stop and present uncertainty (what you understood / what's blocking / options / a clear question) when:

- the user's answers contradict each other or the codebase, and rechecking doesn't resolve it;
- the register keeps growing past ~10 material decisions — the work is likely decomposition-worthy; if it is headed for the pipeline, say so and point at `/intake-toolkit:intake`, whose Split stage decides it;
- the register is implausibly **thin** for the scope. A ticket with a page of acceptance criteria about rendered output, answered by a handful of transport and build decisions, has not been under-scoped — it has been mis-scoped, and the surfaces in step 3 are where the missing rows are. Say so and widen; a thin register is the failure this skill is most likely to exit satisfied on, because its exit criterion is met.

## What NOT to do

- Don't quiz — every question elicits a decision or a fact; none tests the engineer. A decision question carries a recommendation when one is grounded, and the no-recommendation form of the baseline's rule 3 when none is.
- Don't ask codebase-answerable questions (baseline rule 1).
- Don't pad the register with immaterial choices to look thorough — 0 material decisions is a legitimate outcome; emit the explicit empty form and move on.
- Don't re-litigate ledger entries later in the session; a recorded resolution is binding for the plan.
- Don't write the plan first and interview after — the interview precedes and shapes the plan.

Files in this skill

  • SKILL.md8 KB
  • tools/dup-scan-fixtures/corpus-live.json19.6 KB
  • tools/dup-scan-fixtures/corpus-synthetic.json1.2 KB
  • tools/dup-scan-fixtures/draft-body.md284 B
  • tools/dup-scan-selftest.sh18.5 KB
  • tools/dup-scan.sh18.7 KB
  • tools/ledger-carry-forward-selftest.sh11.1 KB
  • tools/ledger-carry-forward.sh7.2 KB
  • tools/ledger-lint-fixtures/empty-form-ledger.md260 B
  • tools/ledger-lint-fixtures/valid-ledger.md860 B
  • tools/ledger-lint-fixtures/valid-receipt.md1.7 KB
  • tools/ledger-lint-selftest.sh43.1 KB
  • tools/ledger-lint.sh28.4 KB

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.