Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Auto Task.Execute Interactively

БесплатноБез исполняемых скриптовНе проверен

Execute tasks with review, as stacked PRs or as commits in one PR

gpsaggeseот gpsaggese★ 158 звёзд на GitHub

Об этом скилле

Goal

  • Execute an ordered list of well-specified, sequential tasks <FILE> by alternating agent execution, human review, and commit
  • Create the GH issue and the first branch for <FILE> before the loop: one GH issue covers the whole list (see .claude/skills/auto_task.rules.md)
  • Follow .claude/skills/auto_task.rules.md for how tasks are queued, specified, and named

Input

  • <FILE>: file with the ordered task list (e.g., 05-tasks.md)
  • --commits: execute the tasks as commits in one branch and one PR, instead of one PR per task
  • --only_plan: write the execution plan to a file, without executing it

Execution Modes

  • Stacked PRs (default): each task has its own branch <BASE>_<ID> (ID = 1, 2, 3, ...) and its own PR, stacked on the previous one
  • Commits (--commits): all the tasks share one branch <BASE> and one PR, with one commit per task
    • A ## PR<NUM>: <Title> section of <FILE> is then one commit, not one PR
  • Use the commits mode only when the user passes --commits or asks for it
  • Both modes stop after each task for the user to review

When to Use This Skill

  • Follow .claude/skills/auto_task.rules.md section "Ask for Clarification Before Executing an Unclear Plan" when a task's spec is unclear or incomplete

Conventions

  • Follow .claude/skills/auto_task.rules.md for queue, spec, naming, and coding/testing conventions

Constraints

  • Create the GH issue, the branches, and the (draft) PRs for <FILE>: this is this skill's job, not the user's
  • Do not commit any code change for a task: committing is the user's decision
  • Do not merge any PR: merging is the user's decision

Workflow

Create Only the Plan (--only_plan)

  • With --only_plan, follow .claude/skills/auto_task.rules.md section "Create Only a Plan with --only_plan"
  • Write the plan to auto_task.execute_interactively.<INPUT_REF>.md, then stop: skip all the following sections of this workflow
    • The branches and PRs in the plan follow the mode, with or without --commits

Confirm the Task List

  • Read <FILE> and follow .claude/skills/auto_task.rules.md section "Confirm the Task List Before Executing" for the format and the problem/solution check
  • Make sure each task is clear. Add a plan of 5 markdown bullets to each task, in a ### PR<NUM>: Execution Plan section
  • If the order or a dependency is unclear, follow the "Ask for Clarification Before Executing an Unclear Plan" section of .claude/skills/auto_task.rules.md before starting

Create the Issue and the First Branch

  • Follow .claude/skills/auto_task.rules.md section "One GitHub Issue Is the Unit of Work": one GH issue covers the whole task list in <FILE>
  • Create the issue and branch (<RepoPrefix>Task<IssueNum>_<Description>) in one shot with git_create_issue_and_branch.py. Unlike invoke gh_issue_create and invoke git_branch_create, it also branches submodules (e.g., helpers_root)
    • Stacked PRs mode: pass --suffix 1 to create the branch <BASE>_1

      > git_create_issue_and_branch.py \
          --gh_issue_title "<TITLE>" --gh_issue_body "<Description of the task list>" \
          --suffix 1 --no_create_pr
      
    • Commits mode: create the branch <BASE>

      > git_create_issue_and_branch.py \
          --gh_issue_title "<TITLE>" --gh_issue_body "<Description of the task list>" \
          --no_create_pr
      
    • Pass --gh_issue_id <NUM> instead of --gh_issue_title to reuse an issue

    • --no_create_pr: a PR needs a commit ahead of master. Open it after the first task's commit (see "Wait for User to Confirm")

  • In stacked PRs mode, if the task list changes a submodule, follow .claude/skills/auto_task.execute_with_stacked_prs/SKILL.md sections "Pick the Repo That Stacks" and "Conventions" to choose which repo stacks
  • git add (do not commit) <FILE> on the new branch, so its plan is tracked from the start, per @.claude/task_instructions.md

Loop Over the Tasks

Execute Each Task

  • Execute each task following @.claude/task_instructions.md
  • Keep <FILE> updated per .claude/skills/auto_task.rules.md section "Track Task Status"

Verify Each Task

  • If the N-th task writes code, test it locally and in CI following:
    • .claude/skills/github_pr.pass_ci_tests/SKILL.md
    • .claude/skills/github_pr.pass_local_tests/SKILL.md

Wait for User to Confirm

  • After each task, wait for the user to confirm, validate, and review, then commit

    • Make at least one commit per task. Do not fold two tasks into one commit
    • Include the status update of <FILE> in the commit of the task
  • Push the commit, then follow the section of the current mode below

  • If a task spans several repos (see .claude/skills/auto_task.rules.md "Multi-Repo Issues, Branches, and PRs"), open a draft PR in each affected repo, then refresh the issue's companion PR links:

    > git_create_issue_and_branc
    
Полный SKILL.md на GitHub

Установить Auto Task.Execute Interactively в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Auto Task.Execute Interactively?

Execute tasks with review, as stacked PRs or as commits in one PR

Как установить скилл Auto Task.Execute Interactively?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Auto Task.Execute Interactively запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Auto Task.Execute Interactively с