Skip to content
cccskills
FreePublished on GitHub

pr

Create, update, format, babysit, resolve conflicts and review findings on, and merge Apex pull requests and PR stacks. Use when the user asks to open or update a PR or merge request, align a stack, get CI green, address review or Bugbot findings, resolve merge conflicts, or merge.

The English summary is being prepared. Showing the original description.

pensarai/apex321 stars(GitHub 321 + cccskills 0)
Works withGitHub

Run score Not tested

See how to install

Files included (1)

  • SKILL.md3.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

PR

Apex pull-request workflow. Read this file, then read every applicable playbook under .agent-instructions/skills/pr/ before acting. Do not improvise past a playbook.

This is repository-development guidance for coding agents working on Apex. Keep it in the repo's .agents/skills tree only; do not copy or link it into .claude/skills, .skills, skills, ~/.agents/skills, or ~/.pensar/skills, because Apex scans those locations as runtime skills.

Invariants

  • Resolve OWNER/REPO, the target PR's current head/base SHAs, and stack topology from live Git and GitHub state. A body saying "stack" is not proof of dependent branches.
  • Ordinary Apex work branches from and targets canary. Do not target main, retarget a PR, or rewrite stack topology unless the user explicitly asks for that exact change.
  • GitHub reads and writes go through gh api (REST or GraphQL). Do not use gh pr create, gh pr comment, or gh pr merge.
  • Preserve bot-managed body regions (CURSOR_SUMMARY, codesmith:footer) byte-for-byte when editing human-authored sections.
  • Never merge, squash, close, enable auto-merge, force-push, or delete a branch unless the user explicitly authorizes that exact action. A request to resolve conflicts and push does not authorize merging.
  • Work from a clean, isolated checkout when the user's current checkout has unrelated changes. Never stash, reset, or overwrite user work to make a PR task convenient.
  • Judge CI, reviews, and mergeability on the latest PR head SHA. Pending work or green checks on an older SHA are not done.

Route

IntentPlaybook
Create or update a feature/fix/docs PRcreate-and-update.md
Create, inspect, format, or refresh a PR stackstacks.md
Stay until CI and mergeability settlebabysit.md
Review comments, Cursor Bugbot, or thread resolutioncomments-and-bugbot.md
Resolve conflicts or perform an authorized mergeconflicts-and-merge.md

After creating, updating, refreshing, or fixing a PR, babysit the new SHA. If it belongs to a stack, also apply stacks.md. If review findings exist, apply comments-and-bugbot.md before declaring the PR ready.

Babysit means staying until required checks have conclusions on the latest SHA, mergeability is known, and no unresolved actionable review work remains. Waiting for human approval after every technical gate is green is terminal; pending CI is not.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Write tasteful, load-bearing comments in Apex source. Use when writing or editing code, JSDoc, TODOs, or file headers, or when deciding whether a comment should exist.

The English summary is being prepared. Showing the original description.

pensarai/apex321Updated Oct 25, 2026

Create a new agent skill — global personal, project-personal, or project-team. Surveys existing skills, checks for overlap, handles the .claude/skills/ symlink and .gitignore whitelist for project skills. Use when you want to formalize a workflow or instruction set.

The English summary is being prepared. Showing the original description.

pensarai/apex321Updated Oct 25, 2026

See all skills by pensarai

Report a problem with this skill