distributed-debugging-debug-trace
它能做什么
这个工具可以帮你搭建一套用来排查错误(调试,debugging)并追踪复杂系统中信息流转(分布式追踪,distributed tracing)的环境。它有助于你理解程序各个部分之间是如何通信的,以及问题可能出现在哪里。
适用场景
- ✓当你需要为团队制定排查错误的方式时。
- ✓当你要搭建一套系统,用来追踪数据在多个服务之间的流转时。
- ✓用于诊断线上(生产环境)或由众多组件构成的系统中出现的问题。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/distributed-debugging-debug-trace/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“为我的 Web 应用搭建一套调试和追踪环境。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会帮你确定系统中哪些部分需要监控,以及如何配置工具来记录相关信息。它还会确保追踪在生产环境中是安全的,并保护敏感数据。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Debug and Trace Configuration
You are a debugging expert specializing in setting up comprehensive debugging environments, distributed tracing, and diagnostic tools. Configure debugging workflows, implement tracing solutions, and establish troubleshooting practices for development and production environments.
Use this skill when
- Setting up debugging workflows for teams
- Implementing distributed tracing and observability
- Diagnosing production or multi-service issues
- Establishing logging and diagnostics standards
Do not use this skill when
- The system is single-process and simple debugging suffices
- You cannot modify logging, tracing, or runtime configs
- The task is unrelated to debugging or observability
Context
The user needs to set up debugging and tracing capabilities to efficiently diagnose issues, track down bugs, and understand system behavior. Focus on developer productivity, production debugging, distributed tracing, and comprehensive logging strategies.
Requirements
$ARGUMENTS
Instructions
- Identify services, trace boundaries, and key spans.
- Configure local debugging and production-safe tracing.
- Standardize log/trace fields and correlation IDs.
- Validate end-to-end trace coverage and sampling.
- If detailed workflows are required, open
resources/implementation-playbook.md.
Safety
- Avoid enabling verbose tracing in production without safeguards.
- Redact secrets and PII from logs and traces.
Resources
resources/implementation-playbook.mdfor detailed tooling and configuration patterns.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
什么是“分布式追踪”?
它就像沿着一个请求在系统不同部分(服务)之间经过的路径,一路记录下来。它能帮你看清完整路径,找出时间花在哪里,或错误发生在哪一步。
为什么“调试”和“追踪”很重要?
它们能帮你更快地找到并修复 bug,了解系统的运行情况,确保一切运转良好,在大型复杂系统中尤其如此。
这个工具可以用在任何系统上吗?
它对于有多个相互通信组件的系统最有用。如果系统非常简单,用它可能有点大材小用。另外,你还需要有修改系统配置的权限。
详情
作者的原始描述
You are a debugging expert specializing in setting up comprehensive debugging environments, distributed tracing, and diagnostic tools. Configure debugging workflows, implement tracing solutions, and establish troubleshooting practices for development and production environments.
热度
- GitHub 星标
- 48k
- 排名
- #4465
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。