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-code

Installs 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 journey when current_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 — for app_id.

Procedure

  1. Refresh docs. Call butterbase_docs with topic: "functions". For trigger types and ctx shape, also WebFetch https://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

More from butterbase-ai/butterbase-skills

All 39
1butterbase-ai avatarjourney-ideabutterbase-ai/butterbase-skillsUse as stage 1 of the Butterbase journey, when the user has only a rough idea ("I want to build something that..."). Conducts a concrete, one-question-at-a-time0skills.sh installs
2Cornjebus avatarsecurity-analyzerCornjebus/security-analyzerComprehensive security vulnerability analysis for codebases and infrastructure. Scans dependencies (npm, pip, gem, go, cargo), containers (Docker, Kubernetes), 0skills.sh installs
3hoangsonww avatardashboard-statushoangsonww/claude-code-agent-monitor>0skills.sh installs
4hoangsonww avatardebug-live-issuehoangsonww/claude-code-agent-monitorDebug production-like issues in this repository with disciplined evidence gathering. Use when fixing failing workflows, regressions, flaky behavior, or data inc0skills.sh installs
5hoangsonww avatarmcp-maintainerhoangsonww/claude-code-agent-monitorOperate and maintain the local MCP server for this repository. Use for MCP tool updates, policy-guard changes, host configuration, and MCP runtime troubleshooti0skills.sh installs
6hoangsonww avatarmcp-operationshoangsonww/claude-code-agent-monitorOperate and maintain the local MCP server for this project. Use when creating MCP host config, troubleshooting tool connectivity, modifying tool domains, or adj0skills.sh installs