{
  "markdown": "# memoriant-env-bootstrap-skill\n\n![Version](https://img.shields.io/badge/version-1.0.0-blue)\n![License](https://img.shields.io/badge/license-MIT-green)\n![Platform](https://img.shields.io/badge/platform-Claude%20Code%20%7C%20Codex%20CLI%20%7C%20Gemini%20CLI-lightgrey)\n\nA Claude Code plugin that eliminates the \"days of setup\" problem. Scans a project directory for stack signals, then generates a portable `bootstrap.sh` setup script and `ONBOARDING.md` checklist so new contributors can set up and start working in minutes.\n\nBuilt on the methodology of [`NathanMaine/devex-env-bootstrap-agent`](https://github.com/NathanMaine/devex-env-bootstrap-agent).\n\n---\n\n## What It Does\n\n1. Walks the project directory collecting signal files: `requirements.txt`, `package.json`, `Cargo.toml`, `go.mod`, `Dockerfile`, `.env.example`, and more.\n2. Infers the full tech stack — supports Python, Node.js/TypeScript, Rust, Go, Ruby, Java/Kotlin, Docker, and common database migration tools.\n3. Determines the correct setup order (version managers first, dependencies second, env file, containers, migrations, tests).\n4. Generates `bootstrap.sh` — a safe, generic shell script with `set -euo pipefail`, descriptive echo statements, and only open-source commands.\n5. Generates `ONBOARDING.md` — prerequisites, quick start, manual steps that cannot be automated, verification, and troubleshooting.\n6. Never reads `.env` files. Never writes secrets. Never overwrites existing files without asking.\n\n---\n\n## Installation\n\n### Claude Code\n\n```bash\nclaude mcp add memoriant-env-bootstrap-skill\n```\n\nOr clone locally:\n\n```bash\ngit clone https://github.com/NathanMaine/memoriant-env-bootstrap-skill ~/.claude/plugins/memoriant-env-bootstrap-skill\n```\n\n### Codex CLI\n\n```bash\ncodex install NathanMaine/memoriant-env-bootstrap-skill\n```\n\n### Gemini CLI\n\n```bash\ngemini extension install NathanMaine/memoriant-env-bootstrap-skill\n```\n\n---\n\n## Usage\n\n### In Claude Code (natural language)\n\n```\nGenerate a bootstrap script for this project\n```\n\n```\nWrite an onboarding guide for a new developer joining this repo\n```\n\n```\nSet up bootstrap.sh and ONBOARDING.md for ./my_project\n```\n\n### Via skill invocation\n\n```\n/env-bootstrap --project-path ./my_project --output-dir ./my_project\n```\n\n### Via Codex CLI\n\n```bash\ncodex run env-bootstrap-agent --var project_path=./my_project\n```\n\n---\n\n## Plugin Structure\n\n```\nmemoriant-env-bootstrap-skill/\n├── .claude-plugin/\n│   └── plugin.json              # Plugin manifest\n├── skills/\n│   └── env-bootstrap/\n│       └── SKILL.md             # Full methodology for Claude Code\n├── agents/\n│   └── env-bootstrap-agent.md  # Autonomous agent definition\n├── AGENTS.md                    # Codex CLI agent definitions\n├── gemini-extension.json        # Gemini CLI extension manifest\n├── SECURITY.md                  # Security policy\n├── README.md                    # This file\n└── LICENSE                      # MIT\n```\n\n---\n\n## Stack Detection Coverage\n\n| Language / Tool | Signal Files Detected |\n|-----------------|----------------------|\n| Python | `requirements.txt`, `pyproject.toml`, `Pipfile`, `setup.py`, `.python-version` |\n| Node.js / TypeScript | `package.json`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`, `.nvmrc` |\n| Rust | `Cargo.toml`, `Cargo.lock` |\n| Go | `go.mod` |\n| Ruby | `Gemfile`, `.ruby-version` |\n| Java / Kotlin | `pom.xml`, `build.gradle`, `build.gradle.kts` |\n| Docker | `Dockerfile`, `docker-compose.yml`, `compose.yaml` |\n| Env vars | `.env.example`, `.env.template` |\n| DB migrations | `alembic.ini`, `manage.py migrations/`, `db/migrate/`, `flyway.conf` |\n\n---\n\n## Sample Output\n\n### bootstrap.sh\n\n```bash\n#!/usr/bin/env bash\nset -euo pipefail\n\necho \"==> Checking Python version...\"\npython3 --version\n\necho \"==> Creating virtual environment...\"\npython3 -m venv .venv\n\necho \"==> Activating virtual environment...\"\nsource .venv/bin/activate\n\necho \"==> Installing dependencies...\"\npip install -r requirements.txt\n\necho \"==> Setting up environment variables...\"\nif [ ! -f .env ]; then\n  cp .env.example .env\n  echo \"    .env created — fill in required values before running the app.\"\nfi\n\necho \"==> Running tests to verify setup...\"\npytest\n\necho \"\"\necho \"Bootstrap complete. Run 'source .venv/bin/activate' to activate the environment.\"\n```\n\n### Console Summary\n\n```\nEnvironment Bootstrap Complete\n──────────────────────────────\nStack detected     : Python 3.11, Docker\nFiles generated    :\n  bootstrap.sh     — run this to set up the environment\n  ONBOARDING.md    — human checklist for new contributors\n\nManual steps required:\n  1. Fill in values in .env (copied from .env.example)\n  2. Request DATABASE_URL from the team\n```\n\n---\n\n## Source Reference\n\nDerived from [`NathanMaine/devex-env-bootstrap-agent`](https://github.com/NathanMaine/devex-env-bootstrap-agent), a Python CLI prototype that scans projects and generates `bootstrap.sh` and `ONBOARDING.md` files using stack detection heuristics.\n\n---\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n",
  "bytes": 4994,
  "sha": "bc7ada6e13667eb70d4dfd389516f8ec68b1ddb354e92e635a4f58af0205918b",
  "repo_slug": "nathanmaine/memoriant-env-bootstrap-skill",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_nathanmaine_memoriant_env_bootstrap_skil_aa8d31de/readme"
}