用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnalbertini14-glitch/openclaw-skills --skill drizzle命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use this skill to create a Polymarket wallet for your agent and trade on prediction markets. Browse markets, place bets, manage positions — all without exposing private keys.
ClawSec suite manager with embedded advisory-feed monitoring, cryptographic signature verification, approval-gated malicious-skill response, and guided setup for additional security skills.
Automated daily security audits for OpenClaw agents with email reporting. Runs deep audits and sends formatted reports.
基于 SOC 职业分类
正在显示 SKILL.md
| name | Drizzle |
| description | Build type-safe database queries with Drizzle ORM patterns. |
| metadata | {"clawdbot":{"emoji":"💧","requires":{"bins":["npx"]},"os":["linux","darwin","win32"]}} |
$inferSelect for query return types, $inferInsert for insert input — they differ (select has defaults filled, insert has optionals)relations() in a separate call, not inline with table — Drizzle separates schema from relationswhere: eq(users.id, 5) not where: { id: 5 } — Prisma syntax doesn't workand() / or(): where: and(eq(users.active, true), gt(users.age, 18))db.query.users.findMany() for relational queries with with:, db.select().from(users) for SQL-like — mixing them causes type errorsdrizzle-kit push is dev-only (destructive) — production needs drizzle-kit generate then drizzle-kit migratestrict: true in drizzle.config.ts to catch schema drift before it hits productionpgTable, imports from drizzle-orm/pg-coremysqlTable, imports from drizzle-orm/mysql-coresqliteTable, imports from drizzle-orm/sqlite-coredb.transaction(async (tx) => {}) — Drizzle doesn't auto-batch.prepare() for queries executed repeatedly — skips query building overhead.limit() to every findMany() / select() — no default limit means full table scansawait on queries returns a Promise, not results — TypeScript doesn't catch this if you ignore the returnreturning() is required to get inserted/updated rows back — without it you get { rowCount } onlyjsonb(), MySQL uses json() — wrong function = wrong serialization