issue-closure-strategist
Skill3 starsChanged 3 days agoApache-2.0View on GitHub
Analyze open GitHub issues/PRs and execute strategic closures with appropriate justification comments. Use when cleaning up stale issues, withdrawing superseded PRs, or closing issues that have been resolved upstream.
In this repository37 other files it gives its agents.
- docs/manual/agents.mdAGENTS.md
- ablate-combined-changesSkill
- agent-supervisor-methodologySkill
- benchmark-comparisonSkill
- browser-vlm-acceptanceSkill
- claim-verificationSkill
- claude-code-best-practicesSkill
- code-attributionSkill
- comms-connectSkill
- condition-based-waitingSkill
- conference-intelligenceSkill
- deep-research-methodologySkill
- defense-in-depthSkill
- detect-deployment-thrashingSkill
- directory-cross-examinationSkill
- doc-freshness-auditorSkill
- eval-harnessSkill
- github-comment-managerSkill
- github-deep-researchSkill
- github-issue-responseSkill
- harness-setupSkill
- issue-quality-assessmentSkill
- k8s-configmap-runtime-patchSkill
- k8s-config-persistence-trapSkill
- maintainer-profilingSkill
- measure-before-theorizeSkill
- multi-phase-optimization-campaignSkill
- phase-trackerSkill
- pptx-slide-creationSkill
- pr-issue-scannerSkill
- public-root-reproducibilitySkill
- repo-organizerSkill
- root-cause-tracingSkill
- technique-versioning-workflowSkill
- wrong-layer-debuggingSkill
- wrong-theory-cascade-preventionSkill
- youtube-transcriberSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 131
Don't close items with active discussion: If there's recent maintainer engagement, the item is alive.
- Distinctive: line 132
Batch strategically: Don't close 10 items in 5 minutes - space them out to avoid looking like spam.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Issue Closure Strategist Skill
Strategically close GitHub issues and PRs with appropriate justification, maintaining professional reputation and relationships with maintainers.
Usage
/issue-closure-strategist [repo]Or for a specific item:
/issue-closure-strategist [repo] [issue-or-pr-number]Workflow
Step 1: Audit Open Items
# List all open issues by author
gh issue list --repo OWNER/REPO --author @me --state open \
--json number,title,createdAt,comments,labels
# List all open PRs by author
gh pr list --repo OWNER/REPO --author @me --state open \
--json number,title,createdAt,reviewDecision,mergeable,commentsStep 2: Check Upstream Activity
For each open item, check if the issue was resolved:
# Check recent commits that might fix the issue
gh api repos/OWNER/REPO/commits?since=ISSUE_CREATED_DATE | \
jq -r '.[].commit.message' | grep -i "KEYWORD"
# Check if similar PR was merged by someone else
gh pr list --repo OWNER/REPO --state merged --limit 50 \
--json number,title,mergedAt | jq -r '.[] | "\(.number): \(.title)"' | grep -i "KEYWORD"
# Check maintainer comments on the issue
gh issue view NUMBER --repo OWNER/REPO --commentsStep 3: Classify Disposition
| Classification | Criteria | Closure Comment Tone |
| Withdraw | Your analysis was wrong or incomplete | Acknowledge error, thank maintainers |
| Superseded | Another PR/issue covers the same ground | Reference the superseding item |
| Fixed upstream | Maintainers resolved it independently | Thank them, reference the fix commit |
| Stale | No activity for 30+ days, no longer relevant | Explain changed circumstances |
| Per feedback | Maintainer explicitly asked you to close | Acknowledge their guidance |
| Keep open | Still valid, still relevant, actively discussed | Do NOT close |
Step 4: Draft Closure Comments
Withdraw (wrong/incomplete)
Closing this issue. After further analysis, [explanation of what changed].
Thank you @maintainer for the feedback on [specific point]. This helped
clarify [what you learned].Superseded
Closing in favor of #NUMBER which addresses this more comprehensively.
The approach in #NUMBER [brief explanation of why it's better].Fixed upstream
This has been resolved in [commit/PR reference]. Verified that the fix
addresses the original issue. Thank you for the quick resolution.Per maintainer feedback
Closing per @maintainer's feedback. Understood that [key takeaway from
their feedback]. Will [what you'll do differently next time].Step 5: Execute Closures
# Close issue with comment
gh issue close NUMBER --repo OWNER/REPO \
--comment "CLOSURE_MESSAGE"
# Close PR with comment
gh pr close NUMBER --repo OWNER/REPO \
--comment "CLOSURE_MESSAGE"Step 6: Generate Report
# Closure Report: REPO
**Date:** YYYY-MM-DD
## Actions Taken
| # | Type | Title | Disposition | Reason |
|---|------|-------|-------------|--------|
| <n> | Issue | <title> | Per feedback | Maintainer resolved in PR #<m> |
| <n> | PR | <title> | Superseded | Approach adopted in PR #<m> |
## Metrics
- **Before:** N open issues, M open PRs
- **After:** N open issues, M open PRs
- **Closed:** X issues, Y PRs
## Reputation Impact
- Professional closures maintain contributor standing
- Acknowledged maintainer contributions
- No bridges burnedKey Principles
- Never close without reading maintainer comments. Their feedback determines the tone.
- Acknowledge when you're wrong. "After further review..." is stronger than defending a bad position.
- Reference specific items. Link to the PR/commit that supersedes your work.
- Keep it brief. Closure comments should be 2-4 sentences, not essays.
- Don't close items with active discussion. If there's recent maintainer engagement, the item is alive.
- Batch strategically. Don't close 10 items in 5 minutes - space them out to avoid looking like spam.
<!-- imported on 2026-10-31 by tools/import-skills.py from a native Claude Code instance's skill library; the source site's names, ids, hosts and paths are scrubbed to <placeholders>; its other files were not copied -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

