做什么
将支持门票,发布历史和错误遥测变成故障排除和错误引用页 开发者通过粘贴错误字符串找到的 - 症状,条件,原因,固定和校验条目,从一个真源生成的错误编码目录,并修正回线到产品本身的错误输出中
技能库 智客分类:文档办公 developer-troubleshooting-docs
将支持票,出出历史和出错遥测转换为故障解析和出错引用页 开发者通过粘贴出错字符串而发现的出错 - 症状,条件,原因,固定和校验条目,一个出自一出真源的出错码目录,并修正回线到产品自己的出错输出. 每当用户提及故障排除docs,记录出错代码,出错消息页面,已知出错的页面,从支持门票中构建一个FAQ,或者"我们每周回答同样的问题"——即使他们只说"用户不断打出这个出错". 不是因为调试现场事件 不使用 Docs 搜索排名 - 使用 samber/ developer- relations- swills@ docs-seo.
官方网址:skills.sh
先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。
将支持门票,发布历史和错误遥测变成故障排除和错误引用页 开发者通过粘贴错误字符串找到的 - 症状,条件,原因,固定和校验条目,从一个真源生成的错误编码目录,并修正回线到产品本身的错误输出中
任何用户都提到排除文件出错,记录出错代码,出错消息页面,一个已知的问题页面,从支持票中构建一个FAQ,或者"我们每周回答同样的问题"——即使他们只说"用户不断打出这个出错". 不是用来调试活的Inci
按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Developer Troubleshooting Docs、Named methods this skill runs on、Interview、Step 1 - Collect the evidence、Step 2 - Cluster and rank、Step 3 - Gate each cluster on document-versus-fix。 其中含规范建议的小节:分步指令。
文件分析:除 SKILL.md 外,正文引用了 references/signal-mining.md、scripts/error-cluster.py、references/entry-templates.md、references/error-catalog-and-ai-surfaces.md,属于带资源的技能包,这些文件按需再读。
Turns support tickets, issue history and error telemetry into troubleshooting and error-reference pages a developer finds by pasting the error string - symptom, conditions, cause, fix and verification entries, an error-code catalog generated from one source of truth, and fixes wired back into the product's own error output. Use whenever the user mentions troubleshooting docs, documenting error codes, error message pages, a known-issues page, building an FAQ from support tickets, or "we answer the same question every week" - even if they only say "users keep hitting this error". Not for debugging a live incident. Do NOT use for docs search ranking - use samber/developer-relations-skills@docs-seo.
Developer Troubleshooting DocsNamed methods this skill runs onInterviewStep 1 - Collect the evidenceStep 2 - Cluster and rankStep 3 - Gate each cluster on document-versus-fixStep 4 - Choose each entry's shapeStep 5 - Write the entryStep 6 - Generate the catalog instead of hand-maintaining itStep 7 - Verify before publishingStep 8 - Make the page findableStep 9 - Set the target and measure
· 许可:MIT
来源分类:skills.sh agent-skill
namedeveloper-troubleshooting-docsdescriptionreferences/signal-mining.mdscripts/error-cluster.pyreferences/entry-templates.mdreferences/error-catalog-and-ai-surfaces.md以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。
具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗
先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。
该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。
复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。
把 Agent Skill「developer-troubleshooting-docs」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-b1579a30f264467f-%E5%BC%80%E5%8F%91%E8%80%85%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98.html 请存为 .cursor/skills/developer-troubleshooting-docs/SKILL.md 或 .claude/skills/developer-troubleshooting-docs/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。 该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/samber/developer-relations-skills 取完整目录,不要只建一个 SKILL.md。
需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。
npx skills add 'https://github.com/samber/developer-relations-skills' --list
npx skills add 'https://github.com/samber/developer-relations-skills' --skill 'developer-troubleshooting-docs'
CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。
` path in the CLI.
- Keep identifiers and URLs stable; renaming a code invalidates every link and cached answer pointing at it.
Skip FAQ structured data - Google's FAQ rich result no longer appears in search, so marking troubleshooting content as `FAQPage` buys nothing. [./references/discoverability-and-metrics.md](./references/discoverability-and-metrics.md) has the historical detail and what else no longer works.
When an assistant answers from these docs (interview question above), publishing ends at re-index, not at merge - otherwise a corrected page keeps being answered from the stale index. Trigger a re-embed when:
- the embedding model improves,
- roughly 10-15% of the content has changed (practitioner guidance from a docs-assistant vendor, not a measured threshold), or
- the domain shifts.
See [./references/error-catalog-and-ai-surfaces.md](./references/error-catalog-and-ai-surfaces.md).
## Step 9 - Set the target and measure
Set expectations against the published ceiling before promising anything. Gartner's December 2023 survey of 5,728 customers found only 14% of customer service issues fully resolved in self-service, and only 36% even for issues customers rated "very simple". "Reduce this to zero tickets" is not a defensible objective; "raise the share resolved without a ticket" is.
Set the coverage target with the user before writing. **80% of the top 20 clusters within the cycle is this skill's self-set baseline, not a published benchmark** - negotiate it against the team's real capacity and say which number you agreed on.
Track:
- cluster coverage
- ticket volume per covered error on fixed windows
- zero-result docs searches for covered strings
- the share of entries touched since the last release
Prefer resolution rate and cost per resolution over raw deflection rate - a deflection number looks good while readers repeatedly fail and re-contact. Per-error deflection is measurable; a site-wide "deflection rate" is not.
Refuse to quote the folklore statistics that circulate in this field. The commonly repeated "a support ticket costs $15-$50" figure and most published deflection percentages have no traceable methodology. Use the customer's own ticket costs, or say the number is unknown.
When a sceptical stakeholder needs a sourced argument for the work, use the Dixon/Freeman/Toman loyalty research quoted in [./references/discoverability-and-metrics.md](./references/discoverability-and-metrics.md).
## Step 10 - Maintain
Re-run the clustering pass after publication and compare. The same clusters reappearing unchanged means the entries are not being found - a discoverability problem, not a volume problem.
Book the maintenance triggers now:
- A release that changes an error's text or cause updates the entry in the same release.
- A shipped fix retires the known-issues entry.
- A dead escape-hatch channel gets fixed everywhere it appears.
Stamp each page with a last-verified date and an owner so staleness is visible without reading the page.
If your environment has persistent memory, store the durable decisions:
- the signal sources and their export paths
- the agreed cluster ranking
- the negotiated coverage target
- the clusters deliberately routed away from docs, and why
The next pass is a diff against those; re-deriving them each cycle is where this work usually dies.
## Invocation examples and expected output
Typical invocations:
- "turn our support tickets into troubleshooting docs"
- "we need a page for every error code"
- "the same three errors flood Discord every week"
- "our error docs exist but nobody finds them"
- "write a known-issues page for the 2.0 release"
A full pass returns four artefacts, in this order:
1. **Ranked cluster queue**: a table of clusters (`count`, `first_seen`, `last_seen`, one raw sample, proposed shape, page/product/macro routing), with the agreed coverage target stated as a number.
2. **Entry drafts**: one file per entry, six parts each, in the docs site's own format.
3. **Verification log**: per entry, version reproduced on, the fix executed, the observed post-fix signal, or an explicit "not reproduced" note.
4. **Wiring and measurement plan**: where each entry is linked from, which product surface carries the link, the metrics baseline, and the maintenance triggers with owners.
Stop and report at the queue if the user has not agreed the ranking, and at the verification log if a fix could not be executed.
## Failure modes
| Failure | What it looks like | Fix |
| ------------------------- | ------------------------------------------------------------ | ----------------------------------------------------------------------------------------- |
| Imagined failures | Entries for errors nobody hit | Write only from clustered evidence |
| One page per ticket | Six pages, one cause | Cluster first, then write |
| Most-frequent-first queue | The rare failure that costs days per reader is never written | Rank by reader-hours unblocked per writing hour; promote incident-review clusters by hand |
| Missing error string | "Authentication problems" as the title | Verbatim string in title, heading and body |
| Prettified message | Cleaned-up, re-wrapped error text | Copy from a real run, placeholder only the variable parts |
| Cause without fix | Explains the subsystem, no steps | Numbered steps, branched per cause |
| Fix without confirmation | Reader cannot tell it worked | State the expected post-fix signal |
| Unverified fix | Steps written from memory | Reproduce and execute before publishing |
| Healthy-machine steps | Commands that assume a working setup | State prerequisites and the per-step failure branch |
| Documenting a defect | A page that exists because the message is bad | Route to the product; note it in the queue |
| Hand-synced catalog | Docs table and code enum disagree | Generate both from one source file |
| Folklore statistics | "$25 per deflected ticket" in the business case | Use the team's own numbers or say it is unknown |
| Stale retrieval index | Corrected page, wrong AI answer | Re-index on the content-change trigger |
| Dead escape hatch | "Contact support" pointing at a closed channel | Name a watched channel and the attachments to include |
| Zombie known issues | Entries for bugs fixed three releases ago | Retire on release, with a version note |
## References
- [./references/signal-mining.md](./references/signal-mining.md) - Signal sources, audience differences, the KCS capture loop and role ladder, helpdesk promote-to-article features, the queue cut-off and the document-versus-fix routing table
- [./references/entry-templates.md](./references/entry-templates.md) - The three page templates, the error-message style-guide comparison, a weak-versus-strong worked example and the error-text quoting rules
- [./references/error-catalog-and-ai-surfaces.md](./references/error-catalog-and-ai-surfaces.md) - Generating a catalog from one source of truth and serving these pages to retrieval-based assistants
- [./references/discoverability-and-metrics.md](./references/discoverability-and-metrics.md) - Findability wiring, the verification protocol, sourced benchmarks, metrics and maintenance triggers
- samber/developer-relations-skills@coding-agent-docs-optimization - Designing machine-facing entry points across a whole SDK or API surface
- samber/developer-relations-skills@devrel-metrics - The wider measurement framework
- samber/developer-relations-skills@oss-issue-triage - Routes a repeat-question issue into a new troubleshooting entry instead of leaving it open文档办公
为结构化的代理内存和可堆肥技能所打入的知识图. 在创建/征服实体(Person, project, Task, Evention, Document)时使用,链接相关对象,强制约束,规划多步动作作为图变,或技能需要共享状态时使用. 触发到"记住","我知道什么","链接X到Y",…
文档办公
使用纳米-pdf CLI编辑带有自然语言指令的PDF.
文档办公
创建,检查,并编辑有可靠样式的Microsoft Word文档和DOCX文件,编号,跟踪更改,表格,章节,并进行相容性检查. 当 (1) 任务涉及 Word 或 ".docx " 时使用; (2) 文件包括跟踪的更改,评论,字段,表格,模板,或页面布局限制; (3) 文档必须在不…
文档办公
使用Baidu AI搜索引擎(BDSE)搜索网页. 用于实时信息、文件或研究专题.