prompt-engineering-patterns
86优化生产环境 LLM 提示词
LLM 提示词经常失败,是因为指令、示例和评估标准不清晰。此技能提供模板和工作流,用于改进 Claude、Codex、Claude Code 以及类似工具中的提示词。
生成 OpenAPI 规范
API 团队需要准确的契约来支持文档、验证和 SDK 生成。此技能提供 OpenAPI 3.1 模式、模板和工具使用指导。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "openapi-spec-generation" from https://skillstore.io/skills/wshobson-openapi-spec-generation.md and its manifest at https://skillstore.io/api/skills/wshobson-openapi-spec-generation/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“openapi-spec-generation”。 记录用户管理 API 的请求。
预期结果:
正在使用“openapi-spec-generation”。 准备用于 SDK 生成的规范的请求。
预期结果:
正在使用“openapi-spec-generation”。 改进现有 API 契约的请求。
预期结果:
The flagged patterns are false positives from Markdown code fences, sample OpenAPI URLs, resource links, UUID schema examples, and generic error responses. No prompt injection, hidden command execution, credential access, or data exfiltration intent was found in SKILL.md.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/wshobson-openapi-spec-generation/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/wshobson-openapi-spec-generation?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/wshobson-openapi-spec-generation?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/wshobson-openapi-spec-generation/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/wshobson-openapi-spec-generation.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). openapi-spec-generation security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/wshobson-openapi-spec-generation/audits/8@techreport{wshobson-wshobson-openapi-spec-generation-2026,
author = {wshobson},
title = {openapi-spec-generation security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/wshobson-openapi-spec-generation/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: "openapi-spec-generation security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "wshobson"
date-released: "2026-07-08"
url: "https://skillstore.io/skills/wshobson-openapi-spec-generation/audits/8"
identifiers:
- type: other
value: "skillstore:wshobson-openapi-spec-generation:audit:8"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
在实现前起草 OpenAPI 3.1 规范,包括路径、请求体、错误和身份验证。
将 FastAPI 或 TypeScript 控制器模式转换为面向内部和外部消费者的一致 OpenAPI 规范。
在为多种语言生成客户端库之前,验证、打包并组织 OpenAPI 文件结构。
为一个简单的资源 API 创建 OpenAPI 3.1 草稿。包括路径、模式、示例、错误和 bearer 身份验证。
审查此 OpenAPI 文件,检查缺失的 operation IDs、不完整的响应覆盖、模式复用和不清晰的描述。
使用此 FastAPI 或 tsoa 代码设计匹配的 OpenAPI 契约。突出实现与已记录行为之间的差距。
为此 OpenAPI 规范设计验证工作流,包括 linting、打包、破坏性变更检查和 SDK 生成就绪性。
作者
wshobson许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
64ca8af0f54a325752f08bd54e52151061ea659a
维护新鲜度
2026/7/22
使用量
12 次下载 · 242 次浏览
文件结构
📄 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 将分析塑造成清晰的叙事、视觉呈现和建议。
创建清晰的 API 文档
由 supercent-io
API 团队需要准确的文档来说明端点、架构、身份验证和错误。此技能可将 API 细节转化为结构化参考文档和指南。
创建准确的 API 文档
由 sickn33
当规范、示例和门户与真实行为不一致时,API 团队会浪费时间。此技能指导 Claude、Codex 和 Claude Code 创建准确且可维护的 API 文档。
生成清晰的 API 文档
由 sickn33
当端点行为不清晰时,API 团队常常会浪费时间。此技能可将代码和示例转化为结构化、对开发者友好的文档。
生成 API 文档
由 zhangchenlai-dev
手动编写的 API 文档往往落后于代码,并给开发者造成困惑。此技能可根据可用代码或端点详情,帮助生成 OpenAPI 草稿、请求示例和 Postman collection 指南。
生成可维护的代码文档
由 sickn33
手动文档通常会落后于活跃代码。此技能可帮助 Claude、Codex 和 Claude Code 创建清晰的文档和自动化计划。
创建完整的技术文档
由 89jobrien
技术团队需要覆盖 API、发布和迁移的清晰文档。此技能可使用模板和实用示例创建结构化文档。