agent-briefing
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when creating a new project or repository, scaffolding a codebase from nothing, turning a prototype into something that will be kept, or inheriting a project that has no version control hygiene, formatter, linter, tests or CI.
Claude Code
$ npx -y skills add NoobyGains/godmode --skill project-bootstrap --agent claude-code
Codex
$ npx skills add NoobyGains/godmode --skill project-bootstrap -a codex -y
Cursor
$ npx skills add NoobyGains/godmode --skill project-bootstrap -a cursor -y
Gemini CLI
$ npx skills add NoobyGains/godmode --skill project-bootstrap -a gemini-cli -y
GitHub Copilot
$ npx skills add NoobyGains/godmode --skill project-bootstrap -a github-copilot -y
OpenCode
$ npx skills add NoobyGains/godmode --skill project-bootstrap -a opencode -y
Windsurf
$ npx skills add NoobyGains/godmode --skill project-bootstrap -a windsurf -y
name: project-bootstrap description: "Use when creating a new project or repository, scaffolding a codebase from nothing, turning a prototype into something that will be kept, or inheriting a project that has no version control hygiene, formatter, linter, tests or CI."
A project's foundation is cheapest on day one and most expensive the day after the first feature lands. Before any feature code, the repository gets version control hygiene, a formatter, a linter, a test runner with one passing test, CI that runs them, and safe handling of configuration and secrets. **The foundation is part of the first commit, not a later clean-up.**
NO FEATURE CODE UNTIL THE FOUNDATION RUNS GREEN IN CI
No exceptions. No workarounds. No shortcuts.
"Runs green" means you ran format check, lint, type check (where the language has one) and tests locally, they passed, and the same commands are in a CI workflow.
**Required:**
**Skip:**
1. **Probe the environment.** Invoke `godmode:environment-awareness` and record the OS, shell, runtimes and the package manager the user prefers. Scaffold only with tools that are installed or that the user agrees to install.
2. **Classify the project** with the table below. The class decides the blueprint in [references/templates.md](references/templates.md). Mixed projects (an API with a web front end) take one blueprint per deployable part.
3. **Check current tool versions and commands before writing config.** Invoke `godmode:grounding` for every tool you are about to configure. Config formats change between majors (ESLint moved to `eslint.config.js`, golangci-lint v2 requires `version: "2"`), so the dated notes in the templates file are a starting point that you refresh, not a source of truth. Record what you verified and the date.
4. **Initialise version control first.** `git init`, a `.gitignore` for the language plus the universal entries below, and a `.gitattributes` that fixes line endings. The `.gitignore` must exclude `.env` before any `.env` file exists.
5. **Use the ecosystem's own initialiser** (`npm create`, `uv init`, `cargo new`, `go mod init`) instead of hand-writing manifests, then commit the lockfile it produces.
6. **Wire the foundation:** formatter, linter, type checker, test runner. Write one real test that passes, and run each tool once so its output proves it works. Save each check as a named script or task (`npm run lint`, `make test`, `uv run pytest`) so humans, agents and CI call the same command.
7. **Add CI** that runs exactly those scripts on push and pull request, with read-only default token permissions. Use the minimum workflow in the templates file and pin third-party actions as described there.
8. **Add configuration handling.** A committed `.env.example` lists every variable with a placeholder and a comment; real values live only in an ignored `.env` or a secret manager. Invoke `godmode:security-protocol` for anything that holds credentials.
9. **Write the README** with three things: what the project is, how to install it, and the exact commands to run, test and build it.
10. **Prove it.** Run the full check locally from a clean clone (or after deleting dependency and build directories), then push and confirm the CI run is green. Paste or link the evidence before you report the foundation as done, per `godmode:completion-gate`.
| Class | Signals | Blueprint | |---|---|---| | Web application | Pages, routes, a browser UI | Web app | | API or backend service | Endpoints, a database, background jobs | API (Node) or Python service or Go service | | CLI tool | Run from a terminal, flags and subcommands | CLI | | Library or package | Imported by other code, published to a registry | Library | | Systems program | Native binary, performance-sensitive | Rust or Go | | Anything else | Scripts, data pipelines, automation | General: the universal foundation alone |
Every class gets all of these:
| Piece | Minimum | Evidence it works | |---|---|---| | Version control | `git init`, `.gitignore`, `.gitattributes` | `git status` shows no ignored junk | | Formatter | One formatter, run on save and in CI as a check | Check command exits 0 | | Linter | The ecosystem's standard linter, warnings fail CI | Lint command exits 0 | | Types | Strict mode where the language has a type checker | Type check exits 0 | | Tests | Runner configured, one real passing test | Test command shows 1 passed | | CI | Runs format check, lint, types, tests, build | Green run on the first push | | Configuration | `.env.example` committed, `.env` ignored | `git check-ignore .env` prints `.env` | | README | Purpose, install, run, test, build | A new reader can run it from the README alone |
**Universal `.gitignore` entries:** dependency directories (`node_modules/`, `.venv/`, `target/`), build output (`dist/`, `build/`, `out/`), environment files (`.env`, `.env.*`, with `!.env.example`), logs (`*.log`), OS files (`.DS_Store`, `Thumbs.db`), and editor directories unless the team shares settings on purpose.
**Line endings:** `* text=auto` in `.gitattributes`, plus `*.sh text eol=lf` for shell scripts so they run on Linux and in Git Bash.
Engineering discipline for AI coding agents: question the request, verify against current docs, plan, build test-first on the cheapest capable model, review with a second model family, prove it before saying done. One repo for Claude Code, Codex, Antigravity, Cursor, Gemini CLI and OpenCode.
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when a task, feature or bug fix is implemented and before it is committed, merged or handed back to the user, and when the…
Use when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration,…
Use when about to say that work is done, fixed, passing, working, deployed or ready, before committing, opening or merging a pull…
Use when a reviewed change is about to land on a shared branch, be released or be deployed, and when the user asks for a second…
Use when a written implementation plan is ready to execute in the current session and its tasks are mostly independent, so each…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration