Tooluck logoTooluck
SKILL.md

dev-pr

Agent skill fromcodeaholicguy/ai-devkit

AI DevKit · Publish a ready feature branch for review. Use when the user wants to sync, push, and open or update a code review request on GitHub, GitLab, or another Git host.

How to install dev-pr

install dev-pr
# install the ai-devkit pack with the skills CLI
npx skills add codeaholicguy/ai-devkit

# or add only this skill to Claude Code: copy the folder

skills/dev-pr/

# into

~/.claude/skills/dev-pr/ (all projects)

.claude/skills/dev-pr/ (one project)

skills/dev-pr/SKILL.md

Apache-2.0Full file
1# Dev PR
2
3Publish an already-reviewed branch for code review. Keep this separate from commit creation: if the branch has uncommitted changes, stop and ask the user to run the commit workflow first.
4
5## Contract
6
71. Verify repository context with `git status -sb`, `git branch --show-current`, and `git remote -v`.
82. Confirm the branch is not the base branch and has committed changes to publish.
93. Fetch the remote before comparing or rebasing.
104. Rebase the feature branch onto the latest remote base branch before push/review.
115. Resolve conflicts carefully, preserving intended behavior, then rerun relevant validation.
126. Push safely. Use `--force-with-lease` only when a rebase rewrote an already-pushed branch.
137. Open or update the host's review request: PR, merge request, or equivalent.
148. Report review URL, branch, HEAD SHA, validation results, push mode, and risks.
15
16## Publish Workflow
17
181. Inspect local context:
19 - `git status -sb`
20 - `git branch --show-current`
21 - `git remote -v`
222. If uncommitted changes exist, stop. Do not stage, amend, squash, or commit in this skill.
233. Identify the remote and base branch from repo conventions, upstream config, or user instruction; default to `origin/main` only when that matches the repo.
244. Fetch the remote, inspect the delta, and rebase onto the remote base branch.
25…

Excerpt shown under the repository's Apache-2.0 license.

More skills in ai-devkit

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates