prompt-engineering-patterns
86优化生产环境 LLM 提示词
LLM 提示词经常失败,是因为指令、示例和评估标准不清晰。此技能提供模板和工作流,用于改进 Claude、Codex、Claude Code 以及类似工具中的提示词。
安全地实施分布式追踪
分布式服务使得跨请求路径追踪延迟和故障变得困难。此技能指导 OpenTelemetry、Jaeger 和 Tempo 的设置,帮助团队检查 spans、依赖关系和瓶颈。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "distributed-tracing" from https://skillstore.io/skills/wshobson-distributed-tracing.md and its manifest at https://skillstore.io/api/skills/wshobson-distributed-tracing/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“distributed-tracing”。 找出 checkout 请求在五个服务之间变慢的原因。
预期结果:
一份 trace 分析计划,用于比较 span 持续时间、突出 gateway 和 database 片段,并列出需要验证的可能瓶颈。
正在使用“distributed-tracing”。 为新的 API 服务添加追踪。
预期结果:
一份实用的插桩检查清单,涵盖 tracer 设置、路由 spans、下游 context 传播、错误记录和安全的 attribute 命名。
正在使用“distributed-tracing”。 准备将 Tempo 用于生产环境。
预期结果:
一份部署审查,涵盖存储、采样、保留、collector 端点、安全控制和 dashboard 集成。
The static findings are mostly false positives caused by Markdown code fences, language examples, and visible example URLs in SKILL.md. I found no prompt injection, covert command execution, credential collection, or data exfiltration intent. Two production safety issues remain around sensitive trace metadata and unpinned container images.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/wshobson-distributed-tracing/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/wshobson-distributed-tracing?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/wshobson-distributed-tracing?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/wshobson-distributed-tracing/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/wshobson-distributed-tracing.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>wshobson. (2026). distributed-tracing security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/wshobson-distributed-tracing/audits/8@techreport{wshobson-wshobson-distributed-tracing-2026,
author = {wshobson},
title = {distributed-tracing security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/wshobson-distributed-tracing/audits/8},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "distributed-tracing security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "wshobson"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/wshobson-distributed-tracing/audits/8"
identifiers:
- type: other
value: "skillstore:wshobson-distributed-tracing:audit:8"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
跨 frontend、gateway、service 和 database spans 追踪慢请求,以定位瓶颈。
使用一致的服务名称和 spans,为 Python、Node.js 或 Go 服务添加 OpenTelemetry 追踪。
在部署前比较 Jaeger 和 Tempo 设置模式、采样选择以及 trace 存储考量。
帮我为三个使用 OpenTelemetry 和 Jaeger 的微服务设计一个基础分布式追踪计划。包括服务名称、首批 spans,以及安全的采样率。
审查我的服务流程,并建议 OpenTelemetry spans、attributes 和 context 传播点。避免收集密钥或个人数据。
Traces 没有出现在 Jaeger 中。请带我检查端点、采样、context 传播以及应用日志。
为使用 Tempo 的 Kubernetes 服务创建一套生产环境追踪策略。涵盖采样、保留、attribute 脱敏、传输安全和告警。
作者
wshobson许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
36e07d5e13068e5be64447e8f20b427cf2cbd21a
维护新鲜度
2026/7/22
使用量
9 次下载 · 268 次浏览
文件结构
📄 SKILL.md
优化生产环境 LLM 提示词
LLM 提示词经常失败,是因为指令、示例和评估标准不清晰。此技能提供模板和工作流,用于改进 Claude、Codex、Claude Code 以及类似工具中的提示词。
管理上下文驱动开发
当产品目标、技术栈选择和工作流规则分散各处时,AI 辅助项目会失去一致性。此技能通过 Conductor 上下文工件指导 Claude、Codex 和 Claude Code。
构建初创公司财务模型
初创团队在规划招聘、融资和现金使用之前,需要清晰的预测。此技能将收入、成本、资金可支撑时间和情景分析组织成实用的财务规划输出。
设计推动决策的 KPI 仪表板
团队经常构建展示大量数字却无法指导行动的仪表板。此技能可帮助 Claude、Codex 和 Claude Code 选择有意义的 KPI、组织视图,并清晰呈现指标。
编写无责事故复盘
事故评审常常变得不一致、侧重追责,或难以转化为行动。此技能帮助 Claude、Codex 和 Claude Code 起草结构化复盘,包含清晰的时间线、根本原因和负责人。
构建清晰的数据故事
原始指标往往难以说服利益相关者或支持决策。此技能帮助 Claude、Codex 和 Claude Code 将分析塑造成清晰的叙事、视觉呈现和建议。
使用 Application Insights 检测 Azure 应用
由 microsoft
为 Azure 托管的应用添加可靠遥测,在不同框架和部署模型中可能很困难。此技能提供简明的 Application Insights 设置指导、SDK 参考和 Azure 配置模式。
用来源回答 OpenTelemetry 问题
由 ANcpLua
OpenTelemetry 工作通常需要精确的语义约定和配置细节。此技能会搜索捆绑的 OTel 文档,并为 instrumentation、collector 设置和 OTLP 决策返回带来源的指导。
为 Python 配置 Azure Monitor OpenTelemetry
由 sickn33
Python 团队需要可靠的可观测性,同时避免在 Web 框架和后台服务中进行复杂设置。此技能针对跟踪、指标、日志、采样以及 Application Insights 配置提供聚焦的 Azure Monitor OpenTelemetry 指导。
设计生产环境可观测性系统
由 sickn33
如果无法通过指标、日志、追踪和告警获得清晰信号,生产系统就会发生故障。此技能可设计可观测性策略,以提升可靠性、事件响应能力和成本控制。
使用 Azure Monitor 为 Node.js 应用插桩
由 sickn33
团队需要在 Node.js 应用中获得可靠的遥测能力,而无需手工构建每个 OpenTelemetry 组件。此技能展示用于追踪、指标、日志、采样和关闭处理的 Azure Monitor 设置模式。
通过引导步骤部署 Kubernetes 工作负载
由 sickn33
Kubernetes 发布需要许多协调一致的制品和检查。此技能指导容器准备、清单、Helm charts、服务网格、安全性、可观测性和部署验证。