# Send Drizzle to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "drizzle",
    "name": "Drizzle",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/ivangdavila/drizzle",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/drizzle",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/drizzle",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=drizzle",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "drizzle",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T06:09:19.981Z",
      "expiresAt": "2026-05-08T06:09:19.981Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=drizzle",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=drizzle",
        "contentDisposition": "attachment; filename=\"drizzle-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "drizzle"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/drizzle"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/drizzle",
    "downloadUrl": "https://openagent3.xyz/downloads/drizzle",
    "agentUrl": "https://openagent3.xyz/skills/drizzle/agent",
    "manifestUrl": "https://openagent3.xyz/skills/drizzle/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/drizzle/agent.md"
  }
}
```
## Documentation

### Schema Definition

Export every table from schema file — queries fail silently if table isn't exported
Use $inferSelect for query return types, $inferInsert for insert input — they differ (select has defaults filled, insert has optionals)
Define relations() in a separate call, not inline with table — Drizzle separates schema from relations

### Query Syntax Traps

Conditions use functions, not objects: where: eq(users.id, 5) not where: { id: 5 } — Prisma syntax doesn't work
Combine conditions with and() / 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 errors

### Migrations

drizzle-kit push is dev-only (destructive) — production needs drizzle-kit generate then drizzle-kit migrate
Schema changes require regenerating migrations — editing generated SQL breaks the migration hash
Set strict: true in drizzle.config.ts to catch schema drift before it hits production

### Driver-Specific

PostgreSQL: use pgTable, imports from drizzle-orm/pg-core
MySQL: use mysqlTable, imports from drizzle-orm/mysql-core
SQLite: use sqliteTable, imports from drizzle-orm/sqlite-core
Mixing imports across drivers compiles but fails at runtime with cryptic errors

### Performance

Wrap multi-query operations in db.transaction(async (tx) => {}) — Drizzle doesn't auto-batch
Use .prepare() for queries executed repeatedly — skips query building overhead
Add .limit() to every findMany() / select() — no default limit means full table scans

### Common Mistakes

Forgetting await on queries returns a Promise, not results — TypeScript doesn't catch this if you ignore the return
returning() is required to get inserted/updated rows back — without it you get { rowCount } only
JSON columns: PostgreSQL uses jsonb(), MySQL uses json() — wrong function = wrong serialization
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T06:09:19.981Z
- Expires at: 2026-05-08T06:09:19.981Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/drizzle)
- [Send to Agent page](https://openagent3.xyz/skills/drizzle/agent)
- [JSON manifest](https://openagent3.xyz/skills/drizzle/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/drizzle/agent.md)
- [Download page](https://openagent3.xyz/downloads/drizzle)