重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
drizzle-best-practices by honra-io/drizzle-best-practices
npx skills add https://github.com/honra-io/drizzle-best-practices --skill drizzle-best-practices适用于 Drizzle ORM 与 PostgreSQL 的全面最佳实践指南。包含 8 个类别的指导,按影响优先级排序,帮助您编写正确、高性能且可维护的数据库代码。
在以下情况下参考这些指南:
pgTable 定义表结构defineRelations 或旧的 relations API 设置表间关系drizzle-kit(generate、push、pull)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 优先级 | 类别 | 影响 | 前缀 |
|---|---|---|---|
| 1 | 架构设计 | 关键 | schema- |
| 2 | 查询模式 | 关键 | query- |
| 3 | 关系 | 高 | relations- |
| 4 | 迁移 | 高 | migrations- |
| 5 | 类型安全 | 中高 | types- |
| 6 | 性能 | 中 | perf- |
| 7 | 数据库驱动 | 中 | driver- |
| 8 | 高级模式 | 低 | advanced- |
阅读单独的参考文件以获取详细解释和代码示例:
references/engine-postgres.md # Postgres 特定类型、功能和模式
references/schema-table-definitions.md
references/query-select-patterns.md
references/relations-defining.md
references/_sections.md # 所有参考文件的完整索引
每个参考文件包含:
每周安装量
66
代码仓库
GitHub 星标
6
首次出现
2026年2月15日
安全审计
安装于
opencode65
codex65
github-copilot64
cursor64
gemini-cli63
amp63
Comprehensive best practices guide for Drizzle ORM with PostgreSQL. Contains guidance across 8 categories, prioritized by impact to help you write correct, performant, and maintainable database code.
Reference these guidelines when:
pgTabledefineRelations or the legacy relations APIdrizzle-kit for migrations (generate, push, pull)| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Schema Design | CRITICAL | schema- |
| 2 | Query Patterns | CRITICAL | query- |
| 3 | Relations | HIGH | relations- |
| 4 | Migrations | HIGH | migrations- |
| 5 | Type Safety |
Read individual reference files for detailed explanations and code examples:
references/engine-postgres.md # Postgres-specific types, features, and patterns
references/schema-table-definitions.md
references/query-select-patterns.md
references/relations-defining.md
references/_sections.md # Full index of all references
Each reference file contains:
Weekly Installs
66
Repository
GitHub Stars
6
First Seen
Feb 15, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode65
codex65
github-copilot64
cursor64
gemini-cli63
amp63
Tailwind CSS v4 + shadcn/ui 生产级技术栈配置指南与最佳实践
2,600 周安装
| MEDIUM-HIGH |
types- |
| 6 | Performance | MEDIUM | perf- |
| 7 | Database Drivers | MEDIUM | driver- |
| 8 | Advanced Patterns | LOW | advanced- |