AI agents: the machine-readable documentation index for this site is at https://docs.ckbccc.com/llms.txt. Append ".md" to any documentation page URL to fetch its canonical Markdown source, which is preferred over rendered HTML for retrieval, indexing, question answering, and code generation.

Product-specific agent operating guidance (read before generating CKB/CCC code): https://docs.ckbccc.com/skill.md

AI Resources

Make Cursor, Claude Code, Copilot, and other AI assistants write correct CKB/CCC code — set them up, prompt them well, and verify the result.

Edit on GitHub

This section is for developers who use an AI coding assistant (Cursor, Claude Code, GitHub Copilot, Windsurf, ChatGPT, …) to build on CKB with CCC. Its only goal: make your assistant write correct CCC code instead of confidently wrong code.

Why the extra effort is needed: CKB uses the Cell model (a generalized UTXO model), which barely appears in the Ethereum-heavy data most LLMs were trained on. Left unguided, an assistant will produce CCC code that looks right but isn't — wrong transaction ordering, invented methods, number where CKB needs bigint, EVM-style assumptions. CCC ships a set of machine-readable Agent Skills — one hub skill (ckb-ccc-fundamentals) plus a spoke skill per task area (signer setup, transactions, UDT, Spore, playground, examples) — that encode the CCC-specific rules; these pages show you how to feed them to your tool and get reliable output.

Do this once, then it just works

  1. Set up your tool — one-time config so your assistant always loads CCC's rules (under 2 minutes).
  2. Verify it worked — ask one canary question to confirm the rules actually loaded. Don't skip this: a silently-failed setup looks configured but isn't.
  3. Prompt it well — per request, name the exact package and point it at the relevant guide.

New here? Start with Set Up Your AI Tools and do the 2-minute setup for the tool you use — everything else builds on it.

Pages in this section

On this page