prompt-engineering-patterns
86优化生产环境 LLM 提示词
LLM 提示词经常失败,是因为指令、示例和评估标准不清晰。此技能提供模板和工作流,用于改进 Claude、Codex、Claude Code 以及类似工具中的提示词。
构建 Node.js 后端服务
团队需要可重复使用的 Node.js 后端模式,覆盖路由、安全、数据访问和运维。此技能提供实用的 Express 和 Fastify 示例,用于构建可维护的 API 和服务。
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "nodejs-backend-patterns" from https://skillstore.io/skills/wshobson-nodejs-backend-patterns.md and its manifest at https://skillstore.io/api/skills/wshobson-nodejs-backend-patterns/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“nodejs-backend-patterns”。 为 TypeScript Node.js 服务设计一个可维护的用户 API。
预期结果:
一份分层计划,包含控制器职责、服务方法、仓储边界、校验中间件、错误处理和响应约定。
正在使用“nodejs-backend-patterns”。 为现有 Express 应用添加身份验证和速率限制。
预期结果:
一份安全实现大纲,覆盖令牌验证、角色检查、更严格的身份验证端点限制、基于环境的密钥和安全错误响应。
正在使用“nodejs-backend-patterns”。 改进不断增长的后端的数据库和缓存处理。
预期结果:
关于连接池、事务边界、Redis 缓存键、失效策略、关闭行为和监控关注点的建议。
Most static findings are false positives caused by Markdown code fences, TypeScript imports, and normal environment configuration examples. One static network finding is confirmed because the Fastify example binds to all interfaces, and semantic review found unsafe dynamic SQL, permissive CORS, and unbounded Redis key deletion guidance.
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/wshobson-nodejs-backend-patterns/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/wshobson-nodejs-backend-patterns?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/wshobson-nodejs-backend-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/wshobson-nodejs-backend-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/wshobson-nodejs-backend-patterns.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). nodejs-backend-patterns security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/wshobson-nodejs-backend-patterns/audits/8@techreport{wshobson-wshobson-nodejs-backend-patterns-2026,
author = {wshobson},
title = {nodejs-backend-patterns security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/wshobson-nodejs-backend-patterns/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: "nodejs-backend-patterns security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "wshobson"
date-released: "2026-07-08"
url: "https://skillstore.io/skills/wshobson-nodejs-backend-patterns/audits/8"
identifiers:
- type: other
value: "skillstore:wshobson-nodejs-backend-patterns:audit:8"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
创建包含中间件、控制器、服务、仓储和一致响应格式的 Express 或 Fastify 服务布局。
为 Node.js API 添加 JWT 身份验证、角色检查、速率限制、校验和生产安全的错误处理。
使用共享的 Node.js 模式处理数据库访问、依赖注入、缓存、事务和运维就绪性。
使用 nodejs-backend-patterns 设计一个小型 Express API,包含路由、中间件、校验和一致的响应格式。
使用 nodejs-backend-patterns 将我的 Node.js API 重构为控制器、服务、仓储和依赖注入层。
使用 nodejs-backend-patterns 实现 JWT 登录、刷新令牌、角色授权、速率限制和生产错误处理。
使用 nodejs-backend-patterns 审计我的后端设计,包括数据库连接池、事务、缓存、优雅关闭、可观测性和 API 一致性。
作者
wshobson许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
64ca8af0f54a325752f08bd54e52151061ea659a
维护新鲜度
2026/7/21
使用量
14 次下载 · 326 次浏览
文件结构
📄 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
由 alirezarezvani
后端项目通常需要在 API、数据库、安全和部署方面保持一致的规划。此技能通过简单的辅助脚本和参考资料,为 Claude、Codex 和 Claude Code 提供结构化的后端指导。
设计更好的 REST 和 GraphQL API
由 supercent-io
API 团队需要在实现开始之前建立一致的契约。此技能可指导资源设计、请求格式、错误、版本控制和文档编写。
构建生产级 Laravel 功能
由 sickn33
Laravel 项目需要一致的架构、验证、安全性和性能规范。此技能会引导 Claude、Codex 和 Claude Code 采用符合 Laravel 惯用方式的解决方案。
使用可复用模式构建 FastAPI API
由 0xDarkMatter
FastAPI 项目需要在验证、依赖项、中间件和后台工作方面保持一致选择。此 skill 为 Claude、Codex 和 Claude Code 提供可复用模式,用于实用的 Python API 开发。
设计可靠的 REST 和 GraphQL API
由 AutumnsGrove
API 团队需要一致的端点、身份验证和文档。此技能指导 REST、GraphQL、OpenAPI、版本控制和安全设计决策。
在资深指导下构建全栈应用
由 alirezarezvani
全栈项目通常需要一致的设置、架构选择和质量检查。此技能为 React、Next.js、Node.js、GraphQL 和 PostgreSQL 工作提供脚本与参考资料。