Back to Cookbook

Morning Kickstart

One command to start everything, every morning

Docker, Postgres, Redis, frontend, backend, worker — if you start the same stack every morning, this recipe turns that repeated setup into one command and a clearer startup flow.

House RecipeWork3 min setup

PROMPT

Generate a dev environment startup script for my project. Read my project config files and create a single script that: (1) starts all services in dependency order (databases before apps, etc.), (2) waits for each service to be healthy before starting the next one, (3) reports clear status messages as each service comes up, (4) handles common failures gracefully (port already in use, Docker not running, missing dependencies). Also generate a matching shutdown script. My setup: [describe your stack or share docker-compose.yml / Procfile / Makefile]

How It Works

Your Claw reads your project's docker-compose.yml, Procfile, Makefile, and

whatever else defines your local services, then generates a single startup

script that boots everything in the right order with health checks between

steps.

What You Get

  • Single-command startup for your entire local dev stack
  • Dependency ordering: database before API, API before frontend
  • Health checks: wait for services to be ready, not just running
  • Error recovery: restart crashed services, report clear failures
  • "Status" command to see what's running at a glance

Setup Steps

  1. Share your project's docker-compose.yml, Procfile, or describe your stack
  2. Your Claw generates a startup script
  3. Run it every morning and start coding

Tips

  • Include port numbers so the script can verify services are actually listening
  • Ask for a "stop all" counterpart
  • Can generate a Makefile with dev-start, dev-stop, dev-restart targets
  • Handles nvm/pyenv version switching if your project requires specific versions
  • Add to your shell profile to run on terminal open
Tags:#development#automation#productivity#devops