Claude-skill-registry git-pr-prep
Prepares a Pull Request by staging changes, verifying against acceptance criteria, and creating the PR via GH CLI. Use this skill when a feature is complete and ready for review.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/git-pr-prep" ~/.claude/skills/majiayu000-claude-skill-registry-git-pr-prep && rm -rf "$T"
manifest:
skills/data/git-pr-prep/SKILL.mdsource content
This skill ensures that every Pull Request is descriptive, verified, and adheres to the project''s technical rigor as defined in
orchestration/project_context.md and .agent/rules/directives/pr_acceptance_criteria.md.
PR Preparation Workflow
-
Staging & Intent:
- Verify you are on the correct
or feature branch.dev - Stage only the files relevant to the task. Avoid staging unrelated debug logs or temporary files.
- Use the
command to identify untracked files that should be included.git status -u - Include test result artifacts in the commit when tests are run (for example,
).TestResult.xml
- Verify you are on the correct
-
Rigor Check:
- Self-audit the code against
.pr_acceptance_criteria.md - Ensure no
or temporaryconsole.log
comments remain in the source.TODO - Verify that all C# models have appropriate
attributes if they are part of the JSON bridge.[DataMember]
- Self-audit the code against
-
PR Artifact:
- Create or update the
file using the provided template.pull_requests/pr_[id].md - Include specific instructions for the Tester to verify the changes.
- For UI-impacting changes, include links or references to image and WebM artifacts in the PR artifact (and commit them when stored in-repo).
- Create or update the
-
GH CLI Execution:
- Run
with a clear title and a body that references the PR artifact or contains a concise summary of thegh pr create
.walkthrough.md - Target the
branch unless instructed otherwise.main
- Run