agent/claude/code/commands/sweep.md
Snider 03b77bd9db fix(plugin): drop core: prefix — commands use code: namespace from dir
Plugin commands derive namespace from directory (claude/code/) not
the name field. Commands now: /code:dispatch, /code:status, /code:recall,
/code:review, /code:sweep, /code:scan.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 16:51:40 +00:00

24 lines
906 B
Markdown

---
name: sweep
description: Dispatch a batch audit across all Go repos in the ecosystem
arguments:
- name: template
description: Audit template (conventions, security)
default: conventions
- name: agent
description: Agent type for the sweep
default: gemini
- name: repos
description: Comma-separated repos to include (default: all Go repos)
---
Run a batch conventions or security audit across the Go ecosystem.
1. If repos not specified, find all Go repos in ~/Code/core/ that have a go.mod
2. For each repo, call `mcp__core__agentic_dispatch` with:
- repo: {repo name}
- task: "{template} audit - UK English, error handling, interface checks, import aliasing"
- agent: $ARGUMENTS.agent
- template: $ARGUMENTS.template
3. Report how many were dispatched vs queued
4. Tell the user they can check progress with `/core:status` and review results with `/core:review`