Catalogue / five-question-task-interview
five-question-task-interview
Older skill: source not recordedSignedInterviews a user briefly about a coding goal and produces a concrete, reviewable implementation and verification plan suitable for a pull request. Use when a new development task lacks clear requirements. Do not use to delay an already specified task with redundant questions or execute changes impl…--- name: five-question-task-interview description: >- Interviews a user briefly about a coding goal and produces a concrete, reviewable implementation and verification plan suitable for a pull request. Use when a new development task lacks clear requirements. Do not use to delay an already specified task with redundant questions or execute changes implicitly. ---
Gather only the missing decisions
- Open with a plain question about what to build or change and what result is
expected — no scripted greeting.
- Reuse anything the user already said; never re-ask a answered fact.
- One question at a time, each shaped by the previous answer.
- Hard budget: five questions, two sentences each; stop earlier once the plan can
be concrete. Offer short options where they help.
- If the user is unsure, propose a labeled default and move on. Do not treat an
unknown permission, repository or destructive choice as settled.
Choose the next question from the highest-impact gap:
| Missing decision | Establish before planning | | --- | --- | | Execution context | Actual repository/path, language/runtime/framework, package manager, local run/test setup, containers if relevant | | Deliverable boundary | Smallest useful behavior change, observable acceptance criteria, explicitly excluded work | | Contract and data | Affected modules/routes/components/functions, schema/DTO/event changes, migrations and fixture/seed needs | | Quality constraints | Security, accessibility, performance, compatibility, test level/framework and CI requirements | | Remaining blocker | One short question whose answer materially changes feasibility or safe scope |
- Do not run the whole table as a survey — pick the single highest-impact gap each time.
- The final clarifier is only for a critical blocker; otherwise go straight to the plan.
- When the budget runs out, separate safe assumptions from genuinely blocked work and
write the most concrete plan possible.
- Never inflate a vague request into unapproved features.
Construct a plan a reviewer can evaluate
Organize the result around deliverable, execution evidence, and recovery rather than repeating the interview categories. Include every item below with project-specific values. If a command/path cannot be established from local evidence, label it proposed and explain the missing fact; do not invent exact commands for an unseen repository.
Delivery contract
- One-sentence goal, then observable acceptance cases.
- Public contracts: routes, functions, CLI flags, UI behavior, and any data/schema changes.
- Actual paths to modify or add; mark each as verified (seen in the repo) or proposed.
- Stubs or signatures only when they clarify. End with an explicit out-of-scope list.
Ordered work
- Task branch name and environment setup, matched to the project's own conventions.
- Required scaffolding or codegen first.
- Then the code work as at most eight coherent review units — potential commit
boundaries, not permission to commit. Each unit states its outcome, the files/interfaces it touches, and how it is verified.
- Order units by dependency; skip invented parallelism.
Proof of behavior
- Unit, integration and end-to-end cases with descriptive names and their file paths.
- Local and CI run commands, copied from what the repository actually uses.
- Fixtures, mocks or seed data, plus isolation needs. Never assume live services or
production data belong in tests.
Quality and recovery
- Formatting, lint and type-check commands; security and performance checks where relevant;
accessibility verification for UI changes.
- The three most consequential concrete risks, each with how to detect and how to
mitigate or roll back.
- If a feature flag or environment toggle is justified, name its owner and rollback
behavior without touching configuration.
- A schema migration needs a data-safe recovery path, not just a code revert.
Execution decision
- A rough small/medium/large classification grounded in known uncertainty, plus the
ordered next steps — never a guaranteed deadline.
- A short assumptions-and-blockers summary.
- One closing question: approve executing this specific plan?
- If execution was already explicitly authorized in the current task, keep that
authorization and proceed within it instead of asking again.
Fresh worked planning shape
For a workshop booking app needing to reject overlapping reservations, the deliverable might be: “A second reservation cannot occupy an already booked equipment interval.” Acceptance cases cover adjacent intervals allowed, partial overlap rejected, and two concurrent requests producing only one successful booking. Inspect the actual route, repository layer, transaction boundaries, and tests before naming paths.
A useful sequence is to establish interval semantics, add focused boundary tests, implement a transaction-safe conflict check, verify concurrency in an isolated test database, and document the API error. Risks include timezone conversion, race conditions, and accidentally changing existing cancellation behavior. The plan should name how each is detected and recovered. This is an original scenario, not a command to write code or touch a database now.
Confirmation
The intake and plan are read-only deliverables by default. Obtain explicit human confirmation of the concrete execution scope before writing files, creating branches, installing dependencies, scaffolding, changing schemas/settings, running stateful commands, or external requests. Staging and committing need exact path/message approval; pushing, opening/updating a PR, deployments, and other externally visible actions need separate explicit confirmation. Never automatically commit because a plan mentions review units. Never push directly to a protected base branch, including main or master. Preserve unrelated work and report any scope change before acting.
Never
- Exceed five intake questions, ask redundant known facts, or continue interviewing after enough information is available.
- Treat assumptions as verified facts, fabricate repository paths/commands, or promise a deadline without evidence.
- Write, install, stage, commit, push, change settings/data, or perform external actions without explicit scope confirmation.
- Push a protected base branch or expand a small task into unrelated work.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 6.4 kB | 1f4fc3a5e3eb |
| examples.json | 2.3 kB | 8f4823e7424d |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 1.0.1 Current | Not recorded | 6 Oct 2026 | |
| 1.0.0 | Not recorded | 3 Oct 2026 |
Locking a skill to one version needs Pro.