environment-bootstrap

Creates and runs init scripts that verify prerequisites, install dependencies, and smoke-test development environments.

Updated Jan 1, 2026
One-click install
npx skills add https://github.com/sarkarshivaditya-lab/WellMate --skill environment-bootstrap-sarkarshivaditya-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: environment-bootstrap
Source: https://github.com/sarkarshivaditya-lab/WellMate/tree/main/.engineering-skills/troykelly-claude-skills/skills/environment-bootstrap
Command: npx skills add https://github.com/sarkarshivaditya-lab/WellMate --skill environment-bootstrap-sarkarshivaditya-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Development environments drift out of sync across sessions and machines, causing broken builds, missing dependencies, and wasted debugging time. This Skill standardizes environment setup through a repeatable init script and smoke tests. ## Core Features & Use Cases - Init Script Generation: Creates a bash init script that checks prerequisites (node, pnpm, git, gh), verifies versions, installs dependencies, sets up .env files, builds, and runs tests. - Smoke Testing: Verifies the environment works by starting the dev server and running health checks with IPv6-first fallback to IPv4. - Service Orchestration: Starts docker-compose services and verifies postgres and redis readiness. - Use Case: After cloning a repository or pulling changes, run the init script to confirm the environment is in a known-good state before writing any code. ## Quick Start Ask the AI to create an init script for this project and run it to verify the development environment is working.

Frequently Asked Questions about environment-bootstrap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate development environment setup for a new project?

Create an init script at scripts/init.sh that checks prerequisites, installs dependencies with pnpm, copies .env.example to .env, builds the project, and runs tests. Run it with ./scripts/init.sh after cloning or pulling changes.

How to run a smoke test on a development server?

Start the dev server in the background, wait a few seconds, then curl the health endpoint. The script tries IPv6 at http://[::1]:3000/health first and falls back to IPv4 at 127.0.0.1, killing the server process if the check fails.

Does the init script work with docker-compose services?

Yes, if a docker-compose.yml file exists, the script runs docker-compose up -d and verifies that postgres and redis services report an Up status. Projects without docker-compose skip this step automatically.

Why does the init script fail with command not found errors?

The script exits when required tools like node, pnpm, git, or gh are missing from PATH. Install the missing prerequisite, ensure Node version 18 or higher, and authenticate the GitHub CLI with gh auth login.

How do I reset a broken development environment?

Delete node_modules, dist, .cache, and .next directories, run pnpm store prune, then re-run ./scripts/init.sh. This clears stale artifacts and rebuilds the environment from a clean state.