Skip to content
Back to skills

Rota Capture

ASecurity

Use when the user brain-dumps work, says "capture", "add to backlog", "note this bug", "/rota-capture", or describes a problem without asking for an immediate fix. Also use on "remove [B07]", "delete this entry", "drop this item" to delete captured items. Use `--triage <N>` on a tracker issue filed by someone else.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 6, 2026
developmentgobashrefactoringbackendsecurity

Works with

  • cli

Security analysis

A100/100

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

Scanned November 27, 2026

npx -y skills add l4ci/rota --skill rota-capture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rota Capture?

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

Security grade badge for Rota Capture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/l4ci-rota-capture/badge)](https://www.skillsdirectory.com/skills/l4ci-rota-capture)

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: rota-capture
description: Use when the user brain-dumps work, says "capture", "add to backlog", "note this bug", "/rota-capture", or describes a problem without asking for an immediate fix. Also use on "remove [B07]", "delete this entry", "drop this item" to delete captured items. Use `--triage <N>` on a tracker issue filed by someone else.
---

# rota-capture — Capture & Manage Work Items

Quick-capture bugs, features and tasks with just enough context to act on later. Items are created with `rota item create` on the configured issue source (`issues.source`): a tracker issue (`#N`) or a `.rota/BACKLOG.md` entry (`[B07]`). Handles several items and mixed types in one pass. `--remove <ID>` deletes an item. `--triage <N>` vets an issue others filed.

Copy this checklist and track your progress:
```
- [ ] Step 1 — Mode Dispatch
- [ ] Step 2 — Parse & Classify
- [ ] Step 2.5 — Audit Against Code State (milestone-spec capture only)
- [ ] Step 3 — Gather Context (incl. duplicate, shipped and decision check)
- [ ] Step 4 — Assign Priority / Size
- [ ] Step 4.5 — Tag Active Milestone (when applicable)
- [ ] Step 4.6 — Tag Sub-Repo (when umbrella mode is on)
- [ ] Step 5 — Handle Large Input
- [ ] Step 6 — Create All Items
- [ ] Step 7 — Brainstorm Nudge
```

## Step 1 — Mode Dispatch

| First arg | Mode |
|-----------|------|
| `--remove <ID>[,<ID>...]` | [Remove Mode](#remove-mode) |
| `--triage <N>[,<N>...]` | [Triage Mode](#triage-mode) |
| anything else / nothing | Step 2 onward |

Skip Steps 2 to 7 in Remove and Triage Mode.

## Step 2 — Parse & Classify

**Split the input into distinct items**, one per concern that would get its own ID (separate sentences, "also…", lists, mixed bug/feature/chore language).

| `--kind` | When the item describes… |
|----------|--------------------------|
| `bugs` | Broken behavior: worked and stopped, or doesn't work as expected |
| `features` | New or enhanced behavior that doesn't exist yet |
| `tasks` | Chores and maintenance: refactoring, dependency updates, docs, CI, cleanup |

(File backend: these land under `## Bugs`, `## Features`, `## Tasks` of `.rota/BACKLOG.md`.)

## Step 2.5 — Audit Against Code State (milestone-spec capture only)

When the input captures from a milestone spec, read [`milestone-spec-audit.md`](milestone-spec-audit.md) and run it: it drops items already shipped.

## Step 3 — Gather Context

**Code first.** Before asking, grep the filenames, commands and skill names the user mentioned and run `rota map query <name>` for a matching subsystem. Pre-fill component, current behavior and error text; never ask the user for them. Capture is not an investigation: read only enough to answer.

**Then ask** 2 to 4 questions total across all items, not per item, only for what the code can't settle (intent, expected behavior, trigger, urgency). Skip what the user already answered; detailed input may need none. Every question carries a recommended answer: mark one option `(Recommended)` or state the default. Pick from:

- **Bugs:** expected vs. actual, trigger steps, every time or intermittent, which view/component, error output.
- **Features:** user-facing behavior, which part of the app, existing workaround, what triggers the need.
- **Tasks:** goal, area of the codebase, deadline or dependency, relevant context (error output, PR link).

Code reads supply recommended answers; they never add questions.

**Check before creating.** For each item, read [`duplicate-check.md`](duplicate-check.md) and run it: it searches open and archived items, shipped code and `rota decisions query`, and asks only on a hit. No hit adds no question.

## Step 4 — Assign Priority / Size

| Bugs | Meaning |
|------|---------|
| `[P0]` | Blocks usage: crash, data loss, can't complete core workflow, security issue |
| `[P1]` | Degrades experience: wrong behavior, broken feature, workaround exists |
| `[P2]` | Minor annoyance: cosmetic glitch, edge case, user unlikely to notice |

| Features | Meaning |
|----------|---------|
| `[Major]` | New screens, significant rework, breaks existing patterns, multi-day |
| `[Minor]` | Contained change: new option, small UI addition, 1 to 3 files, hours |
| `[Cosmetic]` | Visual polish: spacing, color, label tweak, minutes |

Tasks get no priority or size tag.

## Step 4.5 — Tag Active Milestone (when applicable)

When the user named a milestone (`--milestone M01`, *"for M02"*) or exactly one milestone is active (`rota milestone active --json`), read [`milestone-tagging.md`](milestone-tagging.md) and run it: it yields the `--milestone` value for Step 6. Otherwise skip and leave untagged.

## Step 4.6 — Tag Sub-Repo (when umbrella mode is on)

When `rota repo umbrella` exits 0 and `.rota/repos.json` registers at least one sub-repo (the registry is the truth, not the config flag), read [`umbrella-tagging.md`](umbrella-tagging.md) and run it: it yields the `--repos` value for Step 6. Otherwise skip silently.

## Step 5 — Handle Large Input

When input exceeds about 3 sentences (stack traces, logs, specs, long repro), use `references/detail-files.md` and pass the file as `--body-file`.

## Step 6 — Create All Items

When the user's phrasing may map to a canonical glossary term (`## Glossary` in `.rota/KNOWLEDGE.md`), read [`glossary-terms.md`](glossary-terms.md) before creating.

Create each item in one command; it prints the new ID:

First run `rota item template --kind <bugs|features|tasks> [--tag <tag>]` for each kind/tag in the batch. Draft the `--body-file` from that skeleton: its comments identify required, recommended and optional sections. Fill the sections from the user's input and omit unused optional sections; keep an empty required heading when nothing is known rather than inventing content. Simple bugs/tasks need no body file when their description already carries the information. `item create` warns on missing required or recommended sections and still captures; round assignment refuses missing required sections. For Out of scope, "nothing noted" is enough. Preserve bulky input under Detail (`references/detail-files.md`).

```bash
ID=$(rota item create --json --kind bugs --title "Short title" --tag P1 --desc "Description." --related "[F02]" | jq -r .data.id)
```

Flags: `--kind bugs|features|tasks`, `--tag` (`P0`-`P3` for bugs, `Major`/`Minor`/`Cosmetic` for features, none for tasks), `--desc`, `--related`, `--milestone`, `--repos`, `--subsystem`, `--body-file`, `--depends-on`. See `rota item create --help` and `docs/contributing/contract/backlog.md` (*rota item create*) for ID minting, field order, the `Since:` stamp, detail-file placement and the issue-backend mapping.

When the user says to capture an item on hold (valid work that must wait), create it normally on the issue backend, then immediately label its new ID before reporting it: read `rota config show issues.labels.onHold --json` for the effective label (`data.entries[0].value`, default `on-hold`) and run `rota issues label <ID> --add <effective-label>`. An empty label setting disables holds: explain that and leave the item unlabelled. A hold keeps the issue open, marks it in the backlog and excludes it from round candidates, assignment and no-argument `/rota-work` suggestions. Only a person removes the label to release it; do not substitute `blocked`, `needs-human` or `needs-info`. File backend: explain that holds require the issue backend.

When the text names a harness ("with codex") or a model, read [`harness-model.md`](harness-model.md) before creating. Add nothing when the text names neither.

Judgment calls:

- **`--related`:** link only clearly related items. Scan `rota backlog list` (file backend: also `.rota/ARCHIVE.md`); batch items can reference each other.
- **`--depends-on`:** when an item clearly needs another open item done first, including one earlier in the batch (`references/dependent-items.md`). Create prerequisites first and use the IDs just printed. Independent items stay `--related`.
- **`--subsystem`:** match filenames and skill names in the user's text against `.rota/map/` (or the `## Project Map` block in CLAUDE.md). Pass `Subsystem: <name>` only on a confident match; never delay capture for it.
- **`--desc`:** what happens, when, what should happen instead (bugs); what, where, why it matters (features); what and why (tasks). One to three sentences.
- **Behavior, not paths:** descriptions and acceptance criteria state observable behavior. File paths and line numbers go in a `## Pointers` section of the body (`--body-file`), never in the criteria. Name exact files, not a bare directory (`internal/cli/round_assign.go`, not `internal/cli/`): `rota round candidates` and `assign` match a directory against every file below it, so one directory pointer makes the issue overlap most others. Warn the user when a draft body carries one, and ask for the files. Files every issue mentions in a shared footer (a `TODO.md` line) belong in `round.sharedPaths`, not in the pointers.
- **Try it:** add a `## Try it` section only for an issue that changes what a user sees (a new or changed verb, its output, a refusal or exit code); the merge gate runs those steps on the merged tree as a behaviour check. Refactors and test-only issues skip it. Steps run in a scratch HOME and never touch a real tracker.
- **Contract boundaries:** write Out of scope as what a worker must not take on. In Touches, list contracts one per bullet: a symbol, endpoint, schema or table, migration, config key or event (`POST /items`, `worker.Slot`, `round.maxBounces`). `assign` quotes these sections in the brief; candidates and assign compare Touches entries to detect collisions across files. For a milestone child, copy its entries from the milestone's Capabilities list and follow `references/breakdown.md` for Change. The binary template decides which sections each kind needs.

## Step 7 — Brainstorm Nudge

Fires when the batch includes a `[Major]` feature or a `[P0]` bug; skip otherwise. In every autonomy mode, add one line per qualifying ID to the report, after other post-capture nudges and a blank line:

> *"Run `/rota-brainstorm [ID]` before `/rota-plan` to negotiate the design."*

**Never grill and never invoke `/rota-brainstorm` from here** (`references/grilling.md` is not loaded by capture). `/rota-work` with no argument suggests the next item.

If no milestone exists (`rota milestone list`) and the repo had no open items before this run (`rota backlog list`, checked before creating items), add to the report: "No milestone exists; `/rota-vision` splits a concept into milestones."

Print every new ID with its title, then stop. Capture ends here; do not offer to start work.

---

## Remove Mode

Read [`remove-mode.md`](remove-mode.md) when the first arg is `--remove` and follow it (Steps R1 to R5: resolve, dry-run, de-tag upstream, confirm, apply).

## Triage Mode

Read [`triage-mode.md`](triage-mode.md) when the first arg is `--triage` and follow it (Steps T1 to T5: read, redundancy search, prior decision, reproduce a bug, outcome ready / needs-info / closed). It creates no item and never grills the reporter.

## Rules

- Capture only creates items: never remove or reorder existing ones, never investigate now. A duplicate, shipped or decided hit creates nothing without the user's answer.
- Print every new ID with its title.
- Triage: findings first, then one question per issue; comment, label and close always ask.
- Remove: preview is the default; the de-tag gate (Step R3) and apply gate (Step R4) always ask.

## References

| Reference | Purpose |
|-----------|---------|
| [`milestone-spec-audit.md`](milestone-spec-audit.md) | Step 2.5: drop items already shipped when capturing from a milestone spec. |
| [`duplicate-check.md`](duplicate-check.md) | Step 3: search items, code and decisions before creating. |
| [`milestone-tagging.md`](milestone-tagging.md) | Step 4.5: tag the active or named milestone. |
| [`umbrella-tagging.md`](umbrella-tagging.md) | Step 4.6: pick sub-repos for `--repos`. |
| [`glossary-terms.md`](glossary-terms.md) | Step 6: write canonical glossary terms. |
| [`harness-model.md`](harness-model.md) | Step 6: record a named harness or model. |
| [`remove-mode.md`](remove-mode.md) | `--remove` flow, Steps R1 to R5. |
| [`triage-mode.md`](triage-mode.md) | `--triage` flow, Steps T1 to T5. |
| [`authoring-conventions.md`](references/authoring-conventions.md) | Destructive and manual gates. |
| [`dependent-items.md`](references/dependent-items.md) | When to declare `--depends-on` and in what order to create. |
| [`detail-files.md`](references/detail-files.md) | Detail-file template for bulky input. |
| [`issue-mode.md`](references/issue-mode.md) | Issue-backend umbrella rules (Step 4.6). |
| [`umbrella-mode.md`](references/umbrella-mode.md) | Umbrella-mode verbs, registry shape, `Repos:` semantics. |

Files in this skill

  • SKILL.md9.1 KB
  • glossary-terms.md675 B
  • milestone-spec-audit.md962 B
  • milestone-tagging.md706 B
  • remove-mode.md2.4 KB
  • umbrella-tagging.md1.1 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 development →

Comments

Loading comments…

Newsletter

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