Automated Environment Setup

0•

Automates the preparation of fresh Git worktrees into runnable states by managing dependencies, environment variables, and database isolation.

The setup-env skill is a deterministic utility designed for Claude Code to eliminate the repetitive manual labor required when switching between Git worktrees or fresh checkouts. It handles essential mechanical tasks such as verifying the correct Git HEAD, intelligently copying necessary environment files, and isolating per-agent databases to prevent collisions during parallel tasks. By following an authoritative setup-playbook.md, it ensures environment consistency across human developers and AI agents alike, automatically documenting new setup requirements and fixing environment blockers to streamline the entire development lifecycle.

주요 기능

01Deterministic dependency installation using project-specific lockfiles (npm, bun, pnpm, bundle).
02Playbook-driven setup with the ability to auto-update instructions when new steps are discovered.
03Per-agent database and test environment isolation to prevent parallel execution collisions.
04Automated 'Smoke Gate' checks to verify environment health before proceeding with tasks.
050 GitHub stars
06Smart Git worktree verification and branch alignment against specific SHA or branch refs.

사용 사례

01Managing parallel development workflows where multiple agents require separate database instances.
02Standardizing project onboarding by creating and maintaining an executable setup-playbook.md.
03Preparing clean, isolated environments for AI agents to execute tests without manual configuration.