원클릭으로
assign
Assign agents and skills to a plan's tasks, producing docs/plans/<feature>-dispatch.md. Run after /plan.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Assign agents and skills to a plan's tasks, producing docs/plans/<feature>-dispatch.md. Run after /plan.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | assign |
| description | Assign agents and skills to a plan's tasks, producing docs/plans/<feature>-dispatch.md. Run after /plan. |
| version | 0.1.0 |
Assign agents and execution order for a planned feature in Batch Creative Studio.
Read project charter (mandatory first step)
Before touching any plan file, read the project charter and current state. Do this every run — never rely on memory from a prior session.
Charter files:
CLAUDE.md — architecture rules, approach, agent rosterdocs/agentic-system.md — agent domains, ownership, verification commandsLong-term state (read if the file exists):
docs/state/decisions.md, docs/state/open-questions.md, docs/state/glossary.mdIf CLAUDE.md is missing, stop and suggest running /setup-agents.
Find plan files
List files in docs/plans/ matching *-plan.md.
/plan first. Stop.Read the plan
Read the selected plan file. Extract the task table, dependencies, and domain assignments.
Read agent capabilities
Read docs/agentic-system.md for the full agent roster and their capabilities.
Available agents:
frontend) — domain: Client UI, uploader, batch grid, SSE client + reconnect, visual language
app/ (client UI, excluding app/api/), components/**, SSE client + reconnect, visual language / stylingapp/api/**, lib/providers/**pnpm exec biome check ., pnpm exec tsc --noEmitbackend) — domain: Route Handlers, orchestrator, retry engine, rate limiter, SSE server stream, blob signing, state store, failover engine
app/api/**, job orchestrator, retry engine, per-provider rate limiter, SSE server stream, blob upload signing, in-memory state store, failover enginecomponents/**, lib/providers/**pnpm exec biome check ., pnpm exec tsc --noEmit, pnpm exec vitest runproviders) — domain: lib/providers/** — ImageProvider interface + adapters, provider config, reference normalization
lib/providers/**, Gemini/Cloudflare/Replicate adapters, provider/model/quota config, reference-image normalizationapp/api/**, components/**pnpm exec biome check ., pnpm exec tsc --noEmit, pnpm exec vitest runtesting) — domain: Tests + fake provider for deterministic reliability tests
**/*.test.ts, test fixtures, fake/mock ImageProviderproduction source codepnpm exec vitest run, pnpm exec vitest run --coverage, pnpm exec biome check .docs) — domain: Documentation coverage
docs/components/, docs/coverage.mdsource code, docs/plans/git diff --stat docs/components/security-backend) — domain: Review-only server security (SSRF, input validation, rate limiting, secrets, file-upload safety, logging)
docs/security/**, SECURITY.mdapp/api/** and all production sourcenpx semgrep --config p/owasp-top-ten .Read dispatch directives
Read agents/dispatch.md (i.e. .claude/agents/dispatch.md) and follow its directives for assignment logic and conflict resolution.
Research on uncertainty (mandatory gate)
Before assigning agents, verify that every non-obvious assignment is grounded in evidence — not guesswork. Trigger research if any of these is true:
security-backend agent existsbackend vs the adapters in providers)docs/components/Research procedure:
resolve-library-id → query-docs with a specific question derived from the task (e.g. "Next.js Route Handler ReadableStream SSE", "Vercel Blob signed client upload", "Gemini 2.5 Flash Image edit request shape")docs/components/, docs/coverage.md, and the files listed in the task's acceptance criteria.claude/agents/ to confirm owns/forbidden fit the taskRecord each non-trivial finding in the dispatch's ## Notes section so the decision is auditable. If an uncertainty cannot be resolved, flag the task for the developer in step 8 instead of assigning blindly.
Assign agents and skills
For each task in the plan:
owns list must cover the task's domain.Available skills for assignment:
/check — Run the full quality pipeline: lint, typecheck, tests/changelog — Generate a session changelog from git diff/phase — Execute the current phase from the development plan/deploy-check — Pre-deployment audit: quality, secrets, deps, build/plan — Plan a feature: decompose into tasks with domain assignments/assign — Assign agents and skills to a plan's tasks/execute — Execute an approved dispatch task by task/docs — Maintain documentation coverage/setup-approach — Change the development approach in CLAUDE.md/observability — Configure OpenTelemetry export to a tracing backendGroup tasks by dependency level
Organize tasks into execution groups:
Present for review
Show the full assignment table to the developer:
Group 1 (independent)
| Task | Agent | Pre-skills | Post-skills | Status |
|------|-------|------------|-------------|--------|
Group 2 (after Group 1)
| Task | Agent | Pre-skills | Post-skills | Status |
|------|-------|------------|-------------|--------|
All tasks start with Status: Pending.
GATE: Wait for approval
Ask the developer to review the assignments. They may:
Do not proceed until the developer explicitly approves. This is a hard gate.
Flip plan status to Approved
Before writing the dispatch, update the plan file: replace **Status:** Draft with **Status:** Approved in docs/plans/<slug>-plan.md. Save the file.
If the plan file does not contain a **Status:** line (older plans), insert **Status:** Approved directly under the # Plan: heading.
This flip is the single source of truth for approval. /execute cross-checks both the plan and the dispatch.
Save dispatch file
On approval, derive the slug from the plan filename (e.g., my-feature-plan.md becomes my-feature).
Write docs/plans/<slug>-dispatch.md using this format:
# Dispatch: <Feature Name>
**Plan:** `<slug>-plan.md`
**Date:** <YYYY-MM-DD>
**Status:** Approved
## Execution Order
### Group 1 (independent)
| Task | Agent | Pre-skills | Post-skills | Status |
|------|-------|------------|-------------|--------|
| ... | ... | ... | ... | Pending |
### Group 2 (after Group 1)
| Task | Agent | Pre-skills | Post-skills | Status |
|------|-------|------------|-------------|--------|
| ... | ... | ... | ... | Pending |
## Notes
- <reasoning for non-obvious agent assignments>
- <any flagged ambiguities and how they were resolved>
Confirm
Print the path to the saved dispatch file and suggest running /execute next.
**Status:** Draft to **Status:** Approved in step 10. Task tables, risks, and goal are never edited from here.Pending. No other initial status is valid.owns list.forbidden list.## Notes.Generate a session changelog from git diff. Triggers on 'changelog', 'what changed', 'session summary', 'diff summary'.
Run the full quality pipeline: lint, typecheck, and tests. Triggers on 'check', 'run checks', 'quality check', 'ci check'.
Pre-deployment audit: verify code quality, secrets, dependencies, and build. Triggers on 'deploy check', 'pre-deploy', 'deployment audit', 'ready to deploy'.
Maintain project documentation coverage: audit all components, update specific docs, or check coverage status. Triggers on 'docs audit', 'update docs', 'docs status', 'documentation coverage'.
Execute an approved dispatch plan task by task, producing docs/plans/<feature>-report.md. Run after /assign.
Configure OpenTelemetry export from Claude Code to a tracing backend (LangSmith, Langfuse, or Jaeger). Triggers on 'enable tracing', 'setup observability', 'configure otel', 'send traces'.