mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-07 08:35:54 +00:00
Add a GitHub issue counterpart to the PR mode of /code-review. The canonical workflow lives in skills/issue-review and walks nine phases: fetch the issue with gh, build project context, classify type and completeness, verify the claim against the code at HEAD, search for duplicates and prior fixes, assess severity and decision, write a review artifact with a draft reply, publish only on explicit flags, and print a one-screen summary. Issue text is treated as untrusted data: embedded instructions are never followed, pasted code is never run, and arbitrary links are not fetched. Writing to GitHub is opt-in via --comment or --label and the workflow never closes, reopens, or assigns issues. commands/issue-review.md is the thin slash-command shim. The new structural test guards the frontmatter, required sections, phase order, safety invariants, and registration on every surface. Register the skill and command in package.json, agent.yaml, the operator-workflows install module, the quick reference, the command-agent map, and the README; regenerate the command registry and sync catalog counts to 312 skills and 98 commands. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: Tomoya.Fujita <fujita.tomoya@triorb.co.jp>
5.5 KiB
5.5 KiB
Command → Agent / Skill Map
This document lists each slash command and the primary agent(s) or skills it invokes, plus notable direct-invoke agents. Use it to discover which commands use which agents and to keep refactoring consistent.
| Command | Primary agent(s) | Notes |
|---|---|---|
/plan |
planner | Implementation planning before code |
/plan-canvas |
— (skill: plan-canvas) | Browser review canvas for plan artifacts: annotate, chat, approve/request changes |
/tdd |
tdd-guide | Test-driven development |
/code-review |
code-reviewer | Quality and security review |
/issue-review |
— (skill: issue-review) | GitHub issue review: verify against the codebase, duplicates, prior fixes, severity, draft reply |
/build-fix |
build-error-resolver | Fix build/type errors |
/e2e |
e2e-runner | Playwright E2E tests |
/refactor-clean |
refactor-cleaner | Dead code removal |
/update-docs |
doc-updater | Documentation sync |
/update-codemaps |
doc-updater | Codemaps / architecture docs |
/go-review |
go-reviewer | Go code review |
/go-test |
tdd-guide | Go TDD workflow |
/go-build |
go-build-resolver | Fix Go build errors |
/python-review |
python-reviewer | Python code review |
/harness-audit |
— | Harness scorecard (no single agent) |
/loop-start |
loop-operator | Start autonomous loop |
/loop-status |
loop-operator | Inspect loop status |
/quality-gate |
— | Quality pipeline (hook-like) |
/model-route |
— | Model recommendation (no agent) |
/orchestrate |
planner, tdd-guide, code-reviewer, security-reviewer, architect | Multi-agent handoff |
/multi-plan |
architect (Codex/Gemini prompts) | Multi-model planning |
/multi-execute |
architect / frontend prompts | Multi-model execution |
/multi-backend |
architect | Backend multi-service |
/multi-frontend |
architect | Frontend multi-service |
/multi-workflow |
architect | General multi-service |
/learn |
— | continuous-learning skill, instincts |
/learn-eval |
— | continuous-learning-v2, evaluate then save |
/instinct-status |
— | continuous-learning-v2 |
/instinct-import |
— | continuous-learning-v2 |
/instinct-export |
— | continuous-learning-v2 |
/evolve |
— | continuous-learning-v2, cluster instincts |
/promote |
— | continuous-learning-v2 |
/projects |
— | continuous-learning-v2 |
/skill-create |
— | skill-create-output script, git history |
/skill-host-compat |
— | validate-skill-host-compat.js, Codex/Cursor skill lint |
/checkpoint |
— | verification-loop skill |
/verify |
— | verification-loop skill |
/eval |
— | eval-harness skill |
/test-coverage |
— | Coverage analysis |
/sessions |
— | Session history |
/setup-pm |
— | Package manager setup script |
/claw |
— | NanoClaw CLI (scripts/claw.js) |
/pm2 |
— | PM2 service lifecycle |
/security-scan |
security-reviewer (skill) | AgentShield via security-scan skill |
Non-Slash CLI Surfaces
| CLI surface | Primary skill/runtime | Notes |
|---|---|---|
ecc memory init |
unified-memory / scripts/memory.js |
Initialize project, team, or user Markdown vault scopes |
ecc memory save |
unified-memory / scripts/memory.js |
Create unreviewed memory; body must come from stdin or a regular file |
ecc memory handoff |
unified-memory / scripts/memory.js |
Create a targeted, cross-harness handoff |
ecc memory search |
unified-memory / scripts/memory.js |
Bounded lexical search over selected vault scopes |
ecc memory read |
unified-memory / scripts/memory.js |
Read one memory plus derived backlinks |
ecc memory doctor |
unified-memory / scripts/memory.js |
Audit malformed files, duplicate IDs, broken links, and symlinks |
ecc-memory-mcp |
unified-memory / scripts/memory-mcp.mjs |
Optional stdio MCP adapter; exposes save/search/read/doctor only |
Direct-Use Agents
| Direct agent | Purpose | Scope | Notes |
|---|---|---|---|
typescript-reviewer |
TypeScript/JavaScript code review | TypeScript/JavaScript projects | Invoke the agent directly when a review needs TS/JS-specific findings and there is no dedicated slash command yet. |
Skills referenced by commands
- continuous-learning, continuous-learning-v2:
/learn,/learn-eval,/instinct-*,/evolve,/promote,/projects - verification-loop:
/checkpoint,/verify - eval-harness:
/eval - security-scan:
/security-scan(runs AgentShield) - skill-host-compat:
/skill-host-compat - issue-review:
/issue-review - strategic-compact: suggested at compaction points (hooks)
- unified-memory:
ecc memory ...and the opt-inecc-memory-mcpserver
Direct-Use Skills
| Skill | Purpose | Entry point |
|---|---|---|
| osint-investigation | Public-source investigation methodology: competing hypotheses, falsification, visual verification, and evidence tracking | Invoke the self-contained skill directly using available host capabilities. |
How to use this map
- Discoverability: Find which command triggers which agent (e.g. “use
/code-reviewfor code-reviewer”). - Refactoring: When renaming or removing an agent, search this doc and the command files for references.
- CI/docs: The catalog script (
node scripts/ci/catalog.js) outputs agent/command/skill counts; this map complements it with command–agent relationships.