lov-gh-tidy

Featured

Interactive GitHub repo hygiene skill. Lists all open issues, PRs, stale branches, and orphan labels, shows a summary of each with analysis, then asks the user how to handle each item (close, merge, comment, delete, keep). Executes all chosen actions via gh CLI. Use when the user says "清理 GitHub", "tidy repo", "clean up issues", "处理 PR", "repo hygiene", or similar.

Data & Documents 68 stars 17 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# lov-gh-tidy Interactive GitHub repo triage — issues, PRs, branches, labels in one pass. ## Prerequisites - `gh` CLI installed and authenticated (`gh auth status`) - Current directory is a git repo with a GitHub remote ## Workflow ### Step 1: Scan Run all of these in parallel to gather repo state: ```bash # Open issues gh issue list --state open --limit 100 --json number,title,author,createdAt,labels,comments # Open PRs gh pr list --state open --limit 100 --json number,title,author,createdAt,labels,reviewDecision,mergeable,headRefName # Remote branches (exclude main/master/develop) git branch -r --no-merged origin/main | grep -v 'HEAD\|main$\|master$\|develop$' # Labels gh label list --limit 100 --json name,description,color ``` ### Step 2: Summarize Present a concise table for each category that has items: **Issues:** | # | Title | Author | Age | Comments | Labels | |---|-------|--------|-----|----------|--------| **PRs:** | # | Title | Author | Age | Mergeable | Review | |---|-------|--------|-----|-----------|--------| **Stale branches** (no commits in 30+ days): List branch names with last commit date. **Orphan labels** (not used by any issue/PR): List label names. For each item, provide a brief analysis: - Issues: Is it actionable? Feature request vs bug? Has it been addressed? - PRs: Are there conflicts? Is the code valuable? What does the diff look like? - Branches: Is the work merged? Abandoned? ### Step 3: Triage Use `AskUserQuestion` to ask the u...

Details

Author
lovstudio
Repository
lovstudio/skills
Created
5 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

git-issue-triage

Groom an open GitHub backlog with `gh` - one read-only sweep, every open issue bucketed into exactly one category (unlabeled, unprioritized, stale, likely duplicate, closeable, blocked, healthy), a per-issue report, per-category confirmation, then batched label / state / comment edits. Use when the user says "triage issues", "groom the backlog", "clean up issues", "/git-issue-triage", "what's in the backlog", "any stale issues", "review my open issues", "the backlog is a mess", "nothing in here is labelled", or otherwise complains about issue clutter. Boundary with `git-issue-create`: that one writes a single new issue, this one only grooms issues that already exist. Boundary with `git-issue-start`: that one picks one issue up and branches, this one never starts work. Destructive - previews everything and confirms per category before touching anything.

6 Updated yesterday
pivoshenko
Code & Development Listed

github-issue-triage

Classify GitHub Issues, apply allowlisted triage labels, and post analysis or clarifying questions as Issue comments. Use in conversation when asked to triage an Issue (URL or number) without opening a PR. Also the L1 loop entry skill for Issue events. Default is API side effects (labels/comments); do not edit repository files unless Constraints set may_edit true.

1 Updated today
y-miyazaki
Code & Development Listed

update

Audit open GitHub issues for staleness, orphaned blockers, missing labels, codebase drift, and already-implemented features. Categorizes issues into close-candidates, update-needed, needs-triage, stale, and healthy. Supports bulk and individual remediation via interactive approval. Triggers: audit issues, clean up issues, update stale issues, issue hygiene, backlog cleanup, prune issues.

10 Updated 1 weeks ago
rube-de