/devloop:ship Optional commit message or PR titlefrom devloop
Validates, commits, and creates PRs for completed devloop plan work. Detects branch type, runs tests, enforces conventional commits, and generates PR descriptions from plan tasks.
Ships in devloop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Validate and ship changes with branch-aware workflow. You do the work directly.
Bash hygiene: prefer quiet flags to minimize output (npm install --silent, git status -sb, pipe long output through | tail -n 20).
git status && git diff --stat && git branch --show-current
Read .devloop/local.md for preferences: git.pr-on-complete, commits.style.
| Branch | Flow |
|---|---|
| main/master | Direct commit (caution) |
| feat/, fix/ | Feature branch → PR |
| Other | Ask user |
AskUserQuestion:
questions:
- question: "How would you like to ship?"
header: "Mode"
multiSelect: false
options:
- label: "Full validation"
description: "Run tests, review, then commit/PR"
- label: "Quick commit"
description: "Skip validation, just commit"
- label: "PR only"
description: "Changes already committed, create PR"
- label: "Atomic commits"
description: "One commit per completed plan task"
Run tests: Detect from package.json/go.mod/requirements.txt/pom.xml.
Code review: If review.before-commit: always, use devloop:engineer in reviewer mode.
Safety: No secrets, no debug code, correct branch.
If plan exists:
[x] since last commitConventional style:
<type>(<scope>): <description>
- Task 1.1: Description
- Task 1.2: Description
| Task Contains | Type |
|---|---|
| Create, Add, Implement | feat |
| Fix, Resolve | fix |
| Refactor, Clean | refactor |
| Test, Spec | test |
| Doc, README | docs |
| Other | chore |
Issue closing: If plan has issue: in frontmatter:
github.auto_close: always → Auto-add Closes #Ngithub.auto_close: ask → Promptgithub.auto_close: never → Skipgit add -A && git commit -m "$(cat <<'EOF'
feat(scope): description
- Task 1.1: Description
- Task 1.2: Description
Closes #42
EOF
)"
| Condition | Action |
|---|---|
| On main/master | Skip |
| pr-on-complete: never | Skip |
| pr-on-complete: always | Auto-create |
| pr-on-complete: ask | Ask user |
Generate PR from plan:
## Summary
[Plan title and overview]
## Changes
- [x] Task 1.1: Description
- [x] Task 1.2: Description
## Testing
- [ ] Tests pass locally
- [ ] Code reviewed
gh pr create --title "[Plan Title]" --body "[Description]"
Complete"${CLAUDE_PLUGIN_ROOT}/scripts/check-plan-complete.sh" .devloop/plan.md
If complete:
AskUserQuestion:
questions:
- question: "All tasks done! What next?"
header: "Next"
multiSelect: false
options:
- label: "Archive plan"
description: "Move to archive, start fresh"
- label: "Wait for review"
description: "PR created, wait for feedback"
- label: "Done"
description: "Keep plan for reference"
Archive: "${CLAUDE_PLUGIN_ROOT}/scripts/archive-plan.sh" .devloop/plan.md
If not complete: Offer continue/wait/break.
Before commit: No secrets, no debug, correct branch, tests pass. Before PR: Good messages, PR description, correct base branch.
| Mode | Flow |
|---|---|
| Full validation | Test → Review → Commit → PR |
| Quick commit | Commit only |
| PR only | Create PR from commits |
| Atomic commits | One commit per task |
What SKILL.md sets; muted values are Claude Code's defaults
Final validation, committing, and creating PRs for completed plans
Three short reads, in order
19 skills in this plugin
/epicCreate a multi-phase epic plan with TDD structure for large featuresnpx claudepluginhub zate/cc-plugins --plugin devloopOther plugins' skills for the same job