openxiangshan/xiangshanlab/fetch-xiangshan-bugs
Claude Code and agent skill by openxiangshan/xiangshanlab
- community
Checking that the SKILL.md file is still in the repository.
Collect XiangShan GitHub issues and pull requests into a local bug library for triage, branch-aware analysis, and cause summaries.
Install
npx vskill@latest install openxiangshan/xiangshanlab/fetch-xiangshan-bugsSKILL.md
Get XiangShan Bug
Overview
Build a local bug knowledge base for OpenXiangShan/XiangShan. The default output directory is xiangshan-bug-lib in the current working directory.
The collector writes raw JSONL plus Markdown indexes. Use the generated files as triage context, then narrow down to the concrete bug or PR the user asked about.
Workflow
- Choose the PR filter branch. If the user names one, use it. Otherwise use the repository default branch.
- Run the collector.
Use --all-pr-branches when you need PRs from every base branch:
Use --include-comments only when comment history matters.
- Read
xiangshan-bug-lib/README.md,overview-2026-07-28.md,issue-index.md,pr-index.md, andbug-cause-summary.md. - Analyze using concrete evidence from titles, labels, bodies, branch names, commit SHAs, and merge/close relationships.
- If the user wants a fix, use the library for triage first, then inspect and edit the XiangShan source tree separately.
Output Contract
xiangshan-bug-lib/issues.jsonl: non-PR GitHub issues.xiangshan-bug-lib/pulls.jsonl: pull requests, optionally filtered by base branch.xiangshan-bug-lib/comments.jsonl: issue and PR comments when--include-commentsis used.xiangshan-bug-lib/overview-2026-07-28.md: canonical entry point and consolidated summary.xiangshan-bug-lib/issue-index.md: quick issue lookup table.xiangshan-bug-lib/pr-index.md: quick PR lookup table.xiangshan-bug-lib/bug-cause-summary.md: heuristic cause buckets and examples.xiangshan-bug-lib/README.md: collection metadata and next steps.
Authentication
The script can run without authentication, but unauthenticated GitHub API quota is low. If available, set one of these environment variables before running:
or:
Never print tokens in final answers or write them into xiangshan-bug-lib.
Cause Analysis Rules
Use heuristic_causes as triage hints, not as final truth.
- Treat labels such as
bug,fix,regression,CI,frontend,backend,cache,memory,CSR,interrupt, anddifftestas evidence. - Separate symptom from root cause.
- Prefer merged PRs that reference issues over open issues when the evidence is stronger.
- Distinguish
kunminghu-v2andkunminghu-v3explicitly. - Preserve commit SHA values when the source record provides them; do not infer missing SHAs.
- Link sources as
https://github.com/OpenXiangShan/XiangShan/issues/<number>or/pull/<number>. - If evidence is incomplete, say the result is inferred and name the missing confirmation.
Script Reference
Important flags:
--branch <name>: collect PRs whose base branch is<name>.--all-pr-branches: collect PRs from all base branches.--state open|closed|all: GitHub item state, defaultall.--since YYYY-MM-DD: only fetch items updated after this date.--limit N: stop after N issues and N PRs for a quick sample.--include-comments: fetch comments for each issue and PR.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtools/xiangshan-bugs-analyzer/fetch-xiangshan-bugs/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openxiangshan/xiangshanlab/fetch-xiangshan-bugs)