Pack № 25 · Build

Backend & Cloud

APIs, data and auth on Cloudflare, by the rules of the people who built it.

Who it's forDevelopers who build and run backends, with Cloudflare first. If your API lives in a Worker, your state in D1, KV, R2 or a Durable Object, and an agent writes most of the code, this pack gives it Cloudflare's own rules first, then one current skill each for the API framework, Postgres and auth.
npx skills add cloudflare/skills@5108325ecceabc899c761e07aa617b09c02445ee --skill cloudflare workers-best-practices wrangler durable-objects workers-development -g -y && \
npx skills add honojs/skills@e54ce51f6effaeb574ebd2629e89e086e14a2db3 --skill hono -g -y && \
npx skills add supabase/agent-skills@c9be0e931b7930f7d02126d04774d904c381e7d7 --skill supabase-postgres-best-practices -g -y && \
npx skills add better-auth/skills@20c9e88a5c007461a703f1c213572b073196113e --skill better-auth-best-practices -g -y

Fetches 8 skills from 4 author repos, each pinned to the version we reviewed. Nothing is mirrored. Uses the open-source skills CLI; needs Node.js 22.20 or newer.

What's inside

8 skills. Each card links to its author's repository at the exact version we reviewed.

  1. Cloudflare platform 1/8 Official Cloud platform Maps what you want to build to the right Cloudflare products, with bundled guides for D1, KV, R2, Queues and Hyperdrive, and checks current docs before it trusts limits or prices. @cloudflare Apache-2.0

    Cloudflare platform

    The starting point. It picks the Cloudflare product that fits the job and carries the storage guides for D1, KV, R2, Queues and Hyperdrive.

    Official · Cloudflare Apache-2.0
    Source cloudflare/skills at 5108325
  2. Workers best practices 2/8 Official Workers code Ready Writes and reviews Workers code by Cloudflare's own rules: stream large bodies, no floating promises, no hardcoded secrets, generated binding types, logs and traces switched on. @cloudflare Apache-2.0

    Workers best practices

    Names what agents get wrong in Workers: floating promises, request state in globals, hand-written binding types, no logs.

    Works right away Official · Cloudflare Apache-2.0
    Source cloudflare/skills at 5108325
  3. Wrangler CLI 3/8 Official Deploy CLI Runs Wrangler in projects that already have a Wrangler config: local dev, previews, deploys, secrets and bindings. It checks the installed version and current docs first. @cloudflare Apache-2.0

    Wrangler CLI

    Existing Workers projects deploy through Wrangler. This ties every command to the version you have installed, not to what the model remembers.

    Official · Cloudflare Apache-2.0
    Source cloudflare/skills at 5108325
  4. Durable Objects 4/8 Official Stateful backends Builds and reviews Durable Objects: one object per room, user or document, SQLite storage, RPC methods, alarms and tests, with rules against the usual concurrency mistakes. @cloudflare Apache-2.0

    Durable Objects

    Rooms, sessions and bookings need coordinated state. This names the classic mistakes: one global object, state kept only in memory, awaits between related writes.

    Official · Cloudflare Apache-2.0
    Source cloudflare/skills at 5108325
  5. Hono 5/8 Official API framework Needs app Inline reference for Hono routing, middleware, validation, typed client and streaming, plus the Hono CLI to list routes and send test requests to the app without starting a server. @honojs MIT

    Hono

    An API framework that runs on Workers without an adapter, taught by the Hono team. Its CLI lets the agent call a route in-process instead of guessing what it returns.

    Needs an app or CLI Official · Hono MIT
    Source honojs/skills at e54ce51
  6. Postgres best practices 6/8 Database Ready Has the agent load rules for indexes, connection pooling, row-level security, schema design and locking before it writes or changes anything in a Postgres database, on any host. @supabase MIT

    Postgres best practices

    When D1 is not enough, you reach Postgres through Hyperdrive. These rules hold on any host, so you stay free to choose one.

    Works right away Community · Supabase MIT
    Source supabase/agent-skills at c9be0e9
  7. Better Auth best practices 7/8 Official Auth Needs app Sets up Better Auth in your own app and database: env vars, Drizzle or Prisma adapters, sessions, plugins and hooks, using the docs that match the version you have installed. @better-auth Not stated

    Better Auth best practices

    Auth you own, stored in your own database, with no second platform to wire into a Worker. Written by the Better Auth team.

    Needs an app or CLI Official · Better Auth Not stated
    Source better-auth/skills at 20c9e88
  8. Workers local debugging 8/8 Official Debugging Needs app Runs your Worker locally and uses Local Explorer to read and seed KV, R2, D1 and Durable Object data and to query traces and logs. Production issues go to Workers observability. @cloudflare Apache-2.0

    Workers local debugging

    Few people know the local dev server has an API for binding data and traces. Your agent seeds a database and reads a failed request without adding logs.

    Needs an app or CLI Official · Cloudflare Apache-2.0
    Source cloudflare/skills at 5108325

Good to know

What you bring

  • Cloudflare account to create resources and deploy
  • Node.js for Cloudflare's cf CLI or Wrangler
  • Cloudflare account
  • Wrangler installed in the project (Node.js)
  • Cloudflare account to deploy
  • Node.js with Wrangler or the cf CLI for local runs
  • Node.js (22.12 or newer for Hono v5)
  • Hono CLI, added to the project as a dev dependency
  • Node.js project (the skill runs the Better Auth CLI through npx)
  • A database for users and sessions
  • Workers project run with cf dev, Wrangler or the Cloudflare Vite plugin (Node.js)

Pick one, not both

  • Command line: Cloudflare's skills send new projects to the beta cf CLI and keep Wrangler for projects that already have a Wrangler config. If you start fresh on cf, swap wrangler for cf-cli from the same repository. A project uses one of the two, not both.
  • One vendor for data and auth: Supabase's supabase skill replaces the Postgres and Better Auth picks. Do not add it on top, because it answers the same storage and auth questions as the Cloudflare skills.
  • Postgres on Neon: neon-postgres covers branching, pooling and Neon's own diagnostics. It expects Neon's parent skill, which also answers general backend questions, so take it in place of the Postgres pick, not next to it.
  • Hosted auth: Clerk's clerk skill replaces Better Auth if you want sign-in screens and user management run for you. Install one auth skill, not both.
  • Hosting on Vercel: deploy-to-vercel does for Vercel what wrangler does here. Do not install both for one project. The Indie Hacker pack is built around Vercel.
Review slipPack № 25
  • Every skill file read in full
  • Pinned to a reviewed version
  • Author and licence on every card
  • Requirements and costs disclosed
  • No sponsored skills inside
Last reviewed
Nov 2026
Reviewed