patleeman/task-factory/checkpoint-pr

Claude Code and agent skill by patleeman/task-factory

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Create a branch, commit all agent changes, push, and open a pull request. Use when work is ready for review and should be submitted as a PR rather than just checkpointed.

Install

npx vskill@latest install patleeman/task-factory/checkpoint-pr

SKILL.md

Checkpoint & PR

Create a branch, commit changes, push, and open a pull request.

What This Does

  1. Create a feature branch from the current state
  2. Stage only files the agent modified
  3. Commit with a descriptive message
  4. Push the branch
  5. Open a PR with a clear title and description

Workflow

1. Check Current State
bash
git status
git diff --stat
git branch --show-current

Understand what's changed and what branch we're on.

2. Create Feature Branch

If already on a feature branch, stay on it. If on main/master, create a new branch:

bash
git checkout -b <branch-name>

Branch naming conventions:

  • feat/<description> — New features
  • fix/<description> — Bug fixes
  • refactor/<description> — Refactoring
  • docs/<description> — Documentation
  • security/<description> — Security fixes

Use short, descriptive kebab-case names. Example: feat/add-user-search-api

3. Stage Agent's Changes

Only stage files the agent modified:

bash
git add <file1> <file2> <file3>

Do NOT use `git add .` or `git add -A` — only stage specific files you changed.

4. Review Staged Changes
bash
git diff --cached --stat

Confirm only intended files are staged.

5. Commit

Create a clear commit message summarizing all changes:

bash
git commit -m "<type>: <brief description>"

If multiple logical changes, create multiple commits — one per logical unit.

6. Push Branch
bash
git push -u origin $(git branch --show-current)
7. Create Pull Request
bash
gh pr create --title "<PR title>" --body "$(cat <<'EOF'
## Summary
<2-3 sentence summary of what this PR does>
## Changes
- <change 1>
- <change 2>
- <change 3>
## Testing
- [ ] Tests pass
- [ ] Manual testing completed
EOF
)"

PR Title Format:

  • feat: Add user search API endpoint
  • fix: Correct SQL injection in user search
  • refactor: Simplify authentication middleware

PR Description:

  • Clear summary of what changed and why
  • Bullet list of specific changes
  • Testing checklist
  • Mention breaking changes if any

Important Notes

  • Only commit agent's changes — Don't stage unrelated files
  • Don't use --no-verify — Let hooks run
  • Never force push — Use regular push only
  • Check for `gh` CLI — If gh is not available, print the URL to create a PR manually
  • Keep PRs focused — One logical change per PR (< 500 lines ideal)
  • Base on main — PR should target the default branch

What Not to Include

Don't commit:

  • Broken/incomplete code
  • Files with merge conflicts
  • Sensitive files (.env, credentials, secrets)
  • Build artifacts, node_modules, etc.
  • Debug/console.log statements

If these are found, clean them up before creating the PR.

Fallback (no gh CLI)

If gh is not installed:

bash
echo "Create a PR at: https://github.com/$(git remote get-url origin | sed 's/.*github.com[:/]//' | sed 's/.git$//')/compare/$(git branch --show-current)"

Provide the user with the URL and suggested title/description.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
60
Repository forks
3
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/patleeman/task-factory/checkpoint-pr/badge)](https://verified-skill.com/skills/patleeman/task-factory/checkpoint-pr)

Something wrong with this skill or its page? Tell us.