The "Gold Standard" repository template for launching new projects.
This repository is designed to instantly bootstrap a fully configured project environment characterized by zero-host dependencies, secure-by-default workflows, and structural guardrails that enforce elite engineering practices. It is explicitly designed to be heavily supported by IDE-based AI Agents.
When you bootstrap a project using this template, you are receiving an environment intentionally restricted to prevent common developer mistakes. Here is why we made these decisions:
The Problem: "It works on my machine!" The Solution: All work happens strictly inside a VS Code Devcontainer. Whether you are on macOS, Linux, or Windows (WSL), the moment you open this project, Docker spins up an identical, pre-configured Linux container. You never need to install Node, Python, or Go on your host computer again.
The Problem: Accidentally committing API keys or unverified code.
The Solution: The .env file is heavily .gitignored. Additionally, the Devcontainer is mapped to your host's ~/.ssh directory, and Git is pre-configured to strictly require SSH Commit Signing.
The Problem: Generative AI tools (like GitHub Copilot or Gemini) get confused easily and burn through their context "tokens" doing repetitive tasks.
The Solution: This project includes an AGENTS.md file designed explicitly to be read by AI. It instructs the AI on our exact project constraints, architectural philosophy, and git branching strategies. Furthermore, the Gemini CLI is installed globally inside the container, providing the AI with native tooling for security scanning (Snyk) and code reviews—saving precious IDE tokens.
We have implemented physical files that prevent bad habits:
.editorconfig: Forces every IDE (even Vim) to use the exact same tab sizes, line endings, and whitespace rules.Makefile: A universal task runner. Whether the underlying project isnpm,go, orpytest, developers only ever need to runmake testormake run.CODEOWNERS: Automatically requires Tech Lead PR reviews for architecture decisions (ADRs) and DevOps reviews for CI/CD changes.dependabot.yml: Automatically configured to continuously scan dependencies for vulnerabilities.
- Install Docker Desktop.
- Install Antigravity.
Open a standard terminal on your host machine (Mac/Linux) or Git Bash / WSL (Windows) and run:
# Create and move into your new project folder
mkdir my-new-idea && cd my-new-idea
# Initialize git
git init
# Run the bootstrap installer
curl -sSL https://raw.githubusercontent.com/penguinranch/bootstrap/main/install.sh | bashNote for Windows Users: Command Prompt and PowerShell do not natively support running
.shbash scripts. You must execute the abovecurlcommand using Git Bash or WSL.
Before opening the Devcontainer, decide on your tech stack. The language and framework you choose will determine how the container is configured. Open your AI IDE Assistant chat panel and prompt it with exactly this text:
"I am starting a new project. Please completely read
AGENTS.mdfor our workflow standards. Let's begin Phase 1: Discovery by discussing the goals and tech stack for this idea. Once we decide, please proceed with the following setup checklist: 1. Fill out the001-initial-tech-stack.mdADR. 2. Update the.devcontainer/configuration (Dockerfile and devcontainer.json) for our chosen stack, and rename the devcontainer to match the project name. 3. Configure the universalMakefileand setupdependabot.yml. 4. RewriteREADME.mdto describe this new project and how to run it."
- Open the folder in Antigravity.
- An alert will appear prompting you to reopen the project in a Dev Container.
- Click to Reopen in Container.
Wait a few minutes while Docker builds the Linux environment for your chosen stack.
Once Antigravity reloads inside the container, open a new Terminal and run:
./scripts/setup-env.shThis will prompt you for your Git credentials and your Gemini API Key so the CLI tooling works.
- The IDE Window is hung / The Gemini CLI didn't install:
Sometimes the automatic
postCreateCommandhangs. Open a terminal inside the container and manually runbash ./scripts/setup-gemini.shto finish the installation. - Git complains about missing user name and email:
If the Devcontainer hangs after building, the
boot-check.shscript might not have run to configure your Git profile from.env. You can fix this by explicitly running./.devcontainer/boot-check.shor by running./scripts/setup-env.shagain. - Windows / WSL line-ending errors (bash scripts crashing):
Windows uses
CRLFformat for new lines, which crashes Linux bash scripts. We have a.gitattributesfile to prevent this, but if you still see\rerrors, ensure your global git config is set:git config --global core.autocrlf false.
If you are looking to contribute to or modify the bootstrap repository itself, please consult the root AGENTS.md file for architectural constraints, goals, and modification rules.