AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

To Pr

skill-rediche-skills-to-pr · by rediche

Implements agreed subtasks into a new branch, commits each subtask, pushes when complete, and opens a GitHub PR. Use when subtasks from to-subtasks should be implemented end-to-end as a pull request, or when the user mentions to-pr, PR automation, branch-to-PR workflow, or implementing all subtasks into a GitHub pull request.

No reviews yet
0 installs
33 views
0.0% view→install

Install

$ agentstack add skill-rediche-skills-to-pr

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-rediche-skills-to-pr)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of To Pr? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

To PR

Quick start

When the user asks to turn agreed subtasks into a PR:

  1. Use the existing subtasks from to-subtasks.
  2. Route through do-subtasks behavior automatically if it has not already run.
  3. Create a new branch from the current branch, unless the user specifies another base.
  4. Implement each subtask, test it, and commit it separately.
  5. Push only after all subtasks are complete and tests pass.
  6. Create the PR with gh and return the PR URL.

Workflow

1) Preconditions

  • If no agreed subtasks exist, stop and instruct the user to run to-subtasks first.
  • If the working tree is dirty, stop and list the dirty files.
  • If the user explicitly says to continue despite a dirty tree, ignore unrelated dirty files and proceed without modifying or reverting them.
  • Determine the base branch: use the current branch by default, or the user-specified base branch if provided.

2) Do-subtasks routing

  • If do-subtasks has not already run for these subtasks, automatically enter its subtask execution model without asking the user.
  • After that routing step, ignore the do-subtasks requirement to stop after one task.
  • Continue through all agreed subtasks, but keep each commit limited to the current subtask.

3) Branch setup

  • Create a new branch from the base branch before implementation.
  • Infer the branch prefix from the goal and work type, using conventional prefixes such as feat/, fix/, chore/, ci/, docs/, refactor/, or test/.
  • Infer a short kebab-case branch name from the project goal.
  • Do not push the branch until all subtasks are complete and tests pass.

4) Implementation loop

For each agreed subtask, in order:

  1. Implement only the current subtask.
  2. Run the relevant tests or checks for that subtask.
  3. Treat the subtask as incomplete until tests pass.
  4. Commit only the changes for that subtask.
  5. Use a conventional commit message with no scope and no body: : .

5) Push and PR

  • After all subtasks are committed and the full relevant test suite passes, push the branch.
  • Create the PR with the GitHub CLI using gh.
  • Target the same branch used as the base branch.
  • Use a human-readable PR title based on the project goal, such as Add comments to blog posts.
  • Do not use conventional commit style for the PR title.
  • If the PR resolves an open GitHub issue, include a closing keyword in the PR body (for example, Closes #123) so the issue closes automatically when the PR is merged.

PR description

Include these sections in the PR body:

  • Goal: what the PR is meant to achieve.
  • Implemented: concise summary of completed subtasks.
  • Manual QA: practical step-by-step checks written in the style of qa.

Output rules

  • Return the GitHub PR URL when finished.
  • Include a concise recap of implemented subtasks.
  • If blocked, explain the blocker and the exact next action needed.

Guardrails

  • Stick exactly to the agreed subtasks.
  • Do not add opportunistic refactors or unrelated fixes.
  • Do not modify, revert, or stage unrelated dirty files.
  • Do not push partial work.
  • Do not create a PR until all subtasks are complete and tests pass.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.