Turns an incoming ask into a work item before anyone builds: names its work type (bug fix, investigation, refactor, SOP and the rest; single source: `contract.cjs --list`), restates the intent, and writes the record's SPEC.md with that type's proof contract. Use when a new request, ticket, bug report or question arrives: 'take this', 'new task', 'triage this', 'what kind of work is this', 'start a record for', 'open a slice for'. Not for sharpening a record that already has its intent and con...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Intake?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vanducng-intake)
---
name: intake
description: "Turns an incoming ask into a work item before anyone builds: names its work type (bug fix, investigation, refactor, SOP and the rest; single source: `contract.cjs --list`), restates the intent, and writes the record's SPEC.md with that type's proof contract. Use when a new request, ticket, bug report or question arrives: 'take this', 'new task', 'triage this', 'what kind of work is this', 'start a record for', 'open a slice for'. Not for sharpening a record that already has its intent and contract (vd:shape)."
license: MIT
argument-hint: "<the ask, a ticket, or a bug report>"
metadata:
author: vanducng
version: "0.2.1"
---
# intake
The first gate. It decides what kind of work this is and what will prove it done, before anyone designs or builds. It does not plan, design or code.
`C=<this skill's directory>/scripts/contract.cjs`
## Steps
1. **Find the record.**
- In an OpenRig rig, the record is the slice folder from `rig scope slice create`, created by the lead.
- Elsewhere, the bench record the workbench skill resolves (`records.cjs resolve --id <id>`), where `<id>` is a short kebab name for the task.
2. **Already taken in?** Read the intents of the records beside it first. If one already covers this ask, use it, whatever its id. If its `SPEC.md` has an authored intent and a proof contract, change nothing: say it is shaped and stop.
3. **Classify:** pick one work type from `node "$C" --list`.
- If two types fit, choose by what would prove the work done.
- If the ask is too thin to tell, ask one question with your best guess, and write nothing.
4. **Write `SPEC.md`:**
- frontmatter: `id`, `type` (the work type), and `intent` (the ask restated in one or two plain sentences);
- `lenses: [statechart]` in the frontmatter only when the work has three or more states, or a rule about events over time (their order, a duplicate or late event, a retry). A pure calculation or a one-shot request gets no lens;
- `## Mini-requirements`: numbered, observable outcomes taken from the ask, nothing invented;
- `## Proof contract`: the lines from `node "$C" <type>`, made concrete for this ask (name the test, surface or number);
- one more contract line: door type (one-way or two-way), blast radius, and the undo step.
No `TODO` lines are left behind.
5. **Rig kind** (only in an OpenRig workspace): feature, bug fix or SOP maps to a rig template through the workspace skill's `rig-kind.cjs`. Name it.
6. **Hand off:** a queue row to the seat that owns the build: `--tags project:<org>.<project>`, `--mission <mission> --slice <slice>` when a slice exists; not the owner seat, hand the row's text to the lead. After every create, `rig queue show <id>`.
7. **Report:** the work type, the record path, the lens if you named one, and the open question if there is one. The next gate is `vd:shape`, which draws the lens's charts.
## Rules
- The proof comes from the work type. A bug fix is proved by a check that fails on the old code and passes on the new. An investigation is proved by cited claims, each labelled measured, inferred or guess.
- Restate the intent in your own words; never paste the ask.
- One record per ask. Never create a second record for work that already has one.
Files in this skill
SKILL.md3.2 KB
evals/01-bug-report/checks.sh417 B
evals/01-bug-report/fixture/src/cart.js194 B
evals/01-bug-report/fixture/tools/records.cjs497 B
evals/01-bug-report/prompt.md304 B
evals/02-question/checks.sh573 B
evals/02-question/fixture/export.sql136 B
evals/02-question/fixture/tools/records.cjs497 B
evals/02-question/prompt.md278 B
evals/03-already-shaped/checks.sh495 B
evals/03-already-shaped/fixture/.workbench/cart-coupon/SPEC.md549 B
evals/03-already-shaped/fixture/src/cart.js194 B
evals/03-already-shaped/fixture/tools/records.cjs497 B
evals/03-already-shaped/prompt.md304 B
evals/03-already-shaped/scenario.json16 B
evals/04-stateful-retry/checks.sh436 B
evals/04-stateful-retry/fixture/src/webhook.js556 B
evals/04-stateful-retry/fixture/tools/records.cjs497 B