From dev-workflow
Drives GitHub/GitLab issue implementation through iterative review cycles: research, plan, worktree, code, test, PR/MR, multi-reviewer fixes to APPROVE, merge.
npx claudepluginhub yvictor/skills --plugin dev-workflowThis skill uses the workspace's default tool permissions.
A complete issue-to-merge workflow where the **iterative review cycle** is the core driver. The PR/MR doesn't just get created — it gets reviewed N rounds with fixes until the verdict is APPROVE.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
A complete issue-to-merge workflow where the iterative review cycle is the core driver. The PR/MR doesn't just get created — it gets reviewed N rounds with fixes until the verdict is APPROVE.
Announce at start: "Using review-driven-development to implement issue #NN through the full review cycle."
Issue → Research → Plan → Worktree → Implement → Test → PR/MR → Review ⟲ Fix → APPROVE → Merge
↑_____________↩ (repeat until clean)
The review cycle (Phase 5) is what separates this from a simple "code and push" workflow. Every PR/MR goes through at least one structured review round, with findings posted directly to the PR/MR. Issues get fixed, re-reviewed, and the cycle repeats until the verdict is APPROVE.
When the user provides an issue number:
Fetch issue details — auto-detect platform:
gh issue view <NN> --json title,body,labels,assigneesglab issue view <NN>Research the codebase — launch Explore agents to understand:
Enter plan mode to present the implementation plan
The plan MUST include:
After user approves the plan:
origin/master or origin/main)Execute the plan following project-specific patterns from CLAUDE.md and memory.
git fetch origin && git rebase origin/master or origin/main). If conflicts arise, enter plan mode to analyze the conflicts and plan the resolution strategy before proceeding.git add -A or git add .-u flag (use --force-with-lease if rebased)gh pr create --title "..." --body-file /tmp/pr_body.mdglab mr create --title "..." --description "$(cat /tmp/pr_body.md)"## Summary
- Bullet points describing what changed and why
Closes #NN
## Test plan
- [x] Test results summary
- [x] Verification steps completed
This is the heart of review-driven development. The PR/MR enters an iterative review loop.
Ask the user which review strategy to use (only on first review round):
| Strategy | Reviewers | When to use |
|---|---|---|
| Single | Current agent (code-reviewer subagent) | Quick iterations, small changes |
| Double | Agent + codex exec "..." | Important features, want second perspective |
| Triple | Agent + codex exec "..." + claude -p "..." | Critical changes, maximum coverage |
For each reviewer, provide the full PR/MR diff and ask them to check:
External reviewers:
# Codex review
codex exec "Review PR #NN for <repo>. Run 'git diff master...HEAD' to see the diff. Check: 1) pattern compliance 2) error handling 3) test coverage 4) correctness. Write findings."
# Claude review
claude -p "Review the git diff for PR #NN. $(git diff master...HEAD). Check pattern compliance, error handling, test coverage. Write findings with B/S/N categorization and a verdict."
Post the combined review findings to the PR/MR:
# GitHub
gh api repos/{owner}/{repo}/pulls/{NN}/reviews -X POST -f body="$(cat /tmp/review.md)" -f event="COMMENT"
# GitLab
glab mr note {NN} -m "$(cat /tmp/review.md)"
The review comment MUST include:
APPROVE or REQUEST_CHANGESAsk the user which issue levels to address (B/S/N or any combination). Then:
Rebase onto latest default branch if needed (enter plan mode if conflicts arise), then run the same review strategy again on the updated code. Post the new review to the PR/MR.
Continue the fix → re-review loop until the verdict is APPROVE from all reviewers.
This phase REQUIRES explicit user confirmation. Do NOT auto-merge. Wait for the user to say "merge", "ok merge", "ship it", etc.
Once confirmed:
gh pr merge <NN> --merge (or --squash/--rebase per CLAUDE.md)glab mr merge <NN>git worktree remove <path>git branch -d <branch>gh) and GitLab (glab). Auto-detect from git remote.