Dev Pr
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install ai-devkit-dev-prWhat this does: 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.
Manual setup by platform
Claude Code
~/.claude/skills/ai-devkit-dev-pr/SKILL.md
Instructions
Dev PR
Publish 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.
Contract
- Verify repository context with
git status -sb,git branch --show-current, andgit remote -v. - Confirm the branch is not the base branch and has committed changes to publish.
- Fetch the remote before comparing or rebasing.
- Rebase the feature branch onto the latest remote base branch before push/review.
- Resolve conflicts carefully, preserving intended behavior, then rerun relevant validation.
- Push safely. Use
--force-with-leaseonly when a rebase rewrote an already-pushed branch. - Open or update the host's review request: PR, merge request, or equivalent.
- Report review URL, branch, HEAD SHA, validation results, push mode, and risks.
Publish Workflow
- Inspect local context:
git status -sbgit branch --show-currentgit remote -v
- If uncommitted changes exist, stop. Do not stage, amend, squash, or commit in this skill.
- Identify the remote and base branch from repo conventions, upstream config, or user instruction; default to
origin/mainonly when that matches the repo. - Fetch the remote, inspect the delta, and rebase onto the remote base branch.
- If conflicts occur, inspect conflicted files and
git diff, resolve minimally, validate when useful,git add, then continue the rebase. Stop if the correct resolution is unclear. - Run relevant validation for the changed surface.
- Push:
- First push: set upstream.
- Normal update: plain push.
- Rebased already-pushed branch:
--force-with-lease.
- Open or update the review request using the host's tool/API/UI (
gh,glab, forge CLI, web UI, or project-specific workflow). - Write a concise review description. Include enough for reviewers to understand:
- Summary: what changed, why, and how.
- Validation: how it was verified.
- Risks: notable risks or "none known".
- Report:
- Review URL and state
- Branch and HEAD SHA
- Validation commands and exit codes
- Push mode, including whether
--force-with-leasewas used - Risks, follow-ups, or blockers
Security
Reviews (0)
Related skills
Browse all →More from ai-devkit
View source →More Build skills
Browse category →Frequently asked questions about dev-pr
What does the dev-pr skill do?
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. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the dev-pr skill?
Run `npx @skills-hub-ai/cli install ai-devkit-dev-pr` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/ai-devkit-dev-pr/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does dev-pr work with?
dev-pr runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the dev-pr skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use dev-pr after installing it?
In Claude Code, type `/ai-devkit-dev-pr` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the dev-pr skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.