cosmic
Installation
SKILL.md
Cosmic CMS
Build content-powered applications with the Cosmic headless CMS.
SDK-First Principle
Always use the @cosmicjs/sdk package. The SDK provides type-safe methods, better error handling, and cleaner syntax than raw REST calls.
bun add @cosmicjs/sdk
# or: npm install @cosmicjs/sdk
Setup
import { createBucketClient } from '@cosmicjs/sdk'