Auto task.execute remotely with single pr

From gpsaggese/helpers · View interactive version

Auto task.execute remotely with single pr is an AI agent skill from the GitHub repository gpsaggese/helpers. Execute a sequence of tasks by dispatching them to Claude on GitHub

How to use this skill

Skill file

Goal

on GitHub (the claude-code-action GitHub Action), not by implementing it in this

session

independent and asynchronous, with no local checkout doing the work

different parts, but must never open a second PR for the same task

and named

Inputs

https://github.com/gpsaggese/gpsaggese.github.io/issues/580)

When to Use This Skill

interactivity, local Docker container, or hands-on debugging

tasks or a tight local feedback loop

dependency chain that must be branched from each other

Executing an Unclear Plan" when the spec is unclear or incomplete: a remote run

must not build on a guess

Conventions

coding/testing conventions. They apply to the code Claude on GitHub writes

or body, or in an issue or PR comment, per

helpers_root/.github/workflows/claude.yml

Constraints

on the run and PR

and merging is the user's decision

issue/branch/PR for a dispatched task

Workflow

Create Issue, if Needed

Confirm the Task List

```text

# Title

<TITLE>

# Goal

<High level goal>

# Workflow

### [ ] <Goal of first task>

### [ ] <Goal of second task>

```

Executing" for the format and the problem/solution check

dispatched with the remote run unfinished, [x] means the PR is ready for human

review

Create the Issue, Branch, and Draft PR

.claude/skills/auto_task.rules.md

```bash

> git_create_issue_and_branch.py \

--gh_issue_title "<TITLE>" \

--gh_issue_body_file <FILE>

```

the task also touches a submodule, per .claude/skills/auto_task.rules.md

the issue's ## Companion PRs section. No separate --update_pr_links step is

needed, since the PR is created now

```bash

> git checkout master

```

Trigger Claude on GitHub

helpers_root/.github/workflows/claude.yml picks it up

```bash

> gh pr comment <PR_NUM> --body "Assigned to @claude"

```

Monitor Each Remote Run

```bash

> gh run list --workflow=claude.yml --branch <BRANCH> --limit 1

```

```bash

> gh run watch <RUN_ID>

```

comment or the user's input, and report which

Verify Each Resulting PR

```bash

> gh pr view <PR_NUM> --json commits,additions,deletions

```

extra PR and keep the original: one PR per task, no exceptions

.claude/skills/github.get_pr_to_pass_ci_tests/SKILL.md

Report the Queue

task in <FILE>, so the batch can be reviewed at once

Verification

[x])

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.