Skip to content
Back to skills

Prepare

ASecurity

Prepares a repository for an unattended /orchestrate:run run — brings the roadmap into the orchestration format and tags its tasks, checks CLAUDE.md for gaps, clears permission dialogs in advance, settles open questions with the user, and writes the run plan into the roadmap. Use only when invoked.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added December 1, 2026
ai-agentspythongogitdatabase

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add MichaelP17/claude-mods --skill prepare --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prepare?

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

Security grade badge for Prepare
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/michaelp17-prepare/badge)](https://www.skillsdirectory.com/skills/michaelp17-prepare)

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: prepare
description: Prepares a repository for an unattended /orchestrate:run run — brings the roadmap into the orchestration format and tags its tasks, checks CLAUDE.md for gaps, clears permission dialogs in advance, settles open questions with the user, and writes the run plan into the roadmap. Use only when invoked.
disable-model-invocation: true
argument-hint: "[scope or wishes for the run, e.g. \"WP3 to WP5\"]"
---

Get this repository ready so that `/orchestrate:run`, started in a fresh session, can work through the roadmap for hours without the user. The user is present now and will not be later: everything that would stop the run has to be found and settled in this session.

The formats are defined in the claude-mods repository this mod lives in, at `<base>/../../../docs/orchestration.md`. Read its sections Roadmap and Current run before you start; the `kind`, `size` and `risk` definitions there decide every tag.

## 1. Read the state

- Locate the roadmap (`docs/ROADMAP.md`, `ROADMAP.md` or similar), `docs/decisions.md`, `HANDOFF.md`, `CLAUDE.md`, the README, and an existing status doc. Read them.
- `git status --short`, current branch, `git log --oneline -10`. Uncommitted work and a stale handoff are findings, not things to tidy up silently.
- Spot-checks against the code (does a "done" item really exist, does a referenced spec section exist) go to an Explore subagent, so this session stays readable.
- Run `python3 <base>/../../../scripts/contract.py --check`. A reported difference means a skill or agent quotes a format the mods no longer read that way; tell the user before the run, it would break reading reports or rollovers.

## 2. Bring the roadmap into the format

If the roadmap is not yet in the format, migrate it to `docs/ROADMAP.md`: phases, work packages, task lines with stable ids, `## Open decisions`. Keep every task's meaning and its done state; move reasons and rejected approaches that only the old roadmap recorded into `docs/decisions.md`. Show the user the result before committing it.

Every open task line then looks like this:

```roadmap-line
- [ ] **T3.2.1** Settings screen with a language picker · kind:feature-ui size:M risk:low · touches:locales, settings · after:T3.1.2 · model:opus-high
- [x] **T3.2.2** Persist the chosen language · kind:feature-logic size:S risk:low · after:T3.2.1
- [ ] **T3.2.1.F1** Picker loses the selection on rotation · kind:bugfix size:S risk:low · fixes:T3.2.1:minor
```

- Tag every open task with `kind`, `size` and `risk`, and add `touches` and `after` where they matter for order and parallel work. The tags choose the model each task runs on, so tag what the task is, not what would be convenient.
- Set `model` only when the user asks for it.
- An `L` task is too large for one agent context unless it is one coherent unit: propose a split into `S` and `M` tasks.

## 3. Check that the roadmap can be run

- Open tasks are understandable on their own: what to build, which spec section it refers to.
- Order and dependencies are clear. The scope of this run is clear — take it from the arguments, otherwise ask.
- Tasks that depend on an unanswered decision are identified. Contradictions between docs and code are found.

## 4. Check what every implementer needs

Subagents receive `CLAUDE.md` automatically, so project constants belong there. Add only what is missing and cannot be read off the code:

- the commands that define "done" (build, lint/type check, tests) and how a change is verified in the running app;
- resources that exist only once and rule out parallel work (simulator, dev server ports, container stack, migration snapshots, locale files, status docs);
- how the dev environment is started if it is not running.

## 5. Preflight

Find every command the implementers and reviewers will predictably run that can stop at a dialog or a guard: container builds and pulls, package installs, database migrations, simulator builds, network access, anything a project config of `machine-guard` or the permission settings would catch. Check the project's `.claude/` settings and guard configs.

List these to the user with what each one needs. Never loosen a guard, permission rule or mod yourself — the user decides and either allows it now or accepts that those tasks get skipped.

## 6. Settle the open questions

Ask everything that came up in one numbered round, each question with your recommendation: decisions that block tasks, scope, order, how many agents may run at once and which tasks may run in parallel, tags you were unsure of, how often the user wants progress messages. Write each decision where the project records decisions. Questions the user leaves open stay as open checkboxes under `## Open decisions`, and the tasks depending on them are excluded from the run.

## 7. Write the run plan

Add `## Current run` as the first section after the roadmap's introduction. If `HANDOFF.md` still holds an `## Orchestrated run` section from the old format, remove it there.

```current-run
## Current run

branch: feature/settings
scope: WP3.1 to WP3.3
excluded: T3.3.2 (waits on the open decision on locale fallback)
parallel: 2
parallel-safe: T3.2.1, T3.2.3
split: T3.3.1 into two agents: the importer, then its error handling
progress: after each work package
end: scope done, or every remaining task waits on the user

### Log

- 2026-11-02 14:10 T3.1.4 blocked: needs a signing key the run cannot create
- 2026-11-02 16:40 rollover after T3.2.3
```

- `parallel` is how many agents may run at once; `concurrency-guard` takes it as its limit during the run. `1` unless the user agreed to more.
- `parallel-safe` lists the tasks that touch none of the shared resources, or `none`.
- Start the log empty. Keep the section short: it is read at the start of every run, after every rollover and by every implementer.

Commit the roadmap, `docs/decisions.md` and `CLAUDE.md` changes.

## 8. Hand over

Tell the user in a few lines what was settled, what stays open, and that the next step is a new session with `/orchestrate:run`.

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.