
Journey Functions
Stage 3e of the Butterbase journey that takes the Functions section from your plan doc and actually builds them. It calls function-dev for each function in sequence, deploys via deploy_function, and smoke tests HTTP/cron endpoints with invoke_function. The nice bit is it checks whether you should be using built-in integrations (email, Slack, payments) before you write custom code. One function at a time, asks for confirmation before each, logs everything to build-log.md. If your plan has no functions, the journey orchestrator skips this stage entirely. The anti-patterns section calling out "must return new Response" tells you this was written after someone got bitten by that.
- GitHub stars
- 532
- last updated
- Jun 11, 2026
Install
$ npx -y skills add butterbase-ai/butterbase-skills --skill journey-functions --agent claude-codeInstalls into .claude/skills of the current project.
Files
Journey: Functions
Stage 3e of the guided journey. Implement and deploy each function in the plan.
When to use
- Dispatched by
journeywhencurrent_stage: functions. - Directly via
/butterbase-skills:journey-functions. - Skipped (annotated
(n/a)) if the plan lists no functions.
Preflight
If docs/butterbase/03-preflight.md is missing, older than 24 hours, or 00-state.md has app_id: null, invoke butterbase-skills:journey-preflight first. Wait for it to return successfully before proceeding.
Inputs
docs/butterbase/02-plan.md— the Functions section.docs/butterbase/00-state.md— forapp_id.
Procedure
- Refresh docs. Call
butterbase_docswithtopic: "functions". For trigger types and ctx shape, also WebFetchhttps://docs.butterbase.ai/functions. Skip if cache is fresh.
Sponsors
Details
- Repository
- github.com/butterbase-ai/butterbase-skills
- Categories
- DevOps & CI/CD, Release Management, Productivity & Planning
- License
- MIT
- First seen
- Jun 11, 2026