cavuno-board-setup
Set up a Cavuno board
Build the board as a sequence of working slices. The framework owns rendering and routing; Cavuno skills own Board API behavior and data contracts.
1. Map the host app
Read package.json, the route tree, environment conventions, and existing data-fetching boundaries. Use the framework skills already installed in the project for framework APIs, including TanStack Start, Next.js, Remix, Nuxt, SvelteKit, Astro, and SolidStart.
Choose where public reads run and identify the server boundary for bearer tokens. @cavuno/board runs in browsers, Node 20+, and Cloudflare Workers.
Complete when: the framework, route convention, rendering boundary, and server-only environment boundary are identified from the repository.
2. Configure one client
Read the board identifier from the host framework's public environment convention. Prefer the immutable, publishable pk_… key; it is safe to expose. The default API origin is https://api.cavuno.com; set baseUrl only for a Cavuno-supplied alternate origin.
import { createBoardClient } from '@cavuno/board';