Our review
Sets up a complete local development environment for a devflow-managed project by checking prerequisites, starting infrastructure, configuring project, and verifying setup.
Strengths
- Automates multiple setup steps including infrastructure, hosts entries, and migrations.
- Provides dry-run preview before making changes.
- Handles common errors like missing Docker or port conflicts.
Limitations
- Requires devflow CLI to be installed and configured.
- Some steps may require sudo access (e.g., hosts file).
- Focuses on devflow-managed projects only.
Use when starting a new devflow-managed project or setting up an existing project on a fresh environment.
Do not use for non-devflow projects or when you need a different infrastructure stack.
Security analysis
CautionThe skill executes bash commands to set up a local development environment using devflow, including Docker infrastructure, host file modifications, and database migrations. No destructive or malicious commands are present. The use of Docker and sudo for host entries is legitimate but warrants caution due to elevated privileges and container orchestration.
No concerns found
Examples
Set up the local development environment for this devflow project.Set up the local development environment with full infrastructure and database migrations.Set up only the project services without shared infrastructure.name: setup description: Initialize and set up local development environment with devflow infrastructure allowed-tools: Bash, Read, Write disable-model-invocation: true argument-hint: [--full|--minimal]
Local Development Setup
Set up a complete local development environment for a devflow-managed project.
Usage
/devflow-setup- Standard setup (infrastructure + project)/devflow-setup --full- Full setup including database migrations/devflow-setup --minimal- Project only, skip shared infrastructure
Prerequisites Check
First, verify the environment:
devflow doctor
If any tools are missing, inform the user what needs to be installed before proceeding.
Setup Steps
Step 1: Verify Configuration
Check that devflow.yml exists in the current directory:
devflow config validate
If missing, ask the user which preset to use (aocodex, aosentry, or custom).
Step 2: Start Shared Infrastructure (unless --minimal)
devflow infra status --json
If infrastructure is not running:
devflow infra up
Step 3: Configure Project for Shared Infrastructure
Check if project is already configured:
devflow infra status --json
If not registered, configure it:
devflow infra configure . --dry-run
Show the user what changes will be made. If they approve:
devflow infra configure .
Step 4: Set Up Hosts Entries
devflow infra hosts list --json
If domains are missing, inform user they need to run with sudo:
sudo devflow infra hosts add
Step 5: Start Project Services
devflow dev start
Step 6: Apply Local Migrations (if --full)
devflow db status --env local --json
If migrations are pending:
devflow db migrate --env local
Step 7: Verify Setup
Run a final status check:
devflow infra status
devflow db status --env local
Output
Provide a summary showing:
- Infrastructure status (Traefik dashboard URL)
- Project domains configured
- Services running
- Database migration state
- Any manual steps remaining (like hosts file if sudo wasn't available)
Error Handling
- If Docker is not running, instruct user to start Docker Desktop or daemon
- If mkcert CA is not installed, provide installation instructions
- If ports are in use, identify conflicting processes
- If compose file has issues, show specific validation errors
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.