npx claudepluginhub psychquant/psychquant-claude-plugins --plugin issue-driven-devThis skill uses the workspace's default tool permissions.
---
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.
寫 closing comment,然後關閉 issue。三分鐘的紀錄,省三十分鐘的考古。
沒有 closing comment 就不關 issue。沒有例外。
gh issue view $NUMBER --repo $GITHUB_REPO --json state,title,body
確認:
git log --oneline --grep="#$NUMBER" | head -10
如果沒有相關 commit,警告使用者:「找不到引用 #NNN 的 commit。確定要關嗎?」
根據 issue body、diagnosis、commits 自動生成:
## Closing Summary
### Problem
{問題是什麼,影響範圍}
### Root Cause
{為什麼會發生(bug)/ 需求背景(feature)}
### Solution
{改了什麼,關鍵邏輯}
### Verification
{怎麼驗證的:verify 結果、測試、截圖}
### Changes
{相關 commit 列表}
將 closing comment 顯示給使用者確認。
gh issue comment $NUMBER --repo $GITHUB_REPO --body "$CLOSING_COMMENT"
gh issue close $NUMBER --repo $GITHUB_REPO
數學公式格式:GitHub 支援
$...$(inline)和$$...$$(display)。含底線的程式變數名不放 math mode,改用 backtick code。
✓ Issue #NNN closed
Closing comment: {URL}
Commits: {list}
| 沒有 closing comment | 有 closing comment |
|---|---|
| 三個月後:「這個 issue 改了什麼?」→ 翻 git log 猜 | 三個月後:直接看 closing comment |
| 類似 bug 再出現:「上次怎麼修的?」→ 不知道 | 類似 bug 再出現:參考上次的 root cause + solution |
| 新人接手:「為什麼這段 code 長這樣?」→ 沒人知道 | 新人接手:issue 裡有完整的脈絡 |
Close 完成後,自動執行 idd-update 更新 issue body 的 Current Status(phase → closed)。