cavuno-board-api-client
Installation
SKILL.md
Configure the Board API client
Create one client and keep its shared state board-scoped, not user-scoped.
Create the shared client
import { createBoardClient } from '@cavuno/board';
export const board = createBoardClient({
board: process.env.PUBLIC_CAVUNO_BOARD!,
});
The board option accepts a pk_… key, boards_… ID, or slug. Prefer the immutable, publishable pk_… key for deployed frontends. The client defaults to https://api.cavuno.com; use baseUrl only for a Cavuno-supplied alternate origin.
Complete when: the app imports one reused client and board.context() identifies the expected board.