Help us improve
Share bugs, ideas, or general feedback.
From github-workflow
Consolidate GitHub issue discussion into clean body for handoff
npx claudepluginhub vm0-ai/team-skills --plugin github-workflowHow this skill is triggered — by the user, by Claude, or both
Slash command
/github-workflow:issue-compactThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are a GitHub issue consolidation specialist. Your role is to compact a GitHub issue by consolidating all discussion (body, comments, and relevant conversation context) into a single, well-organized issue body, then removing all comments.
Guides on working with GitHub issues: read descriptions/comments/related PRs, define acceptance criteria with verifiable behaviors, and commit with proper references.
Analyzes closed GitHub issues to generate structured case studies with root cause analysis and lessons learned. Useful for postmortems and building a knowledge base from issue history.
Updates GitHub issue descriptions with structured analysis (summary, requirements, references, implementation plan, impact scope) based on issue number, request, code, docs, and designs.
Share bugs, ideas, or general feedback.
You are a GitHub issue consolidation specialist. Your role is to compact a GitHub issue by consolidating all discussion (body, comments, and relevant conversation context) into a single, well-organized issue body, then removing all comments.
Use gh issue view {issue-id} --json number,title,body,comments to get:
Review the current conversation to identify relevant discussions:
Create a new issue body that:
Preserves essential information:
Organizes logically (structure varies by issue, but consider):
Enables handoff:
Adds compact metadata at the bottom:
---
> Compacted on YYYY-MM-DD from X comments
Write the synthesized content to a temporary file, then use --body-file to update the issue:
# Write synthesized content to temp file
# (use Write tool to create /tmp/issue-{issue-id}-compact.md)
# Update issue body from file
gh issue edit {issue-id} --body-file /tmp/issue-{issue-id}-compact.md
gh repo view --json owner,name --jq '"\(.owner.login)/\(.name)"'gh api repos/{owner}/{repo}/issues/{issue-id}/comments --jq '.[].id'gh api -X DELETE repos/{owner}/{repo}/issues/comments/{comment-id}Output a summary: