From statsclaw
Scans open GitHub issues in a repo, triages actionable bugs by severity, runs StatsClaw fix workflow to create branches/PRs, pushes changes, and comments on issues.
npx claudepluginhub statsclaw/statsclaw --plugin statsclawThis skill uses the workspace's default tool permissions.
This skill enables StatsClaw to automatically scan open GitHub issues in a target repository, triage them, fix bugs, push fixes, and reply to issues — all from a simple user prompt.
Investigates GitHub issues and PRs: pulls open items, classifies them, searches codebase for root causes or reviews contributed code, proposes fixes with file:line references, optionally implements. Use for GitHub triage, not general reviews.
Fixes GitHub issues end-to-end with GitHub CLI: views issue, researches context, plans fix, creates branch, implements/tests changes, submits PR.
Fix a GitHub issue by number. Automatically fetches details and implements a fix.
Share bugs, ideas, or general feedback.
This skill enables StatsClaw to automatically scan open GitHub issues in a target repository, triage them, fix bugs, push fixes, and reply to issues — all from a simple user prompt.
Any of the following user intents activate this skill. Exact wording is NOT required — leader routes semantically:
A short prompt like "patrol fect issues on cfe" is sufficient.
gh issue list| Parameter | Required | Default | Description |
|---|---|---|---|
repo | Yes | — | GitHub repository (e.g., xuyiqing/fect) |
base_branch | No | main | Branch to create fix branches from |
branch_prefix | No | claude/fix | Prefix for fix branch names |
labels | No | all open issues | Filter issues by label (e.g., bug) |
max_issues | No | 10 | Maximum issues to process per patrol run |
auto_push | No | true | Automatically push fix branches |
auto_reply | No | true | Automatically post comments on issues |
auto_pr | No | true | Automatically create pull requests |
loop_interval | No | 0 (one-shot) | Minutes between patrol runs (0 = run once) |
Leader extracts these from the user's natural language prompt. Missing parameters use defaults.
When this skill is activated, leader follows this sequence:
.repos/workspace/<repo-name>/runs/PATROL-<timestamp>/request.md with patrol parametersgh issue list --repo <owner/repo> --state open --limit <max_issues> --json number,title,body,labels,createdAt
patrol-triage.md to the run directory with the classification tableFor each actionable issue (in priority order):
.repos/workspace/<repo-name>/runs/PATROL-<timestamp>/issue-<number>/request.md scoped to this specific issueimpact.md based on the issue description and codebase explorationspec.md and test-spec.md for the issuespec.md; after builder completes, tester is dispatched with test-spec.md<branch_prefix>-issue-<number>-<short-desc> from <base_branch>), push, create PR, and comment on the issueWrite patrol-report.md summarizing:
If loop_interval > 0, repeat from Phase 2. Use the /loop skill via the Skill tool — do NOT implement polling with sleep.
<branch_prefix>-issue-<number>-<short-description>
Examples:
claude/fix-issue-42-null-pointerclaude/fix-issue-17-test-timeoutShort description is derived from the issue title, lowercased, spaces replaced with hyphens, max 30 chars.
When shipper posts a comment on the issue, use this template:
## Automated Fix Available
A fix for this issue has been pushed to branch `<branch-name>` and a pull request has been opened: #<pr-number>
### Summary of Changes
<brief description of what was changed and why>
### Validation
- R CMD check: PASS (0 errors, 0 warnings, N notes)
- Tests: all passing
- Review: approved by automated review
Please review the PR and let us know if the fix addresses your concern.
---
*This comment was generated by [StatsClaw](https://github.com/xuyiqing/StatsClaw) automated issue patrol.*
All of these should trigger the same workflow:
"patrol fect issues on cfe"
"check open issues in xuyiqing/fect, fix bugs, push to cfe branch"
"monitor fect issues and auto-fix them"
"check fect issues and fix them on cfe branch"
"auto-fix fect issues"