Agent skill

Typescript Bun Drizzle Quality

by databuddy-analytics in databuddy-analytics/Databuddy

Build or review Bun fullstack TypeScript code with Drizzle-backed SQL.

AGPL-3.0Auto-check passedDatabases

Install Typescript Bun Drizzle Quality

skills CLI
$ npx skills add databuddy-analytics/Databuddy --skill typescript-bun-drizzle-quality -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install databuddy-analytics/Databuddy typescript-bun-drizzle-quality --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/databuddy-analytics/Databuddy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/bun-fullstack .claude/skills/typescript-bun-drizzle-quality && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
typescript-bun-drizzle-quality
GitHub stars
1.2k
Token cost
~1.8k tokens
SKILL.md length
881 words
Files
8 (incl. references)
Skills in repo
8
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Build or review Bun fullstack TypeScript code with Drizzle-backed SQL.

  • Works in 6 steps: Define Constraints First → Adapt to the Host Repository → Fullstack Testing with Bun (Required) → …
  • Cross-layer changes touching API/domain logic
  • SKILL.md covers Repository Overrides (Required…, Track Selection, 1) Define Constraints First and 2) Adapt to the Host Repository, plus 6 more sections
  • Calls bun

What it does

Typescript Bun Drizzle Quality is an agent skill from databuddy-analytics/Databuddy. Build or review Bun fullstack TypeScript code with Drizzle-backed SQL. Use for backend or cross-layer changes touching API/domain logic, schema or query design, migrations, runtime/type debugging, and boundary validation between contracts, business rules, and persistence.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/drizzle-patterns.md`, `references/examples/api-boundary.md` and `references/examples/drizzle-transaction.md`).

It sits in Databases, covering ORMs and data access. It works with TypeScript and SQL. The repository describes itself as: Open-source product analytics for startups: track visitors, events, funnels, and goals without cookies, and ask Databunny, the built-in AI analyst. Uptime, feature flags, and… The licence is AGPL-3.0.

When your agent uses it

  • Cross-layer changes touching API/domain logic
  • Runtime/type debugging
  • Boundary validation between contracts

Example prompts

  • “/typescript-bun-drizzle-quality”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Define Constraints First
  2. Adapt to the Host Repository
  3. Fullstack Testing with Bun (Required)
  4. App/API Logic Track
  5. Data Layer Track
  6. Fullstack Integration Track

What it can do on your machine

Read from SKILL.md and the folder at commit c942138. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • orm.drizzle.team
    • bun.sh
    • zod.dev
    • turbo.build

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Typescript Bun Drizzle Quality loads about 1.8k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 76 tokens; SKILL.md has 881 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from databuddy-analytics/Databuddy at commit c942138, republished under its AGPL-3.0 licence (© databuddy-analytics). 881 words, ~1,834 tokens.

Download SKILL.mdSave it as .claude/skills/typescript-bun-drizzle-quality/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
typescript-bun-drizzle-quality
description
Build or review Bun fullstack TypeScript code with Drizzle-backed SQL. Use for backend or cross-layer changes touching API/domain logic, schema or query design, migrations, runtime/type debugging, and boundary validation between contracts, business rules, and persistence.

TypeScript Bun Drizzle Quality

Use this as an umbrella fullstack skill for Bun + TypeScript + Drizzle work.

For slop-reduction/refactor passes focused on deleting custom helpers/types/assertions, use ../desloppify/SKILL.md alongside this skill.

Deliver production-grade code by optimizing for:

  • type safety and clarity
  • predictable runtime behavior in Bun
  • correct and reversible data changes with Drizzle
  • clean contract boundaries between API, domain logic, and persistence

Repository Overrides (Required When Present)

Always follow repository-level agent rules (for example AGENTS.md) when they are stricter than this skill.

In this repository, enforce these defaults while using this skill:

  • keep things in one function unless extraction is clearly reusable
  • avoid try/catch where practical; prefer explicit control flow
  • avoid else; prefer early returns
  • avoid any and broad assertions
  • prefer single-word names when possible
  • avoid unnecessary destructuring; prefer dot access
  • prefer functional array methods over loops when practical
  • prefer Bun-native APIs like Bun.file() where practical
  • run tests from package directories, not repository root, when root test is guarded

Track Selection

Choose the track before coding:

  1. App/API logic track
    • Use when changing handlers, services, orchestration, auth, or domain rules.
  2. Data layer track
    • Use when changing Drizzle schema, migrations, indexes, transactions, or query shape.
  3. Fullstack integration track
    • Use when changes cross boundaries (API contract + domain behavior + database effects).

If multiple tracks apply, run App/API first, then Data layer, then Integration checks.

1) Define Constraints First

Before coding, pin down:

  • runtime: Bun version and package manager commands
  • database: SQL dialect (Postgres/MySQL/SQLite/Turso) and migration flow
  • API shape: request/response contracts and error model
  • compatibility: expected behavior changes vs strict backward compatibility

If context is missing, ask only for blocking details. Otherwise proceed with explicit assumptions.

2) Adapt to the Host Repository

Distill practices into the target repository instead of assuming fixed commands or structure.

Before implementation or review:

  • inspect workspace scripts to discover quality gates (typecheck, lint/format, test)
  • inspect CI workflows to confirm which checks are required in pull requests
  • identify local test taxonomy and map commands to:
    • unit tests
    • integration tests
    • e2e tests
  • run only the smallest relevant subset for touched code paths

Do not assume naming conventions like test:unit or test:e2e; infer from scripts and workflow usage.

3) Fullstack Testing with Bun (Required)

Treat test design and test execution as first-class implementation work.

Use this decision flow:

  1. classify repository test commands by behavior into unit, integration, and e2e
  2. map touched files/modules to the smallest package/service-local commands
  3. if root test is guarded (for example intentionally fails), do not run tests from root
  4. run required layers in order: unit -> integration -> e2e, based on scope/risk
  5. ensure CI-required checks for pull requests are represented in local verification
  6. if no explicit integration suite exists, treat boundary tests (API + real DB or equivalent) as integration coverage and call it out

Technical expectations for Bun repositories:

  • use Bun test runner features intentionally (bun test, --watch, --preload, --timeout, path filters)
  • keep unit tests deterministic and fast; avoid network and global time randomness
  • for integration tests, run real migrations/schema setup and isolate test data
  • for e2e, run realistic app wiring and capture artifacts on failure

Do not mark work complete unless one of these is true:

  • relevant tests were executed and results were recorded
  • execution was blocked by environment constraints and the block + residual risk were stated explicitly

For deeper guidance, read references/testing-patterns.md. For copyable boundary snippets, read references/examples/integration-boundary-test.md.

Show full SKILL.md (326 more words)Show less

4) App/API Logic Track

Prefer:

  • narrow, composable functions with explicit inputs and outputs
  • inferred types where clear, explicit types at boundaries (public functions, adapters, exported utilities)
  • discriminated unions for branching states
  • unknown + schema validation for untrusted input
  • early returns over deeply nested branching

Avoid:

  • any unless unavoidable and scoped with justification
  • broad as assertions that bypass type checks
  • duplicated business logic between handlers, services, and tests

Use Zod (or equivalent) to enforce runtime contracts at process boundaries. For copyable handler patterns, read references/examples/api-boundary.md.

Use Bun-native patterns when they simplify runtime behavior:

  • file I/O: Bun.file, Bun.write
  • scripting and process execution: Bun shell APIs
  • tests and fixtures: Bun test runner patterns

Keep Node compatibility shims only when required by dependencies or deployment targets.

5) Data Layer Track

When touching schema, models, or queries:

  • keep naming stable and consistent across schema and code
  • preserve backward compatibility unless migration plan explicitly breaks it
  • create reversible migrations where possible
  • include indexes/constraints intentionally, not implicitly
  • validate nullability/default changes against existing data

For deeper patterns, read references/drizzle-patterns.md. For copyable transaction/query patterns, read references/examples/drizzle-transaction.md.

6) Fullstack Integration Track

When a change crosses boundaries, explicitly validate:

  • API contract to domain mapping (validation, defaults, and error translation)
  • domain rules to persistence behavior (transactions, consistency, rollback behavior)
  • persistence results to API output shape (including empty and partial data cases)
  • backward compatibility for clients and existing data
  • corresponding test coverage across unit/integration/e2e layers where applicable

Use the review rubric in references/quality-checklist.md to structure findings. For end-to-end mapping examples, read references/examples/fullstack-flow.md.

Output Format

Use this as the canonical output template for this skill:

  1. What changed and why
  2. Risk assessment (behavioral, data, performance)
  3. Verification performed or intentionally skipped
  4. Required fixes vs optional improvements
  5. Remaining gaps or follow-ups

Keep output concise and concrete. Avoid generic "looks good" conclusions without evidence.

Canonical Documentation

Use official docs when clarifying edge behavior:

© databuddy-analytics, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in .agents/skills/bun-fullstack of databuddy-analytics/Databuddy.

  • SKILL.md
  • references/drizzle-patterns.md
  • references/examples/api-boundary.md
  • references/examples/drizzle-transaction.md
  • references/examples/fullstack-flow.md
  • references/examples/integration-boundary-test.md
  • references/quality-checklist.md
  • references/testing-patterns.md

Open the folder on GitHubat commit c942138

Compare with similar skills

Typescript Bun Drizzle Quality next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Typescript Bun Drizzle Quality compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Typescript Bun Drizzle Quality this skilldatabuddy-analytics/Databuddy1.2k—~1.8kAutomated safety check: PassAGPL-3.0
Drizzle Ormgrowupanand/ConvoForm1021 repos~2.7kAutomated safety check: PassApache-2.0
Drizzle Orm Expertdavila7/claude-code-templates32k3 repos~2.6kAutomated safety check: PassMIT
Database Schemaalinaqi/maggy707—~3.1kAutomated safety check: PassMIT
Drizzle Ormericrisco/rsc-harness174—~2.6kAutomated safety check: PassMIT
Prisma Ormericrisco/rsc-harness174—~3kAutomated safety check: PassMIT

Similar skills

  • Drizzle Orm

    growupanand/ConvoForm

    Type-safe SQL ORM for TypeScript with zero runtime overhead. An agent skill from growupanand/ConvoForm.

    102 GitHub starsUsed in 1 repo~2.7k tokens
    DatabasesAuto-check passed
  • Drizzle Orm Expert

    davila7/claude-code-templates

    Expert in Drizzle ORM for TypeScript — schema design, relational queries, migrations, and serverless database integration.

    32k GitHub starsUsed in 3 repos~2.6k tokens
    DatabasesAuto-check passed
  • Database Schema

    alinaqi/maggy

    Schema awareness - read before coding, type generation, prevent column errors

    707 GitHub stars~3.1k tokensUpdated 15 days ago
    DatabasesAuto-check passed
  • Drizzle Orm

    ericrisco/rsc-harness

    A skill your agent uses when modeling data or querying with Drizzle ORM in TypeScript — pgTable schema in .ts, type-safe select/insert/relational queries, drizzle-kit migrations.

    174 GitHub stars~2.6k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Prisma Orm

    ericrisco/rsc-harness

    A skill your agent uses when modeling data or writing type-safe queries with Prisma ORM in TypeScript — schema.prisma, prisma.config.ts, the generated Prisma Client, and Prisma Migrate, including…

    174 GitHub stars~3k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Safe SQL Execution

    supabase/supabase

    Official

    A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…

    111k GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed

More from databuddy-analytics/Databuddy

All 8 skills in this repo
  • Databuddy

    databuddy-analytics/Databuddy

    Integrate Databuddy analytics using the SDK, REST API, or MCP.

    1.2k GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Chat SDK

    databuddy-analytics/Databuddy

    Build multi-platform chat bots with Chat SDK (chat npm package).

    1.2k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Databuddy

    databuddy-analytics/Databuddy

    Help external users integrate Databuddy into their own apps.

    1.2k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Vertical Slices

    databuddy-analytics/Databuddy

    Design, implement, and review software using vertical slices (feature-first architecture) instead of horizontal layers.

    1.2k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Databuddy Internal

    databuddy-analytics/Databuddy

    Work inside the Databuddy monorepo for internal implementation, debugging, review, and refactoring.

    1.2k GitHub stars~11k tokensUpdated today
    Auto-check: notes
  • Databuddy MCP

    databuddy-analytics/Databuddy

    A skill your agent uses whenever the Databuddy MCP server is available and the user wants analytics, errors, vitals, investigations, flags, links, annotations, funnels, or goals queried or changed.

    1.2k GitHub stars~711 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Typescript Bun Drizzle Quality

What does Typescript Bun Drizzle Quality do?

Build or review Bun fullstack TypeScript code with Drizzle-backed SQL. Typescript Bun Drizzle Quality is an agent skill from databuddy-analytics/Databuddy. Build or review Bun fullstack TypeScript code with Drizzle-backed SQL.

When should I use Typescript Bun Drizzle Quality?

Typescript Bun Drizzle Quality fits situations like: cross-layer changes touching API/domain logic; runtime/type debugging; boundary validation between contracts.

How do I install Typescript Bun Drizzle Quality in Claude Code?

Run `npx skills add databuddy-analytics/Databuddy --skill typescript-bun-drizzle-quality -a claude-code`. Or copy the skill folder (.agents/skills/bun-fullstack in databuddy-analytics/Databuddy) into .claude/skills/typescript-bun-drizzle-quality in your project. Claude Code loads it when a task matches its description.

How do I install Typescript Bun Drizzle Quality in Codex?

Run `npx skills add databuddy-analytics/Databuddy --skill typescript-bun-drizzle-quality -a codex`. Or copy the skill folder (.agents/skills/bun-fullstack in databuddy-analytics/Databuddy) into .agents/skills/typescript-bun-drizzle-quality in your project. Codex loads it when a task matches its description.

Can I use Typescript Bun Drizzle Quality in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add databuddy-analytics/Databuddy --skill typescript-bun-drizzle-quality -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/typescript-bun-drizzle-quality, .gemini/skills/typescript-bun-drizzle-quality, .github/skills/typescript-bun-drizzle-quality and .opencode/skills/typescript-bun-drizzle-quality in your project.

What does Typescript Bun Drizzle Quality need to run?

Going by SKILL.md and its folder, Typescript Bun Drizzle Quality needs the command-line tools its instructions call (bun).

Does Typescript Bun Drizzle Quality access the network?

SKILL.md names 4 domains. As links in the text: orm.drizzle.team, bun.sh, zod.dev and turbo.build. This is read from the text; nothing was executed.

Is Typescript Bun Drizzle Quality safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Typescript Bun Drizzle Quality use?

Typescript Bun Drizzle Quality is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Typescript Bun Drizzle Quality use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.3k tokens, read only when the agent opens those files.

What are the alternatives to Typescript Bun Drizzle Quality?

Skills that share tags, products or a category with Typescript Bun Drizzle Quality: Drizzle Orm (growupanand/ConvoForm, 102 stars), Drizzle Orm Expert (davila7/claude-code-templates, 32k stars), Database Schema (alinaqi/maggy, 707 stars) and Drizzle Orm (ericrisco/rsc-harness, 174 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Typescript Bun Drizzle Quality?

databuddy-analytics (a GitHub organization) maintains it in databuddy-analytics/Databuddy, which has 1,188 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 9, 2026.

Source: databuddy-analytics/Databuddy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.