返回技能列表

bug-from-user

rockscy
更新于 2 days ago
7 次查看
2
1
2
在 GitHub 上查看
文档ai

关于

This skill transforms vague user complaints into structured, reproducible bug reports for developers. It extracts expected vs. actual behavior and steps to reproduce from unclear prose like support tickets or emails. Use it when you receive a confusing bug report that lacks actionable details for debugging.

快速安装

Claude Code

推荐
主要方式
npx skills add rockscy/solo-skills -a claude-code
插件命令备选方式
/plugin add https://github.com/rockscy/solo-skills
Git 克隆备选方式
git clone https://github.com/rockscy/solo-skills.git ~/.claude/skills/bug-from-user

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Bug from User / 用户反馈转 Bug

When to use

  • A user has reported a problem in prose (email, Discord, Twitter DM, support ticket).
  • The dev cannot tell from the message:
    • what was expected vs. what actually happened
    • the steps to reproduce
    • whether it's a real bug, user error, or a feature request in disguise
  • The dev wants a GitHub issue or internal note they can later sit down and fix.

When NOT to use

  • The user has already produced a clean, reproducible report. Don't re-process it.
  • The complaint is subjective ("it's slow", "it's ugly") with no measurable claim — that's a UX or perf investigation, not a bug.
  • The user is asking for a feature (e.g. "can you add X?") — file as feature request, not bug.

The four-question conversion

For any prose complaint, reduce it to:

  1. Trigger — what did the user do (action, click, command, input)?
  2. Expected — what did they expect to happen?
  3. Actual — what actually happened?
  4. Surface — where did it happen (URL, screen, version, browser, OS)?

If any of the four is missing, flag it as a follow-up question rather than guessing.

Output format

### Bug: <one-sentence headline, user-perspective>

**Trigger:**
1. <step>
2. <step>

**Expected:** <what they expected>

**Actual:** <what actually happened>

**Surface:** <version / browser / OS / URL>

**Confidence:** <high | medium | low>
- high: report is self-contained, can repro from this alone
- medium: 1–2 reasonable assumptions made
- low: significant guessing — ask user to confirm

**Follow-ups (if any):**
- <question to ask the user>

Worked example

Input (raw user email):

"hey i tried buying the pro plan tonight and the website just kept loading forever, i refreshed a few times then gave up. using safari on my macbook"

Output:

### Bug: Pro plan checkout hangs on Safari (macOS)

**Trigger:**
1. Visit pricing page on Safari (macOS).
2. Click "Pro plan" purchase button.
3. Observe checkout flow.

**Expected:** Stripe checkout opens within a few seconds.

**Actual:** Page stays in loading state indefinitely; refresh does not recover.

**Surface:** Safari on macOS. Version of Safari and macOS unknown. Pricing page URL unknown (likely /pricing).

**Confidence:** medium
- Assumed pricing page URL is /pricing.
- Assumed checkout uses Stripe.

**Follow-ups:**
- Which Safari version + macOS version?
- Does Chrome on the same machine reproduce it?
- Browser console errors (if comfortable opening DevTools)?

Anti-patterns to avoid

  • Don't assume severity — "P0 outage" without evidence is alarmist.
  • Don't guess root cause in the report — that's the dev's job after reading. The report describes symptoms.
  • Don't promise a fix timeline — that goes in the reply email, not the bug report.

中文版

何时使用

  • 用户用散文报了一个问题(邮件、Discord、推特 DM、工单)。
  • 看不出:
    • 期望 vs 实际
    • 复现步骤
    • 是真 bug、用户操作问题、还是变相的功能请求

何时不使用

  • 用户已经写好了清晰可复现的报告——别重新加工。
  • 抱怨是主观的("慢"、"丑"),没有可测指标——那是 UX/性能调研,不是 bug。
  • 用户是要功能——按 feature request 处理。

四问转化法

把任何散文压成 4 个问题:

  1. 触发——用户做了什么动作?
  2. 期望——他们期望发生什么?
  3. 实际——实际发生了什么?
  4. 环境——在哪里发生(URL、屏幕、版本、浏览器、系统)?

任意一项缺失 → 列为待问,不要猜。

输出

### Bug: <一句话标题,用户视角>

**触发:**
1. <步骤>
2. <步骤>

**期望:** <…>

**实际:** <…>

**环境:** <…>

**置信度:** <high | medium | low>

**待问:**
- <…>

反模式

  • 不要乱定优先级——没证据就"P0"是恐慌。
  • 不要在报告里猜根因——根因是开发读完之后的事,报告只描述现象。
  • 不要承诺修复时间——那写在回复邮件里,不写在 bug 单里。

GitHub 仓库

rockscy/solo-skills
路径: skills/bug-from-user
0
ai-agentsawesome-listbilingualclaude-codeclaude-skillsdeveloper-tools

相关推荐技能

railway-docs

文档

Railway Docs Skill可实时获取最新的Railway官方文档,确保回答的准确性。当开发者询问Railway功能特性、工作原理或分享docs.railway.com链接时,应优先使用此技能。它通过专门的LLM优化文档源提供最新信息,避免依赖过时记忆来回答技术问题。

查看技能

n8n-code-python

文档

该Skill为在n8n平台的Python代码节点中编写代码提供专家指导,特别适用于需要使用_input/_json/_node语法、Python标准库或了解n8n中Python限制的场景。它强调JavaScript应作为首选方案,仅当需要特定Python功能或对Python语法更熟悉时才使用Python。Skill提供了快速入门模板和关键注意事项,帮助开发者在n8n中高效编写Python代码。

查看技能

archon

文档

Archon Skill为开发者提供了基于RAG的语义搜索和项目任务管理功能,可通过REST API访问知识库。它支持文档搜索、网站爬取、文件上传和版本控制,适用于技术文档查询和项目管理场景。首次使用时需要配置Archon主机地址,建议在处理外部文档时优先使用该Skill。

查看技能

n8n-code-javascript

文档

这个Skill为n8n工作流中的JavaScript代码节点提供专业指导,涵盖数据处理、HTTP请求和日期操作等核心场景。它详细解释了如何正确使用n8n特有的`$input`/`$json`语法、`$helpers`工具以及DateTime对象,并包含关键的错误排查和模式选择建议。开发者通过该Skill能快速掌握Code节点的正确返回格式、数据访问方法和常见陷阱解决方案。

查看技能