From claude-apd
Use when a successful APD pipeline commit has just completed and a push/PR/keep decision is needed. MANDATORY after every pipeline commit.
npx claudepluginhub zstevovich/claude-apd --plugin claude-apdThis skill is limited to using the following tools:
```
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
NO PUSH WITHOUT USER DECISION FIRST
The pipeline produced a commit. Now the user decides what happens with it. Never auto-push, never assume.
Use when:
Skip when:
apd-debug, not finishdigraph finish {
VERIFY [label="1. Verify\ntests pass"];
OPTIONS [label="2. Present options"];
PUSH [label="Push to remote"];
PR [label="Push + Create PR"];
KEEP [label="Keep local"];
DISCARD [label="Discard (confirm)"];
VERIFY -> OPTIONS;
OPTIONS -> PUSH [label="1"];
OPTIONS -> PR [label="2"];
OPTIONS -> KEEP [label="3"];
OPTIONS -> DISCARD [label="4"];
}
git log --oneline -1
bash "$(git rev-parse --show-toplevel)/.claude/scripts/verify-all.sh"
If tests fail → fix before proceeding.
bash "$(git rev-parse --show-toplevel)/.claude/bin/apd" report
Show the formatted pipeline recap so the user sees what was done before deciding.
Pipeline complete. What would you like to do?
1. Push to remote (current branch)
2. Push and create a Pull Request
3. Keep local (I'll handle it)
4. Discard this work
APD_ORCHESTRATOR_COMMIT=1 git push -u origin <branch>
APD_ORCHESTRATOR_COMMIT=1 git push -u origin <branch>
gh pr create --title "<feature>" --body "$(cat <<'EOF'
## Summary
<what changed>
## APD Pipeline
- Spec: approved
- Builder: <agents used>
- Reviewer: code-reviewer (opus/max) — verdict: PASS
- Verifier: all tests pass
- Pipeline duration: <time>
## Test Plan
- [ ] <verification steps>
EOF
)"
Report branch name and status. Done.
Require typed confirmation: "Type 'discard' to confirm."
git checkout main
git branch -D <branch>
| Thought | Reality |
|---|---|
| "User probably wants me to push" | Never assume. Ask. |
| "I'll push and create PR in one go" | User might want to review locally first. |
| "Skip verification, we just ran tests" | Verify again. Something might have changed. |
| "Force push to fix the branch" | Never force push. guard-git blocks it anyway. |
You're done when:
discard literally before any branch was removedapd-debug (do NOT present finish options on red tests)