bug-scanner
diff-first-based skill consuming pr_diff to produce review_issues
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- bug-scanner
- description
- diff-first-based skill consuming pr_diff to produce review_issues
03 SKILL.md 正文
Bug Scanner
Guardrails
- timeout: 5min
- no_nitpicks
- no_style_issues
When to Use
Use for:
- always during code review
Especially when:
- when reviewing complex logic changes
Context
Consumes: pr_diff Produces: review_issues Memory: short-term
Strategy
Approach: diff-first Tools: read_file
Steps
- read the PR diff only, no expanded context
- scan for obvious bugs like null derefs, off-by-one, logic errors
- ignore likely false positives
- return issues with severity location
Red Flags
| Excuse | Reality |
|---|---|
| Flagging linter/typechecker issues | These are caught by CI; duplicating them adds noise |
| Flagging intentional functionality changes | Changes related to the PR purpose are likely intentional |
| Reading beyond the diff | Shallow scan focuses on changed lines only |
Security
- Filesystem: read-only
- Network: none
04 同仓库更多 Skills
identify-root-cause
Identify the root cause of the issue through detailed code examination-based skill consuming code_analysis, issue_description to produce root_cause
generate-code-fix
Generate minimal code changes that resolve the identified issue-based skill consuming root_cause, issue_description to produce code_patch
analyze-code-repository
Systematically analyze repository structure to locate code relevant to the issue-based skill consuming repository, issue_description to produce code_analysis
generate-code-patch
minimal code changes to resolve identified issue-based skill consuming bug_analysis, code_context to produce unified_diff_patch
analyze-bug-root-cause
systematic code analysis to identify root cause-based skill consuming issue_description, code_context to produce bug_analysis
unified-diff-patch-generator
Generate minimal unified diff patches for Python bug fixes-based skill consuming issue_analysis, python_codebase to produce unified_diff_patch