agentsclimarketplace

Pr

Skill Bradymck/claude-code-harness/skills/pr

Portable autonomous dev harness for Claude Code: bootstrap, PRD, Ralph loop, PR hygiene — five files, zero dependencies

Install
npx -y skills add Bradymck/claude-code-harness --skill pr

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Create a pull request with full git hygiene. Use after completing any code change. Enforces: correct git identity, builds pass, all files staged, feature branch, PR created via gh. Triggers on: /pr, create PR, open PR, push and PR, ship this.

SKILL.md

2.3 KB, as published. Nobody here has run it

PR Workflow

Enforce complete git hygiene before opening any PR. Never skip a step.


Steps (execute in order, stop and fix before continuing)

1. Verify git identity

git config user.name
git config user.email

Must match the identity you intend to commit as. If wrong:

git config user.name "<your-github-username>"
git config user.email "<your-email>"

2. Check what's changed

git status
git diff --stat

List every modified file. Do NOT skip unstaged files.

3. Run the build

Run the project's build command (check package.json scripts, Makefile, or CI config):

  • Node projects: npm run build (or the project's equivalent)
  • Python: python3 -m py_compile <entrypoint> or the project's test/lint command
  • TypeScript: npx tsc --noEmit at minimum

Fix any errors before continuing. Do not open a PR with a broken build.

4. Stage ALL changed files

git add <every modified file by name>

Never use git add -A or git add . (risk of committing secrets or binaries). Double-check with git status — nothing should show as unstaged.

5. Create a feature branch if not already on one

git checkout -b <descriptive-branch-name>

Never commit directly to main. Branch names: feat/, fix/, chore/.

6. Commit

git commit -m "<type>(<scope>): <description>"

Follow conventional commits. No --no-verify.

7. Push

git push -u origin <branch>

Verify the remote is the correct account (gh repo view to confirm).

8. Create PR

gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
- <bullet points of what changed>

## Test plan
- <what to verify>

🤖 Generated with Claude Code
EOF
)"

9. Return the PR URL

Share the PR link with the user so they can review before merging.


Rules

  • NEVER merge or deploy without user approval
  • NEVER use --force push to main
  • NEVER skip the build check — a broken build is worse than no PR
  • If pre-commit hook fails, fix the issue and create a NEW commit (never --amend)

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.