Command Reference - nguyenhx2/agent-harness-bootstrap GitHub Wiki

Command reference

Slash commands installed into .claude/commands/. Each is a markdown file: read it, change it, or delete it.

Command Installed What it does
/agent-permissions always Grant or revoke a single tool on a single roster seat, with the invariants that keep the roster safe enforced - reviewers stay read-only, only the orchestrator…
/board-audit always Find orphaned, stale, and loop-suspect work - Active tasks nobody is driving, finished subagent runs nobody logged, worktrees and branches the board does not k…
/brainstorm needs long Run a structured brainstorming session on a decision or a feature idea.
/code-graph needs purpose_code Build or refresh the module-boundary map - which modules may import which - and check the code against it.
/db-migration needs db Generate a database migration from schema changes, following the ERD and the data dictionary.
/deploy needs purpose_code Deploy to the hosting target.
/docs-graph always Check DOCS traceability - which documents define which IDs, who references them, and which IDs are orphaned.
/harness-toggle always Turn individual rules, commands, hooks, or agent seats off or back on at runtime - reversibly, with the change recorded and the harness graph refreshed.
/harness-tune always Tune the harness from evidence - reads the run archive, blocks and denials, retry and attempt-cap hits, verify-plan logs and the harness-view assessment, propo…
/harness-update always Re-run the harness bootstrap on this repo to pick up new assets, add or retire agents, or re-derive scopes after the codebase changed - reconciling, never clob…
/implement-fr needs purpose_code Plan and implement a functional requirement end-to-end against its acceptance criteria.
/new-adr always Create an Architecture Decision Record from the template.
/new-skill always Decide whether a recurring workflow earns a project skill, and if it does, scaffold it from the template, write its trigger cases, lint it, and wire it to the…
/new-spec-section needs purpose_code Scaffold a specification section following the project's standard BA structure.
/new-task always Create a task file from the template and register it on the master plan, after the user confirms it should exist.
/review-changes always Run the review gate on the current diff before opening a pull request - only the reviews and test layers this diff needs.
/scaffold-feature needs purpose_code Create the skeleton of a feature module (entry point, library module, component).
/secret-scan always Scan the current changes for secrets and sensitive data before a commit or pull request.
/seed-db needs db and db_seeder Seed the local or development database with deterministic synthetic data per the ERD.
/skill-wire always Wire an installed or newly created skill to a roster seat after re-vetting its content - scope match, mandatory content review, invariant refusals, a skills pr…
/sync-context always Update docs/context (glossary, business rules, known issues, tool changelog) from recent changes.
/task-resume always Resume a task from its checkpoint after a compaction or in a new session.
/test needs tests Run lint and the test layers this change needs, and report each failure with its owning agent.

Turning things off

/harness-toggle moves a rule, command or hook into .claude/disabled/ and records the change in the committed .claude/disabled.json, including the hook's settings.json registration verbatim so enabling restores it byte-exactly. A re-run of the scaffolder respects it, so a toggled-off control is never silently resurrected.

Safety-critical controls need a typed confirmation phrase rather than a yes. Agents cannot toggle anything at all.