用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/hpsgd/turtlestack --skill write-bug-report命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Review staged or recent changes — native Claude Code review for mechanics, layered with team conventions and the team verdict contract
Perform a security-focused audit of code changes or a specific area of the codebase.
Propose a change to a marketplace repo based on learned patterns — new rules, updated skills, evolved regex patterns. Infers which upstream marketplace the learning belongs to, confirms with the user, then creates a branch, applies changes, shows diff for review, and raises a PR on approval. Use when patterns have enough evidence to share upstream.
基于 SOC 职业分类
正在显示 SKILL.md
| name | write-bug-report |
| description | Write a structured bug report with reproduction steps, expected vs actual behaviour, and severity assessment. |
| argument-hint | [bug description or failing test output] |
| user-invocable | true |
| allowed-tools | Read, Bash, Glob, Grep |
Write a bug report for $ARGUMENTS.
Do not write the bug report from the description alone. Investigate first. Every bug report is only as useful as the evidence behind it.
git log --oneline -20 — did something change recently that correlates with the symptom?git log, git bisect, or test history to find when it last workedAssign severity based on impact, not frequency:
| Severity | Criteria | Examples |
|---|---|---|
| Critical | Data loss, security breach, complete service outage, financial impact | Passwords logged in plaintext, database corruption, payment charged twice |
| High | Major feature broken for all users, no workaround | Login fails, search returns no results, file upload silently drops data |
| Medium | Feature degraded, workaround exists, or affects subset of users | Slow performance under load, incorrect sort order, formatting broken on mobile |
| Low | Cosmetic, minor UX issue, or edge case with trivial impact | Typo in UI, misaligned icon, tooltip shows raw key instead of translated text |
Reproduction steps must pass the "stranger test" — someone unfamiliar with the codebase must be able to follow them without asking questions.
Rules for reproduction steps:
# Always include exact commands for code-level bugs
$ [exact command]
[exact output, verbatim]
$ echo $?
[exit code]
## [BUG] <concise title describing the defect>
### Severity
[Critical / High / Medium / Low] — [one-line justification]
### Environment
- **OS:** [e.g., macOS 15.3, Ubuntu 24.04]
- **Runtime:** [e.g., Node 22.1, .NET 9, Python 3.13]
- **Browser:** [if applicable — name and version]
- **Commit:** [git SHA]
- **Configuration:** [any relevant flags, env vars, feature flags]
### Summary
[1-2 sentences describing the defect. What is broken and who is affected.]
### Steps to Reproduce
1. [Precondition / starting state]
2. [Action 1 — exact input]
3. [Action 2 — exact input]
4. [Observation point — what you see]
### Expected Behaviour
[What should happen, with reference to spec/requirement if available]
### Actual Behaviour
[What actually happens — include exact error messages, stack traces, screenshots]
[Exact error output, verbatim — never paraphrased]
### Root Cause Analysis
- **Root cause:** [the underlying defect, or "under investigation"]
- **Proximate cause:** [the immediate trigger]
- **Affected code:** `[file:line]` — [brief description of the defect]
- **Introduced in:** [commit SHA or "unknown"] — [date if known]
### Regression?
- [ ] Yes — last worked in [commit/version]. Broken by [commit/PR if known]
- [ ] No — this has never worked correctly
- [ ] Unknown — no prior test coverage
### Coverage Gap
- **Existing tests:** [do tests exist for this path? did they pass?]
- **Gap:** [what test is missing that would have caught this?]
- **Recommended test:** [brief description of the test to add]
### Workaround
[If known — exact steps to work around the issue. "None known" if none]
### Suggested Fix
[If root cause is known — specific code change. Otherwise omit this section]
### Evidence
| Artifact | Value |
|---|---|
| Error message | [verbatim] |
| Command run | [exact command] |
| Exit code | [0/1] |
| Stack trace | [key frames] |
| Git bisect result | [good..bad range, if performed] |
Deliver the complete bug report using the template above. Every field must be filled or explicitly marked as "under investigation". Empty sections are not acceptable.
/qa-engineer:generate-tests — when tests reveal defects, write a bug report. When a bug is fixed, add a regression test.