From fusebase-flow
Tests Fusebase API endpoints interactively using temporary tokens. Use for verifying endpoint behavior, exploring response schemas, and debugging integration before writing app code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fusebase-flow:api-explorationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When you're unsure about an API endpoint's behavior, response shape, or want to test a flow before committing to implementation — create a temporary token and run test calls directly.
When you're unsure about an API endpoint's behavior, response shape, or want to test a flow before committing to implementation — create a temporary token and run test calls directly.
fusebase token create --feature <featureId>
This outputs a short-lived token (15 min) to stdout. Capture it:
TOKEN=$(fusebase token create --feature <featureId>)
The appId comes from fusebase.json → apps[].id.
Create a temporary script (e.g. _test-api.ts) to make the API calls you want to verify:
const token = process.env.TOKEN || "<paste-token-here>";
const res = await fetch("https://api-endpoint/...", {
headers: { "x-app-feature-token": token },
});
console.log(res.status);
console.log(await res.json());
Run it:
TOKEN=$(fusebase token create --feature <featureId>) bun _test-api.ts
Read the output, adjust your calls, and re-run. Once you understand the API behavior, implement it properly in your app code.
Delete the temporary test script when done — don't commit it.
@fusebase/dashboard-service-sdkUse this to verify SDK calls before wiring them into app UI code.
_test-sdk.ts:
import {
createClient,
DatabasesApi,
CustomDashboardRowsApi,
} from "@fusebase/dashboard-service-sdk";
const token = process.env.TOKEN!;
const BASE_URL =
"https://app-api.{FUSEBASE_HOST}/v4/api/proxy/dashboard-service/v1";
const client = createClient({
baseUrl: BASE_URL,
defaultHeaders: { "x-app-feature-token": token },
});
const dbApi = new DatabasesApi(client);
const rowsApi = new CustomDashboardRowsApi(client);
// List databases visible to this app
const dbs = await dbApi.listDatabases({});
console.log("databases:", JSON.stringify(dbs, null, 2));
// Read rows from a specific dashboard view
const rows = await rowsApi.getRows({
dashboardId: "<dashboardId>",
viewId: "<viewId>",
});
console.log("rows:", JSON.stringify(rows, null, 2));
Run it:
TOKEN=$(fusebase token create --feature <featureId>) bun _test-sdk.ts
Replace BASE_URL host with the value matching your environment's FUSEBASE_HOST (e.g. app-api.thefusebase.com for prod).
_ (e.g. _test-sdk.ts) so they're easy to spot and clean up.Creates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.
npx claudepluginhub fusebase-dev/fusebase-flow --plugin fusebase-flow