bug-triage
Triage a bug report into an actionable GitHub issue with severity, reproduction steps, and assignment. Use when a bug is reported, when error logs need investigation, or when asked to file/triage an issue.
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 18
- Forks
- 1
01 前言 Front Matter
- name
- bug-triage
- metadata
- { "fork-of": "ops-toolkit/bug-triage", "forged-by": "claude-agent", "last-used": "2026-02-25", "forged-from": "session-2026-02-20", "usage-count": "6", "forged-reason": "Forked from ops-toolkit — adapted for this project's labeling and priority scheme" }
- description
- Triage a bug report into an actionable GitHub issue with severity, reproduction steps, and assignment. Use when a bug is reported, when error logs need investigation, or when asked to file/triage an issue.
02 资源文件 10
- 参考文档business-protection-guide.md13.2 KB
- 参考文档critical-illness-guide.md13.5 KB
- 参考文档income-protection-guide.md15.5 KB
- 脚本life_insurance_needs.py26.6 KB
- 参考文档life-insurance-guide.md12.4 KB
- 参考文档needs-analysis-framework.md10.0 KB
- 参考文档protection-trusts-templates.md15.1 KB
- 参考文档provider-comparison.md12.7 KB
- 参考文档trust-planning-guide.md13.2 KB
- 参考文档underwriting-guide.md15.1 KB
03 SKILL.md 正文
Bug Triage
Convert a bug report (user message, error log, Sentry alert) into a well-structured GitHub issue.
Inputs
- Bug report (raw text, screenshot, error log, or Sentry URL)
- Reporter (who reported it, if known)
- Environment (production, staging, local)
Steps
-
Reproduce or verify
- Can you reproduce the bug from the report?
- If yes: document exact reproduction steps
- If no: flag as "needs-repro" and note what you tried
-
Classify severity
Severity Criteria Label P0 Data loss, security, or full outage severity:criticalP1 Major feature broken, no workaround severity:highP2 Feature broken, workaround exists severity:mediumP3 Minor annoyance, cosmetic severity:low -
Identify the component
- Frontend / Backend / Infrastructure / Extension
- Add the corresponding label:
area:frontend,area:backend, etc.
-
Write the GitHub issue
## Bug: [one-line description] **Severity:** P[0-3] **Environment:** [production/staging/local] **Reporter:** [name or "internal"] ### What happened [Clear description of the bug] ### Expected behavior [What should have happened] ### Reproduction steps 1. ... 2. ... 3. ... ### Evidence [Error logs, screenshots, Sentry link] ### Suspected cause [If you have a hypothesis, state it] -
File the issue
gh issue create --title "Bug: [description]" --body "[body]" --label "bug,severity:[level],area:[component]" -
Assign if obvious
- If the suspected cause points to a clear owner, assign them
- If not, leave unassigned (triage meeting will handle it)
Conventions
- Bug titles always start with
Bug: - Every bug issue has both a
severity:andarea:label - P0 bugs get a Slack notification (via
scripts/notify-critical.sh) - Duplicate bugs are closed with a reference to the original
Edge Cases
- Vague reports: Ask the reporter for reproduction steps before filing. Don't file issues you can't act on.
- Already fixed: Check recent commits/PRs. If fixed, reply to reporter and don't file.
- Feature request disguised as bug: Re-label as
enhancementand move to backlog.
04 同仓库更多 Skills
skillforge
Create or update a reusable agent skill. Use when you notice a repeated pattern, when a workflow should be persisted for future sessions, or when asked to forge/create/scaffold a new skill.
skillforge
Create or update a reusable agent skill. Use when you notice a repeated pattern, when a workflow should be persisted for future sessions, or when asked to forge/create/scaffold a new skill.
deploy-preview
Deploy a preview branch to the staging environment for review. Use when a feature branch is ready for visual review, when someone asks to "deploy this for review", or before opening a PR.
component-scaffold
Create a new React component with co-located test, story, and styles. Use when creating new UI components, when asked to scaffold/generate a component, or when building new pages.
api-endpoint
Scaffold a REST API endpoint with route, controller, validation, and tests. Use when creating new API endpoints, adding resources, or when asked to build a new backend route.
finish-the-loop
Close implementation loops with target-bound independent evidence and a portable proof receipt. Use when an agent changes a real system and must earn a completion claim that survives the session.