一键导入
code-with-task-local
Implements a task locally (without worktree) following TDD with IPC status reporting. Use when working on a task in an existing branch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implements a task locally (without worktree) following TDD with IPC status reporting. Use when working on a task in an existing branch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Implements a task from spec/tasks in a git worktree following TDD. Use when working on a specific task by keyword.
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.
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-local |
| description | Implements a task locally (without worktree) following TDD with IPC status reporting. Use when working on a task in an existing branch. |
spec/_index.mdを起点として必要事項を確認後、spec/tasks/内のタスク [prefix]-*$ARGUMENTS*.md に取り組みます。
作業は $ARGUMENTS に結びつけられたブランチ(無ければ妥当な名前を考えて作成)で行います。
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
書き込みタイミング:
startingin_progress + current_step 更新testingcreating_prcompleted + pr_number 設定failed + error 設定ステップ一つが完了する毎にタスクファイルを更新し、commit。次の作業に移る前に残りのcontextを確認し、次の作業の完了までにcompactが必要になってしまいそうならその時点で作業を中断して下さい。
npm test
npm run build
並列作業時のconflictを避けるため: