# Dev PR

AI DevKit · Publish a ready feature branch for review.

- Repository: https://github.com/codeaholicguy/ai-devkit (1656 stars)
- Category: Git and review
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add codeaholicguy/ai-devkit --skill dev-pr -g -a claude-code -y`
Codex: `npx skills add codeaholicguy/ai-devkit --skill dev-pr -g -a codex -y`
Cursor: `npx skills add codeaholicguy/ai-devkit --skill dev-pr -g -a cursor -y`
Gemini CLI: `npx skills add codeaholicguy/ai-devkit --skill dev-pr -g -a gemini-cli -y`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

1. Verify repository context with `git status -sb`, `git branch --show-current`, and `git remote -v`.
2. Confirm the branch is not the base branch and has committed changes to publish.
3. Fetch the remote before comparing or rebasing.
4. Rebase the feature branch onto the latest remote base branch before push/review.
5. Resolve conflicts carefully, preserving intended behavior, then rerun relevant validation.
6. Push safely. Use `--force-with-lease` only when a rebase rewrote an already-pushed branch.
7. Open or update the host's review request: PR, merge request, or equivalent.
8. Report review URL, branch, HEAD SHA, validation results, push mode, and risks.

## Publish Workflow

The rest: https://github.com/codeaholicguy/ai-devkit/blob/HEAD/skills/dev-pr/SKILL.md
