xiaohongshu
xiaohongshu
consolidate-issues
Reduce GitHub issue backlog through deduplication, linking, and closure. Use before creating new issues, when enforcement_mode is CONSOLIDATION, when issue:PR ratio exceeds 3:1, when AI-created issues reach 25, or when total issues approach 50.
Full skill instructions
Reduces issue backlog to prevent AI-created issue spam and maintain healthy project hygiene.
enforcement_mode: CONSOLIDATION| Mode | Trigger | Action |
|---|---|---|
| NORMAL | All limits OK | Work normally |
| CONSOLIDATION | AI-created >= 25 or ratio > 3 | Run this skill first |
| PR_CREATION | Ratio > 5, PRs < 3 | Create PRs, not issues |
| PR_FOCUS | Open PRs >= 10 | Resolve PRs only |
| PAUSED | Total issues >= 50 | Run skipped entirely |
TOTAL=$(gh issue list --state open --json number | jq length)
AI=$(gh issue list --state open --label ai-created --json number | jq length)
PRS=$(gh pr list --state open --json number | jq length)
RATIO=$(echo "scale=1; $TOTAL / ($PRS + 1)" | bc)
echo "Total: $TOTAL, AI: $AI, PRs: $PRS, Ratio: $RATIO:1"
gh issue list --state open --limit 100 --json number,title,body,labels,createdAt
Identify duplicate issues. For each duplicate issue number, run the following commands as separate tool calls:
For issue #123:
gh issue edit 123 --add-label duplicate
gh issue close 123 --reason "not planned" \
--comment "Duplicate of #456. Closing."
For issue #124:
gh issue edit 124 --add-label duplicate
gh issue close 124 --reason "not planned" \
--comment "Duplicate of #456. Closing."
Search for issues fixed by merged PRs:
gh pr list --state merged --limit 50 --json number,title,body
For each issue resolved by a merged PR, run the following command as a separate tool call:
gh issue close 456 --reason completed \
--comment "Resolved by PR #789."
For related (non-duplicate) issues, run the following command as a separate tool call for each related issue pair:
gh issue comment 123 --body "Related to #456."
For 3+ related issues, create an umbrella issue as a separate tool call.
Document consolidation results:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience