How to Use These Docs Effectively
These docs are designed for both humans and AI systems, but they are not meant to be consumed as one giant undifferentiated dump. The corpus is organized so overview pages explain the shape of the platform, how-to pages explain implementation steps, and reference pages hold canonical facts. If you are using an AI assistant, start with the right page type and then pull in the specific reference pages that own the facts you need.If two pages seem to overlap, trust the canonical reference page. See the Documentation Contract for the full rules.
How the Docs Are Organized
| Page type | What it does | What to use it for |
|---|---|---|
| Overview | Explains what something is, when to use it, and how it connects | Orientation, planning, feature discovery |
| How-to | Gives implementation steps and sequencing | Building, setup, migration, QA |
| Reference | Holds canonical facts, schemas, fields, endpoints, payloads, selectors, and variables | Source-of-truth technical detail |
| Use-case page | Routes a developer or operator to the right references | Fast starts, task routing |
| AI playbook | Helps AI assistants reason about CreatorCommerce workflows without inventing facts | Prompting, implementation guidance, workflow framing |
Recommended Workflow for AI
1. Start with the smallest page that frames the task
Use:- an overview page if you need orientation
- a use-case page if you know the job to be done
- a how-to page if you are already implementing
2. Add the canonical references
For any factual or structural detail, pull in the canonical page instead of relying on summaries from multiple guides. Common reference homes:- Data model: Data Model Overview, Creator & Collab Data Model, Drops & Products Data Model
- Creator data access: Referencing Creator Content
- SDK + tracking: SDK Getting Started, SDK Cart Attributes, SDK Web Pixel Tracking
- API + auth: Unified API Reference, Authentication
- Email variables: Co-branded Consumer Email Variables, Creator Email Variables
- Storefront vocabulary: Co-branded Storefront UI Glossary
- Terminology: Glossary
3. Ask the AI to cite the references it used
This keeps the answer anchored to the real source-of-truth pages and makes it easier to spot drift or assumptions.4. Add your local context last
After the docs, add:- your actual code
- theme or app constraints
- exact storefront surface or page type
- what is already working
- what is failing
What Not to Do
- Do not give the AI five overlapping pages that all restate the same facts in slightly different ways.
- Do not prefer a long overview page over a canonical reference page for field names, schemas, selectors, or payloads.
- Do not rely on legacy documentation for new work.
- Do not point public implementation workflows at repo-local draft files or internal notes.
Good Prompt Patterns
Implementation prompt
Debugging prompt
Strategy-to-build prompt
Conflict Resolution
When pages overlap, resolve conflicts in this order:- Reference pages in
references/ - Glossary for naming and terminology
- How-to pages for implementation sequencing
- Overview pages for framing
- AI playbooks for prompting guidance