From claude-apd
Use when the project has GitHub Projects configured and you need to sync pipeline tasks with the board. Creates issues for specs, moves cards through columns, closes on completion.
npx claudepluginhub zstevovich/claude-apd --plugin claude-apdThis skill is limited to using the following tools:
Maps APD pipeline phases to GitHub Projects v2 columns. Each task becomes an issue with a spec card, and pipeline progress is reflected on the board.
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`.
Maps APD pipeline phases to GitHub Projects v2 columns. Each task becomes an issue with a spec card, and pipeline progress is reflected on the board.
Use when:
GITHUB_PROJECTS_URL in CLAUDE.md)Skip when:
gh CLI is not authenticated — escalate, don't silently skipInstead of manually calling gh issue create and gh issue close, use the gh-sync wrapper:
# Instead of manually:
bash ${CLAUDE_PLUGIN_ROOT}/plugins/apd/bin/core/gh-sync spec "User login" # creates issue + starts pipeline spec
bash ${CLAUDE_PLUGIN_ROOT}/plugins/apd/bin/core/gh-sync builder # comments on issue + starts pipeline builder
bash ${CLAUDE_PLUGIN_ROOT}/plugins/apd/bin/core/gh-sync reviewer # comments + starts reviewer
bash ${CLAUDE_PLUGIN_ROOT}/plugins/apd/bin/core/gh-sync verifier # comments + starts verifier
bash ${CLAUDE_PLUGIN_ROOT}/plugins/apd/bin/core/gh-sync done 42 abc1234 # closes issue with commit reference
bash ${CLAUDE_PLUGIN_ROOT}/plugins/apd/bin/core/gh-sync skip 42 "Hotfix" # closes with apd-skip label
bash ${CLAUDE_PLUGIN_ROOT}/plugins/apd/bin/core/gh-sync status # shows active issue
gh-sync automatically tracks the issue number for the current pipeline — you don't need to pass it at every step.
.mcp.jsongh CLI authenticated (gh auth login)| APD step | GitHub Projects column | Action |
|---|---|---|
pipeline-advance spec "Task" | Spec | Create issue with spec card, add to board |
pipeline-advance builder | In Progress | Move issue to In Progress |
pipeline-advance reviewer | Review | Move issue to Review |
pipeline-advance verifier | Testing | Move issue to Testing |
| Commit (successful) | Done | Close issue, link commit, move to Done |
pipeline-advance skip | Done | Close issue with skip label |
When the orchestrator creates a spec card, also create a GitHub issue:
gh issue create \
--title "[APD] Task name" \
--body "$(cat <<'EOF'
## Spec card
**Goal:** One sentence.
**Effort:** max | high
**Out of scope:** What we are NOT doing.
**Acceptance criteria:**
- [ ] Criterion 1
- [ ] Criterion 2
**Affected modules:** files/layers
**Risks:** what can go wrong
**Rollback:** how to revert
---
_APD Pipeline Task — do not close manually_
EOF
)" \
--label "apd-pipeline" \
--project "{PROJECT_NAME}"
Use the GitHub MCP server to move items on the board:
Orchestrator: Move issue #42 to the "In Progress" column on the GitHub Projects board.
The GitHub MCP server supports update_project_item for changing status.
After a successful commit:
gh issue close ISSUE_NUMBER --comment "Completed through APD pipeline. Commit: COMMIT_HASH"
If the pipeline was skipped (hotfix):
gh issue close ISSUE_NUMBER --comment "Pipeline skipped (hotfix): REASON"
gh issue edit ISSUE_NUMBER --add-label "apd-skip"
The orchestrator can automate the entire flow:
pipeline-advance step → move issue to the corresponding columnUser: Implement user login
Orchestrator:
1. Creates spec card
2. → gh issue create --title "[APD] User login" --project "MyProject"
3. → pipeline-advance spec "User login"
4. Dispatches backend-builder
5. → moves issue #42 to "In Progress"
6. → pipeline-advance builder
7. Starts reviewer
8. → moves issue #42 to "Review"
9. → pipeline-advance reviewer
10. Starts verifier
11. → moves issue #42 to "Testing"
12. → pipeline-advance verifier
13. Commits
14. → gh issue close 42 --comment "Commit: abc1234"
15. → issue moves to "Done"
GitHub Projects stores card movement history. This enables:
This data is complementary to pipeline-advance metrics — GitHub provides a board-level view, pipeline provides per-step timing.
Create a GitHub Projects v2 board with the following columns:
| Column | Description |
|---|---|
| Backlog | Planned tasks (not in the pipeline) |
| Spec | Spec card created, awaiting approval |
| In Progress | Builder working |
| Review | Reviewer examining |
| Testing | Verifier testing |
| Done | Committed and pushed |
Labels:
apd-pipeline — all APD tasksapd-skip — tasks with skipped pipelinehuman-gate — tasks requiring approvalgh issue create directly when gh-sync spec is available → Do use gh-sync so the issue number is tracked through the pipelinegh auth failures → Do escalate with gh auth login instructionsYou're done when:
apd-skip label and the skip reason[APD] issue maps to a real pipeline task or has been triagedpipeline-advance step (workflow), not by humans directlygh-sync reports an inconsistency (issue out of sync with pipeline state) → escalate to user; don't auto-correct