bun-knowledge-patch
Bun 1.2+ Knowledge Patch
Claude's baseline knowledge covers Bun through 1.1.x. This skill provides features from 1.2 (January 2025) onwards.
Quick Reference
HTTP Server (Bun.serve)
| Feature | Example |
|---|---|
| Routes with params | "/api/users/:id" → req.params.id |
| Method handlers | { GET: fn, POST: fn } |
| Static routes | "/health": new Response("OK") |
| HTML imports | import page from "./index.html" |
| Cookies | req.cookies.set("name", "value") |
| CSRF | await Bun.CSRF.generate(sessionId) |
See references/http-server.md for routes, cookies, dev server, WebSocket proxy.
More from nevaberry/nevaberry-plugins
dioxus-knowledge-patch
Dioxus changes since training cutoff (latest: 0.7.4) — Signals replacing use_state, RSX macro overhaul, server functions, asset!() system, dx CLI, Element-as-Result. Load before working with Dioxus.
47rust-knowledge-patch
Rust changes since training cutoff (latest: 1.94.0) \u2014 Rust 2024 Edition, async closures, trait upcasting, new std APIs, cargo resolver v3. Load before working with Rust.
20postgresql-knowledge-patch
PostgreSQL changes since training cutoff (latest: 18.1) — JSON_TABLE, SQL/JSON functions, MERGE RETURNING, virtual generated columns, UUIDv7, temporal PRIMARY KEY. Load before working with PostgreSQL.
16nextjs-knowledge-patch
Next.js changes since training cutoff (latest: 16.1) — proxy.ts, \"use cache\", Cache Components, navigation hooks, typed routes, auto PageProps, React 19.2. Load before working with Next.js.
14postgis-knowledge-patch
PostGIS changes since training cutoff (latest: 3.6.1) — SFCGAL CG_* rename, ST_CoverageClean, ST_AsRasterAgg, topology bigint IDs, viewport simplification, 3D SFCGAL ops. Load before working with PostGIS.
13typescript-knowledge-patch
TypeScript changes since training cutoff (latest: 5.9) — import defer, --module node20, ArrayBuffer breaking change, TypeScript 7 native Go port (tsgo). Load before working with TypeScript.
11