Runs between preflight and your first build stage to front-load the right Butterbase documentation into context. It reads the plan, figures out which capabilities you're actually using (auth, storage, functions, whatever), fires off one butterbase_docs call per topic, then writes a summary cache file that downstream stages can reread without burning tokens. The anti-patterns section is honest: don't call topic "all", don't skip the cache, don't prime docs you won't need. It's mechanical glue code that keeps later stages from hallucinating API shapes because they started cold.

GitHub stars
532
last updated
Jun 11, 2026

Install

$ npx -y skills add butterbase-ai/butterbase-skills --skill journey-docs --agent claude-code

Installs into .claude/skills of the current project.

Files

Journey Docs Gate

A short, mechanical priming step. The goal is that every downstream stage starts with the relevant docs already in the conversation, so the model doesn't invent API shapes.

When to use

Invoke automatically after journey-preflight returns. Also invoke standalone (/butterbase-skills:journey-docs) any time the user changes the plan or you realize a stage is using a capability you haven't refreshed this session.

Procedure

  1. Read the plan. Open docs/butterbase/02-plan.md. Identify every Butterbase capability in use (Tables → schema; RLS → auth; Auth → auth; Storage → storage; Functions → functions; AI → ai; RAG → rag; Realtime → realtime; Durable → functions; Frontend → frontend; Integrations → integrations; Substrate → substrate; Payments → billing).

  2. Call butterbase_docs per topic. For each unique topic from step 1, call butterbase_docs with that topic argument. Skip duplicates.

  3. Write the cache file. Create docs/butterbase/03b-docs-cache.md with this structure:

    ---
    primed_at: <ISO timestamp>
    topics: [<comma-separated list>]
    ---
    
    # Docs Cache
    

Sponsors

Details

Repository
github.com/butterbase-ai/butterbase-skills
Categories
DevOps & CI/CD, Documentation, Productivity & Planning
License
MIT
First seen
Jun 11, 2026

More from butterbase-ai/butterbase-skills

All 39
1butterbase-ai avatarjourney-ragbutterbase-ai/butterbase-skillsUse as the RAG build stage of the Butterbase journey. Implements the RAG section of 02-plan.md by delegating to rag-dev. Calls manage_rag_content (create_collec0skills.sh installs
2butterbase-ai avatarjourney-realtimebutterbase-ai/butterbase-skillsUse as the realtime build stage of the Butterbase journey. Implements the Realtime section of 02-plan.md by delegating to the realtime skill. Calls manage_realt0skills.sh installs
3butterbase-ai avatarjourney-schemabutterbase-ai/butterbase-skillsUse as the schema build stage of the Butterbase journey, after journey-plan and journey-preflight. Implements the Tables section of 02-plan.md by delegating to 0skills.sh installs
4butterbase-ai avatarjourney-storagebutterbase-ai/butterbase-skillsUse as the storage build stage of the Butterbase journey. Implements the Storage section of 02-plan.md by delegating to the storage skill. Calls manage_storage 0skills.sh installs
5butterbase-ai avatarjourney-substratebutterbase-ai/butterbase-skillsUse as the optional substrate-linking stage of the Butterbase journey, after deploy and before submit. Asks whether to connect the deployed app to the owner's s0skills.sh installs
6butterbase-ai avatarjourney-templatesbutterbase-ai/butterbase-skillsUse as the optional template-publishing stage of the Butterbase journey, after deploy (and substrate, if used). Walks the user through authoring a clone-ready R0skills.sh installs