ワンクリックで
code-with-task
Implements a task from spec/tasks in a git worktree following TDD. Use when working on a specific task by keyword.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Implements a task from spec/tasks in a git worktree following TDD. Use when working on a specific task by keyword.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Analyzes ROADMAP and implements tasks in parallel using worktrees and subagents. Use when starting implementation work.
Reviews a PR from the main repository without a worktree. Use for lightweight PR review.
Cleans up completed phases in ROADMAP, moving relevant info to specs or docs.
Implements a task locally (without worktree) following TDD with IPC status reporting. Use when working on a task in an existing branch.
Creates a new task file from template. Use when adding a new task to the project.
Merges an approved PR and performs post-merge cleanup. Use after PR is approved.
| name | code-with-task |
| description | Implements a task from spec/tasks in a git worktree following TDD. Use when working on a specific task by keyword. |
CLAUDE.md, spec/_index.mdを起点として必要事項を確認後、spec/tasks内の [prefix]-*$ARGUMENTS*.md に一致するタスクファイルの実装に取り組みます(ファイルは該当のブランチ内, worktree内にしか無いことがあります)。
まず以下を確認:
作業はgit worktree内で行います:
PARENT_DIR="$(cd "$(git rev-parse --show-toplevel)/.." && pwd)"
PROJECT_NAME="$(basename "$(git rev-parse --show-toplevel)")"
git worktree add "${PARENT_DIR}/${PROJECT_NAME}--worktrees/<branch-name>" -b <branch-name>
cd "${PARENT_DIR}/${PROJECT_NAME}--worktrees/<branch-name>"
npm install
パス規則: worktreeは必ずリポジトリの親ディレクトリ直下の vscode-markdown-academic-preview--worktrees/ 内に作成
worktreeルートの .worker-status.json にステータスを書き込む:
WORKTREE_ROOT="$(git rev-parse --show-toplevel)"
cat > "$WORKTREE_ROOT/.worker-status.json" <<IPCEOF
{
"branch": "$(git branch --show-current)",
"task_file": "<task file path>",
"status": "<status>",
"current_step": "<step description>",
"pr_number": null,
"error": null,
"updated_at": "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
}
IPCEOF
ステータス値: starting → in_progress → testing → creating_pr → completed / failed
npm test
npm run build
全テスト通過後:
gh pr create --title "feat: ..." --body "..."
並列作業時のconflict回避のため: