원클릭으로
speckit-agent-assign-execute
Execute tasks by spawning the assigned agent for each task
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute tasks by spawning the assigned agent for each task
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Think before building. Use when the user asks to reason about, analyze, evaluate, compare options, make an architecture decision, choose between approaches, think through a problem, or assess trade-offs. Also use when the user asks 'why did we...', 'should we...', 'what are our options', 'is this the right approach', or wants to frame/reframe a problem.
Archive a feature specification into main project memory after merge, resolving gaps and conflicts
Generate spec-kit configuration tailored to the existing codebase
Incrementally adopt SDD for existing features with reverse-engineered specs
Auto-discover project structure, tech stack, frameworks, and architecture patterns
Verify bootstrap output matches actual project structure and conventions
| name | speckit-agent-assign-execute |
| description | Execute tasks by spawning the assigned agent for each task |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"agent-assign:commands/execute.md"} |
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Check for extension hooks (before execution):
.specify/extensions.yml exists in the project root.hooks.before_implement keyenabled is explicitly false. Treat hooks without an enabled field as enabled by default.condition expressions:
condition field, or it is null/empty, treat the hook as executablecondition, skip the hook and leave condition evaluation to the HookExecutor implementationoptional flag:
optional: true):
## Extension Hooks
**Optional Pre-Hook**: {extension}
Command: `/{command}`
Description: {description}
Prompt: {prompt}
To execute: `/{command}`
optional: false):
## Extension Hooks
**Automatic Pre-Hook**: {extension}
Executing: `/{command}`
EXECUTE_COMMAND: {command}
Wait for the result of the hook command before proceeding to the Outline.
.specify/extensions.yml does not exist, skip silentlySetup: Run .specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").
Check Assignment File Exists: Verify agent-assignments.yml exists in FEATURE_DIR.
/speckit.agent-assign.assign first, then /speckit.agent-assign.validate to verify."Load Implementation Context:
tasks.md for the complete task list and execution planagent-assignments.yml for agent-to-task mappingplan.md for tech stack, architecture, and file structurespec.md for feature requirements and user storiesdata-model.md for entities and relationshipsresearch.md for technical decisions and constraintsquickstart.md for integration scenariosProject Setup Verification (same as /speckit.implement):
Detection & Creation Logic:
Check if the following command succeeds to determine if the repository is a git repo (create/verify .gitignore if so):
git rev-parse --git-dir 2>/dev/null
Check if Dockerfile* exists or Docker in plan.md → create/verify .dockerignore
Check if .eslintrc* exists → create/verify .eslintignore
Check if eslint.config.* exists → ensure the config's ignores entries cover required patterns
Check if .prettierrc* exists → create/verify .prettierignore
Check if .npmrc or package.json exists → create/verify .npmignore (if publishing)
If ignore file already exists: Verify it contains essential patterns, append missing critical patterns only If ignore file missing: Create with full pattern set for detected technology
Parse Execution Plan: Parse tasks.md structure and extract:
agent-assignments.yml to get assigned agent nameExecute Tasks Phase by Phase: For each phase in tasks.md, process tasks in order:
For each task:
agent-assignments.ymlMode A — Default (no specialized agent):
If the task is assigned to default, execute the task directly in the current context, following the same implementation rules as /speckit.implement:
Mode B — Specialized Agent:
If the task is assigned to a named agent (not default), launch the assigned agent to handle the task:
Dependency and ordering rules:
Progress Tracking:
[X] in tasks.md✓ T001 (default) — Created project structure
✓ T002 (backend-dev) — Implemented User model
✗ T003 (frontend-dev) — FAILED: Component creation error
## Phase 1: Setup — Complete (3/3 tasks)
## Phase 2: Foundational — Complete (5/5 tasks)
## Phase 3: User Story 1 — In Progress (2/4 tasks)
Error Handling:
default mode and warn the userCompletion Validation:
## Execution Summary
| Phase | Total | Completed | Failed | Skipped |
|---------|-------|-----------|--------|---------|
| Setup | 3 | 3 | 0 | 0 |
| Found. | 5 | 5 | 0 | 0 |
| US1 | 4 | 4 | 0 | 0 |
| US2 | 3 | 3 | 0 | 0 |
| Polish | 2 | 2 | 0 | 0 |
| **Total** | **17** | **17** | **0** | **0** |
Agents used: backend-dev (6 tasks), frontend-dev (4 tasks), test-writer (3 tasks), default (4 tasks)
Check for extension hooks: After completion validation, check if .specify/extensions.yml exists in the project root.
hooks.after_implement keyenabled is explicitly false. Treat hooks without an enabled field as enabled by default.condition expressions:
condition field, or it is null/empty, treat the hook as executablecondition, skip the hook and leave condition evaluation to the HookExecutor implementationoptional flag:
optional: true):
## Extension Hooks
**Optional Hook**: {extension}
Command: `/{command}`
Description: {description}
Prompt: {prompt}
To execute: `/{command}`
optional: false):
## Extension Hooks
**Automatic Hook**: {extension}
Executing: `/{command}`
EXECUTE_COMMAND: {command}
.specify/extensions.yml does not exist, skip silentlyNote: This command requires both tasks.md and agent-assignments.yml to exist. If tasks.md is missing, suggest running /speckit.tasks first. If agent-assignments.yml is missing, suggest running /speckit.agent-assign.assign first.