environment-bootstrap

Automate development environment setup with a bash init script.

10|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/troykelly/codex-skills --skill environment-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: environment-bootstrap
Source: https://github.com/troykelly/codex-skills/tree/main/skills/environment-bootstrap
Command: npx skills add https://github.com/troykelly/codex-skills --skill environment-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the setup and maintenance of a consistent development environment, ensuring that every session starts from a known-good state and reducing "it works on my machine" issues.

Core Features & Use Cases

  • Environment Initialization: Creates and runs an init.sh script to set up dependencies, environment variables, and build processes.
  • Dependency Management: Checks for and ensures necessary tools like Node.js, pnpm, Git, and GitHub CLI are installed and authenticated.
  • Smoke Testing: Includes a smoke test script to verify that the development server and core functionalities are operational after setup.
  • Use Case: When a new developer clones the repository, running this skill's init.sh script will install all necessary packages, configure the .env file, build the project, and run tests, preparing the environment for immediate development.

Quick Start

Run the environment-bootstrap skill's init script to set up your development environment.

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 to fix "it works on my machine" issues?

Automating development environment setup with a bootstrap bash script ensures team-wide consistency. The script manages prerequisites, dependency installation, and environment variable configuration, creating a known-good state for every session.

Do I need Node.js and pnpm installed before running an environment bootstrap script?

No prior installation is needed for Node.js and pnpm. The bootstrap script performs dependency management by actively checking for these tools and handles their installation and authentication during the initialization process.

What is environment bootstrap for DevOps and how does it handle project builds?

Environment bootstrap for DevOps is an automated initialization process that configures workspace variables and executes project builds. It uses an init.sh script to establish a reproducible state and runs smoke tests to verify server functionality.

Can I use a bash bootstrap script to verify my development server with smoke tests?

Yes, you can use a bash bootstrap script to verify your development server. The environment setup process includes a smoke test script that checks core functionalities and confirms the operational status of the server after build completion.

What's the best way to configure environment variables consistently across a development team?

The best way to configure environment variables consistently is through an automated init.sh script. This bootstrap process configures the .env file during setup, guaranteeing all team members share identical, reproducible workspace configurations.