prompt-engineering-patterns
86优化生产环境 LLM 提示词
LLM 提示词经常失败,是因为指令、示例和评估标准不清晰。此技能提供模板和工作流,用于改进 Claude、Codex、Claude Code 以及类似工具中的提示词。
设计更好的 PostgreSQL 表
PostgreSQL schema 选择会影响正确性、性能和长期维护。此 skill 为 Claude、Codex 和 Claude Code 提供关于表设计、索引、约束和迁移的实用规则。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "postgresql-table-design" from https://skillstore.io/skills/wshobson-postgresql-table-design.md and its manifest at https://skillstore.io/api/skills/wshobson-postgresql-table-design/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“postgresql-table-design”。 Design user and order tables for an ecommerce service.
预期结果:
正在使用“postgresql-table-design”。 Review a table that stores many optional profile fields in JSONB.
预期结果:
正在使用“postgresql-table-design”。 Plan a migration that adds fields to a large table.
预期结果:
All static findings are false positives from Markdown backticks, fenced SQL examples, and PostgreSQL terminology in SKILL.md. No prompt injection, credential handling, network access, filesystem access, or executable command behavior was found.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/wshobson-postgresql-table-design/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/wshobson-postgresql-table-design?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/wshobson-postgresql-table-design?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/wshobson-postgresql-table-design/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/wshobson-postgresql-table-design.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). postgresql-table-design security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/wshobson-postgresql-table-design/audits/8@techreport{wshobson-wshobson-postgresql-table-design-2026,
author = {wshobson},
title = {postgresql-table-design security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/wshobson-postgresql-table-design/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: "postgresql-table-design security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "wshobson"
date-released: "2026-07-08"
url: "https://skillstore.io/skills/wshobson-postgresql-table-design/audits/8"
identifiers:
- type: other
value: "skillstore:wshobson-postgresql-table-design:audit:8"
description: "Skillstore immutable audit report identifier"
在实现前,设计具备正确 keys、constraints、timestamps 和 indexes 的规范化 PostgreSQL 表。
检查 indexes、partitioning、fillfactor、JSONB 使用方式和写入模式是否匹配预期查询。
评估 DDL 计划中的 locking、rewrites、concurrent index creation 和依赖风险。
Design PostgreSQL tables for this feature. Include keys, required fields, data types, constraints, and essential indexes: [requirements].
Review this PostgreSQL schema for data type choices, constraints, indexes, and normalization issues: [schema description].
Given these PostgreSQL tables and queries, recommend indexes and explain write cost tradeoffs: [tables and query patterns].
Create a safe PostgreSQL schema evolution plan for this large table. Address locks, rewrites, backfills, and rollback steps: [change request].
作者
wshobson许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
64ca8af0f54a325752f08bd54e52151061ea659a
维护新鲜度
2026/7/21
使用量
18 次下载 · 200 次浏览
文件结构
📄 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 将分析塑造成清晰的叙事、视觉呈现和建议。
使用最佳实践设计 PostgreSQL 模式
由 sickn33
如果数据类型、约束、索引和迁移缺少工作负载上下文,PostgreSQL 模式设计就可能失败。此技能会将实体、访问模式和规模目标转化为 PostgreSQL 专属的设计指导。
设计生产数据库架构
由 softaworks
团队需要既能保持数据完整性,又能在产品增长时维持高性能的架构。此技能可将领域需求转化为带有索引、约束和迁移指导的 SQL 或 MongoDB 设计。
优化 PostgreSQL 性能
由 sickn33
缓慢的 PostgreSQL 系统在变更前需要结构化分析。此技能可指导查询调优、索引规划、配置审查、维护和监控。
更快优化 SQL 查询
由 sickn33
慢查询会增加应用延迟和数据库成本。此技能可指导索引设计、EXPLAIN 审查和查询重写,以提升 SQL 性能。
优化数据库性能
由 sickn33
慢查询和薄弱的数据库设计会增加延迟、成本和事故风险。此技能可指导跨数据库平台进行查询调优、索引、缓存、扩展和监控。
优化 Supabase Postgres 性能
由 supabase
慢查询和架构漂移会让 Postgres 应用难以扩展。此技能为 AI 智能体提供基于 Supabase 的索引、RLS、连接池和诊断规则。