ワンクリックで
execute
Execute an implementation plan step by step. Use after planning is complete.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Execute an implementation plan step by step. Use after planning is complete.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | execute |
| description | Execute an implementation plan step by step. Use after planning is complete. |
| disable-model-invocation | true |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
| argument-hint | ["path-to-plan"] |
Read plan file: $ARGUMENTS
If no argument provided, list available plans:
!ls -la .agents/plans/ 2>/dev/null || echo "No plans found"
BEFORE any code changes, create a feature branch from latest main.
# Derive branch name from plan file
# Example: .agents/plans/2026-02-11-crash-safe-session-tracking.md
# → feature/crash-safe-session-tracking
PLAN_FILE="$ARGUMENTS"
BRANCH_NAME=$(basename "$PLAN_FILE" .md | sed 's/^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}-//')
BRANCH_NAME="feature/$BRANCH_NAME"
# Ensure we branch from latest main
git checkout main
git pull origin main
# Create and switch to feature branch
git checkout -b "$BRANCH_NAME"
Show confirmation:
┌──────────────────────────────────────────────────────────────────────┐
│ FEATURE BRANCH CREATED │
│ ────────────────────── │
│ │
│ Branch: feature/crash-safe-session-tracking │
│ Base: main (up to date) │
│ Plan: .agents/plans/2026-02-11-crash-safe-session-tracking.md │
│ │
│ All commits will land on this branch. │
│ Use /pr when implementation is complete. │
│ │
└──────────────────────────────────────────────────────────────────────┘
Branch naming rules:
YYYY-MM-DD-)feature/ (or fix/ if plan is a bugfix)Safety checks:
Before starting implementation:
# Ensure clean working state
git status
# Ensure dependencies are installed
cd frontend && pnpm install
# Ensure dev server works
pnpm run dev
# (Stop with Ctrl+C after confirming it works)
For EACH task in "Step by Step Tasks":
For functions, utilities, schemas, API routes:
RED - Write Test First
# Create test file: lib/__tests__/[name].test.ts
# Write tests that define expected behavior
# Run: pnpm run test
# Tests MUST fail (function doesn't exist yet)
GREEN - Write Minimal Code
# Implement the function
# Run: pnpm run test
# Tests MUST pass
REFACTOR - Improve Code
# Improve code quality
# Run: pnpm run test
# Tests MUST still pass
Skip TDD for:
/visual-verify)pnpm run testUse Claude Code's Task system for visual progress tracking in the terminal.
| Scenario | Use Tasks? |
|---|---|
| 3+ tasks in plan | Yes |
| Complex multi-file changes | Yes |
| Quick single-file fix | No |
| User requests tracking | Yes |
Before starting implementation:
TaskCreate({
subject: "Task 1: Create types",
description: "Create TypeScript interfaces for the feature",
activeForm: "Creating types"
})
When starting a task:
TaskUpdate({ taskId: "1", status: "in_progress" })
When completing a task:
TaskUpdate({ taskId: "1", status: "completed" })
For sequential tasks where one must complete before another:
TaskUpdate({ taskId: "2", addBlockedBy: ["1"] })
Task 2 will automatically unblock when Task 1 completes.
After completing implementation tasks:
Execute ALL validation commands from the plan in order:
# Level 1: Syntax & Style
cd frontend && pnpm run lint
cd frontend && pnpm run type-check
# Level 2: Unit Tests
pnpm run test
# Level 3: Build
cd frontend && pnpm run build
If any command fails:
Run quality gate subagents on all changed files:
Gate Results:
- CRITICAL → STOP. Fix before proceeding.
- HIGH → STOP. Fix before proceeding.
- WARNING → List warnings. User decides.
- INFO → Document and continue.
See .claude/reference/quality-gates.md for full gate architecture.
Check that new code has tests:
pnpm run test - must be greenClassify the scope of changes to determine if Visual Verification is needed:
git diff --stat main..HEAD
| Level | Criteria | Visual Verification? |
|---|---|---|
| S | 1-2 files, config/docs only | No |
| M | 3-10 files, single component | No |
| L | 10+ files, new feature with UI | YES |
Any change that touches UI files (components/, app/) AND is L-level triggers Visual Verification.
Always runs proactively for M and L changes. No user confirmation needed.
Verify the basics work before anything else:
# 1. Is the dev server running? If not, start it.
pnpm run dev
# 2. Does the main page respond?
curl -s -o /dev/null -w "%{http_code}" http://localhost:[PORT]/
# 3. Are API endpoints reachable? (if API routes were changed)
curl -s -o /dev/null -w "%{http_code}" http://localhost:[PORT]/api/health
Show a brief status:
┌──────────────────────────────────────────────────────────────────┐
│ SMOKE TEST │
│ ────────── │
│ Dev server: Running on :3000 │
│ Main page: 200 OK │
│ API health: 200 OK │
└──────────────────────────────────────────────────────────────────┘
If anything returns an error: try refreshing/restarting. If still broken, fix the code.
Skip this step if change level is S or M, or if no UI files were changed.
ASK THE USER before starting browser verification:
This was a large feature (L-level, [X] files changed).
Shall I verify the UI in the browser with screenshots?
If user confirms, show status and proceed:
┌──────────────────────────────────────────────────────────────────┐
│ VISUAL VERIFICATION │
│ ──────────────────── │
│ │
│ Change Level: L (Large) — [X] files changed │
│ Affected Pages: [list of routes] │
│ │
│ I'm now verifying the implementation in the browser. │
│ Opening pages, taking screenshots, checking layout. │
│ If something doesn't work, I'll fix it before moving on. │
│ │
└──────────────────────────────────────────────────────────────────┘
Steps:
agent-browser open http://localhost:[PORT]/[path]
agent-browser snapshot -i
agent-browser screenshot ./screenshots/[page]-desktop.png
agent-browser viewport 375 812
agent-browser screenshot ./screenshots/[page]-mobile.png
If user declines, skip browser verification but note it in the output report.
See .claude/reference/quality-gates.md → "Visual Verification Gate" for full rules.
Follow the manual testing checklist from the plan:
cd frontend && pnpm run devBefore completing:
Provide summary:
# Output from each validation command
/commit commandAfter completing execution, update PROJECT-STATUS.md:
## Active Plan
**Plan:** `.agents/plans/[plan-name].md`
**Feature:** [Feature description]
**Phase:** Implementation Complete
**Progress:** [X/Y] tasks completed
### Completed Tasks
- [x] Task 1 - [Description]
- [x] Task 2 - [Description]
...
| [Today] | execute | Completed: [feature-name] |
Update status to indicate ready for validation and commit:
**Phase:** Implementation Complete
**Next Steps:**
1. Run `/validate` to verify all checks pass
2. Run `/commit` to create commit
Cross-project audit and sync. Backs up, bootstraps, promotes, syncs, and verifies all downstream projects.
Structured pre-planning research. Explores codebase, asks clarifying questions, and produces a brainstorm output file for /plan-feature input.
Capture knowledge from development sessions. Debug patterns, architecture decisions, framework gotchas, and integration learnings compound over time.
Load project context and show current status. Use at the start of a session or when context is needed.
Run parallel code reviews using specialized agents (security, performance, simplicity, nextjs-react). Produces a structured report.
Initialize a new project from Agent Kit boilerplate. Use when creating a new downstream project.