Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

docs(skills): teach every help command [I11]

Corey Olson25e5e0345779
diff --git a/skills/pullboard-decompose/SKILL.md b/skills/pullboard-decompose/SKILL.md
index e6bcebe5..35afdadd 100644
--- a/skills/pullboard-decompose/SKILL.md
+++ b/skills/pullboard-decompose/SKILL.md
@@ -65,3 +65,9 @@ One requirement per line:
- For every must-row you could write the exact check: the command, the input and the expected output.
- What remains pending is only the questions the person has not answered yet.
- `pullboard spec check` passes, and the spec is committed with a `docs(spec): ...` message. Docs commits need not cite row ids.
+
+## Pullboard commands for this job
+
+- When you need the role-specific decomposition checklist, run `pullboard prompt decompose`.
+- When you need the current rows in a readable table, run `pullboard spec view`; when you need one row and its history, run `pullboard spec show <id>`.
+- When a request depends on valid lifecycle states or transitions, run `pullboard lifecycle` before drafting rows.
diff --git a/skills/pullboard-plan/SKILL.md b/skills/pullboard-plan/SKILL.md
index 125fe337..8294c387 100644
--- a/skills/pullboard-plan/SKILL.md
+++ b/skills/pullboard-plan/SKILL.md
@@ -52,3 +52,10 @@ To change a brief or a route later: `pullboard edit <id> --brief "..."` or `--ro
## Done
Every approved must-row is cited by an item, or named in your report with the reason it needs none. `pullboard list` shows the order through `after`.
+
+## Pullboard commands for this job
+
+- When you begin planning, run `pullboard prompt plan` for the role-specific checklist and `pullboard doctor` to find board-integrity problems.
+- When you need to preserve release order, run `pullboard roadmap` before changing milestones.
+- When you need to create a milestone, run `pullboard milestone add`; append or remove its item references with `pullboard milestone items`.
+- When you need to change an existing milestone's order or label, run `pullboard milestone move` or `pullboard milestone edit`; when retiring an empty milestone, run `pullboard milestone remove`.
diff --git a/skills/pullboard-run/SKILL.md b/skills/pullboard-run/SKILL.md
index 86d69c14..e158741a 100644
--- a/skills/pullboard-run/SKILL.md
+++ b/skills/pullboard-run/SKILL.md
@@ -38,3 +38,21 @@ Every approved row is cited by an item that is verified and merged, or the perso
## Report flow
At the start of every coordinator cycle, check the flow from the `flow:` line in `pullboard resume`, or from `pullboard stats --json`. When it names a bottleneck, use `pullboard shout person "..."` to tell the person in one plain sentence what is slow, the reported numbers, and the action that would fix it. Use the reported values and recommendation; do not calculate new numbers. Ask for a decision only when the fix needs the person's choice or authorization, such as starting another agent. Otherwise report the action without a question.
+
+## Commands by coordination task
+
+- When registering the main checkout as coordinator, run `pullboard join coordinator --model <name>`; when joining a lane, run `pullboard join <lane> --model <name>`. After the same agent starts a new session, run `pullboard takeover`; confirm the active identity with `pullboard whoami`.
+- When you need current syntax, run `pullboard help` or `pullboard help <command>`; check the installed release with `pullboard version`. Use `pullboard tour` to walk a person through the scripted example in a throwaway repo.
+- When checking machine gate capacity, run `pullboard resources`; change the configured slot count with `pullboard settings` only when the team has agreed to that machine-wide setting.
+- When an item needs its frozen check, run `pullboard check <id>`; use `pullboard claim <id>` to take or renew a specific lease and `pullboard release <id>` when you cannot continue. `pullboard done <id>` is the submit alias.
+- When coordinating a pause or correction, use `pullboard hold` for a lane or item, `pullboard reopen` to return a submission for criterion correction, and `pullboard withdraw` only when nobody should build the item.
+- When answering a decision addressed to the coordinator, run `pullboard answer <id>`; when it belongs to the person, use `pullboard pass <id>` to forward it rather than answering for them.
+- When preparing a verified batch for the main line, use `pullboard sweep` to file one item per flagged file, `pullboard land` to gate and push the durable batch, and `pullboard merged <id> <commit>` to record where an accepted item landed.
+- When you need an append-only observation for an item, run `pullboard fact <id>`; use `pullboard ledger` for the board's event ledger and `pullboard log` for its readable activity timeline.
+- When inspecting the queue, use `pullboard status`, `pullboard list`, and `pullboard inbox`; use `pullboard show <id>` to read the frozen criterion and item history.
+- When validating a project before planning, run `pullboard doctor`; when a published Claude Code skill changed, run `pullboard skills --update` to refresh only unchanged installed copies.
+- When hooks are missing after a clone, run `pullboard hooks` to reinstall them; when diagnosing one hook directly, run `pullboard hook pre-commit`, `pullboard hook pre-merge-commit`, `pullboard hook commit-msg`, or `pullboard hook pre-push` for the hook in question.
+- When linking this board to the relay, run `pullboard relay on`; use `pullboard relay off` to unlink it, `pullboard relay pair` to print a one-use code, and `pullboard relay join <code>` in the clone that receives that code. Run `pullboard relay` to inspect link state.
+- When checking paired-device or agent-token metadata, run `pullboard relay devices` or `pullboard relay tokens`; use `pullboard relay revoke <id>` only when authorized to revoke that device or token. When a blocked relay position needs recovery, hand it to the person because recovery is reserved for their action.
+- When opening the local board in a browser, run `pullboard view`; use `pullboard view --export <dir>` for a static snapshot and `pullboard serve` when a local script needs the authenticated API.
+- When keeping a versioned board backup, run `pullboard export`; restore it only into an empty board with `pullboard import <file>`. When removing a repository from this machine's registered project list, run `pullboard forget <path>`.
diff --git a/skills/pullboard-signoff/SKILL.md b/skills/pullboard-signoff/SKILL.md
index 39405db1..9ea4d055 100644
--- a/skills/pullboard-signoff/SKILL.md
+++ b/skills/pullboard-signoff/SKILL.md
@@ -63,3 +63,9 @@ The backlog grows when proof comes at the end. Treat a work item as done only wh
- A hostile check knocked down three ✅s that passed their tests: a model-written line that went out unlabeled, a privacy limit that a derived ratio leaked around, and a spending cap that failed calls could reopen.
- A row cited by 8 tests had never been built. The tests tested other rows.
- Signers stop trusting tables that mix ready rows with questions. Keep them apart.
+
+## Pullboard commands for this work
+
+- When preparing a sign-off batch, run `pullboard prompt signoff` for the role-specific instructions.
+- When checking who may sign, run `pullboard spec signers`; when an authorized signer needs adding, use `pullboard spec signers add` with the exact verified principal.
+- When the person has recorded row decisions and the coordinator is ready to apply them, run `pullboard spec apply`.
diff --git a/skills/pullboard-spec-review/SKILL.md b/skills/pullboard-spec-review/SKILL.md
index 487f8e00..a179a052 100644
--- a/skills/pullboard-spec-review/SKILL.md
+++ b/skills/pullboard-spec-review/SKILL.md
@@ -27,3 +27,8 @@ Verification checks the work against the spec. This checks the spec, and what wa
## Report
Rank the findings by what the client would notice first. For each: what it is, where it is (a file and line, or a screen), why it matters to the client, and the fix. Put decisions that belong to the person at the top. Write the report to a file the person can hand to the build's coordinator.
+
+## Pullboard commands for this review
+
+- When you start a spec review, run `pullboard prompt review` for its role-specific checklist.
+- When you need a compact table of rows, run `pullboard spec view`; inspect one row with `pullboard spec show <id>` and find rows still needing work with `pullboard spec unmet`.
diff --git a/skills/pullboard-verify/SKILL.md b/skills/pullboard-verify/SKILL.md
index 2430c809..19b6a4a2 100644
--- a/skills/pullboard-verify/SKILL.md
+++ b/skills/pullboard-verify/SKILL.md
@@ -24,3 +24,7 @@ Work only in your own worktree, the one `pullboard worktree review` made. Your s
- `pullboard verify <id> accept --note "<what you broke or which edge you tried, and what happened>"`, only when the criterion is met as written. The note is required: passing tests alone are not proof.
- `pullboard verify <id> reject --reason <CODE> --note "<what failed, and the proof that would settle it>"`. The codes are TEST_FAILURE, BEHAVIOR_MISMATCH, INSUFFICIENT_EVIDENCE, STALE_HEAD and OTHER.
5. If the check could not run for reasons that are not the work's fault, such as a broken environment or a flaky run under load, do not reject. Shout the coordinator what happened.
+
+## Pullboard commands for this review
+
+- When you need the role-specific verification checklist before checking a submission, run `pullboard prompt verify`.
diff --git a/test/readme.test.js b/test/readme.test.js
index 471fbe4a..c1c80ce7 100644
--- a/test/readme.test.js
+++ b/test/readme.test.js
@@ -8,7 +8,9 @@ import { readdirSync, readFileSync } from 'node:fs';
import { join, resolve } from 'node:path';
import { test } from 'node:test';
import { FIGURES, drawLifecycle } from '../docs/img/draw.mjs';
+import { HELP, commandPhrases } from '../src/help.js';
import { MACHINE } from '../src/machine.js';
+import { agentsBlock } from '../src/templates.js';
const ROOT = resolve(import.meta.dirname, '..');
const README = readFileSync(join(ROOT, 'README.md'), 'utf8');
@@ -292,3 +294,32 @@ test("what's next lists only unbuilt work [I11]", () => {
assert.doesNotMatch(bullets.join('\n'), /\b(?:relay|roadmap)\b/iu, 'shipped relay and roadmap work do not remain in the upcoming bullets');
assert.equal(lines.at(-1), 'The full plan lives in the Roadmap tab in Pullboard View and `pullboard roadmap`.', 'the section ends by pointing to the full plan');
});
+
+test('every command in help is taught to agents [I11]', () => {
+ const skillFiles = readdirSync(join(ROOT, 'skills'), { withFileTypes: true })
+ .filter((entry) => entry.isDirectory())
+ .map((entry) => join(ROOT, 'skills', entry.name, 'SKILL.md'));
+ const instructionLines = `${skillFiles.map((file) => readFileSync(file, 'utf8')).join('\n')}\n${agentsBlock()}`.split(/\r?\n/u);
+ const phrases = new Set(commandPhrases({ all: HELP.all, commands: {} }));
+ for (const declaration of Object.values(HELP.commands)) {
+ for (const usage of declaration.usages) {
+ for (const phrase of commandPhrases({ all: ` ${usage}`, commands: {} })) phrases.add(phrase);
+ }
+ }
+ const personOnly = new Map([
+ ['spec approve', 'Only the person approves a SPEC row.'],
+ ['spec decline', 'Only the person declines a SPEC row.'],
+ ['relay recover', 'The command is explicitly reserved for person-only recovery.'],
+ ]);
+ assert.ok(personOnly.size <= 4, 'the person-only exception list stays short');
+ for (const [phrase, reason] of personOnly) {
+ assert.ok(phrases.has(phrase), `${phrase} is still a command in help`);
+ assert.ok(reason.trim(), `${phrase} has a reason agents must not run it`);
+ }
+ const untaught = [...phrases].filter((phrase) => {
+ const command = phrase.split(' ').map((word) => word.replace(/[.*+?^${}()|[\]\\]/gu, '\\$&')).join('\\s+');
+ const taught = instructionLines.some((line) => new RegExp(`(?:^|[^A-Za-z0-9_-])pullboard\\s+${command}(?=$|[^A-Za-z0-9_-])`, 'u').test(line));
+ return !taught && !personOnly.has(phrase);
+ });
+ assert.deepEqual(untaught, [], `teach each command where agents need it, or explain a person-only exception:\n${untaught.join('\n')}`);
+});