project-bootstrap
Skill107 starsChanged 9 months agoMITView on GitHub
Use when launching a new project, initializing a repository, or building a codebase from the ground up - addresses directory structure, tooling configuration, linting, testing infrastructure, CI/CD pipelines, and version control setup
- Reads credentials
17 other projects use a version of this.
Adopted by
Most recently taken up by
- nerviz-ai/nerviztheir own version, first seen Oct 3, 2026
- Cure-Consulting-Group/ProductEngineeringSkillstheir own version, first seen Sep 28, 2026
- furenzhong/awoo-vibe-coding-governancetheir own version, first seen Sep 26, 2026
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- novatic-cu/nova-skillstheir own version, first seen Sep 20, 2026
- serge-it-max/project-management-skilltheir own version, first seen Sep 2, 2026
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- Cure-Consulting-Group/ProductEngineeringSkills★ 3same name
- jerseycheese/agent-skills★ 3same name
- nerviz-ai/nerviz★ 3same name
- hams-ollo/zen-agent-skills★ 2same name
- Avalon-27reg/smyslokod-starter★ 1same name
- novatic-cu/nova-skills★ 1same name
- prodelt/elt-harness★ 1same name
- Anders-planck/orditra★ 0same name
- furenzhong/awoo-vibe-coding-governance★ 0same name
- jssblck/agents★ 0same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- activationSkill
- agent-messagingSkill
- codebase-researchSkill
- completion-gateSkill
- comprehension-checkSkill
- delegated-executionSkill
- deployment-advisorSkill
- design-integrationSkill
- design-researchSkill
- environment-awarenessSkill
- error-recoverySkill
- fault-diagnosisSkill
- github-searchSkill
- intent-discoverySkill
- knowledge-captureSkill
- merge-protocolSkill
- parallel-executionSkill
- pattern-matchingSkill
- performance-tuningSkill
- protocol-authoringSkill
- quality-enforcementSkill
- quality-gateSkill
- rationaleSkill
- reference-engineSkill
- review-responseSkill
- security-protocolSkill
- specification-firstSkill
- system-designSkill
- task-planningSkill
- task-runnerSkill
- team-orchestrationSkill
- test-firstSkill
- ui-engineeringSkill
- ux-patternsSkill
- workspace-isolationSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
If the project lacks linting, formatting, testing infrastructure, and version control hygiene, address those gaps before writing any …
- Distinctive: line 133
Every project must have at minimum:
- Distinctive: line 146
If it does not execute in CI, it will not be maintained.
- Very specific: line 183
Commit lockfiles (package-lock.json, poetry.lock, Cargo.lock)
- Distinctive: line 202
No test framework installed
- Distinctive: line 204
No README explaining how to run the project
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Bootstrap
Overview
A properly initialized project prevents 80% of future structural headaches.
Core principle: Invest 30 minutes in setup now, or spend 30 hours unwinding structural debt later.
No exceptions. No workarounds. No shortcuts.
The Prime Directive
NO FEATURE CODE BEFORE PROJECT STRUCTURE IS ESTABLISHEDIf the project lacks linting, formatting, testing infrastructure, and version control hygiene, address those gaps before writing any business logic.
When to Use
Mandatory when:
- Creating a new project from nothing
- "Just get something running" (especially then)
- Building a prototype that could evolve into production
- Setting up a shared repository for a team
Also applicable when:
- Inheriting a project with no structural foundation
- Retrofitting test infrastructure into untested code
- Introducing CI/CD for the first time
The Entry Protocol
BEFORE writing any feature code:
1. STRUCTURE: Is the directory layout established?
2. TOOLING: Are linter, formatter, and type checker wired up?
3. TESTING: Is the test runner configured with a passing placeholder?
4. VERSION CONTROL: Are .gitignore, branch conventions, and hooks set up?
5. DEPENDENCIES: Is the package manager initialized with a committed lockfile?
6. AUTOMATION: Does at minimum a lint + test pipeline exist?
If any answer is NO: fix it first.Project Classification
digraph project_class {
start [label="What is being\nbuilt?", shape=diamond];
web [label="Web\napplication?", shape=diamond];
api [label="API /\nbackend?", shape=diamond];
cli [label="CLI tool?", shape=diamond];
lib [label="Library /\npackage?", shape=diamond];
web_tpl [label="Web App\nBlueprint", shape=box, style=filled, fillcolor="#ccffcc"];
api_tpl [label="API\nBlueprint", shape=box, style=filled, fillcolor="#ccccff"];
cli_tpl [label="CLI\nBlueprint", shape=box, style=filled, fillcolor="#ffffcc"];
lib_tpl [label="Library\nBlueprint", shape=box, style=filled, fillcolor="#ffccff"];
general [label="General\nBlueprint", shape=box, style=filled, fillcolor="#ffcccc"];
start -> web [label="assess"];
web -> web_tpl [label="yes"];
web -> api [label="no"];
api -> api_tpl [label="yes"];
api -> cli [label="no"];
cli -> cli_tpl [label="yes"];
cli -> lib [label="no"];
lib -> lib_tpl [label="yes"];
lib -> general [label="no"];
}Consult templates.md for detailed setup checklists per project classification.
Universal Foundation (All Projects)
1. Version Control Hygiene
.gitignore # Language-specific + universal exclusions
.gitattributes # Line ending normalization, binary file handlingMandatory .gitignore entries:
node_modules/,venv/,__pycache__/,target/(dependency directories).env,.env.local,.env.*.local(secrets and credentials)*.log(log files).DS_Store,Thumbs.db(OS artifacts)- IDE directories:
.idea/,.vscode/(unless sharing settings deliberately) - Build output:
dist/,build/,out/
2. Static Analysis and Formatting
| Language | Linter | Formatter |
| TypeScript/JavaScript | ESLint | Prettier |
| Python | Ruff (lint + format) | Ruff |
| Go | golangci-lint | gofmt (built-in) |
| Rust | clippy | rustfmt (built-in) |
| Ruby | RuboCop | RuboCop |
Install on day one. Adopting a linter after 10,000 lines means triaging hundreds of violations on your first run.
3. Test Infrastructure
| Language | Framework | Runner |
| TypeScript/JavaScript | Vitest or Jest | Built-in |
| Python | pytest | Built-in |
| Go | testing (stdlib) | go test |
| Rust | built-in test harness | cargo test |
| Ruby | RSpec or Minitest | Built-in |
Write one passing test immediately. This confirms the test pipeline functions before you actually need it.
4. Type Safety
| Language | Requirement |
| TypeScript | strict: true in tsconfig.json. Non-negotiable. |
| Python | Type annotations + mypy or pyright |
| JavaScript | Consider TypeScript. If not, at minimum use JSDoc type annotations. |
5. Continuous Integration Minimum
Every project must have at minimum:
# Minimum CI pipeline (GitHub Actions example)
on: [push, pull_request]
jobs:
check:
steps:
- lint
- type-check
- testIf it does not execute in CI, it will not be maintained.
Directory Structure Principles
Organize by feature, not by file type (see godmode:system-design).
Every project requires:
project-root/
src/ # Source code (or lib/, app/ per convention)
tests/ # Test files (or co-located alongside source)
docs/ # Documentation (when applicable)
scripts/ # Build, deploy, and utility scripts
.gitignore
README.md # Purpose, installation, how to run
<config files> # Linter, formatter, CI, package managerCo-located tests vs separate directory:
- Co-located (
payment.ts+payment.test.ts): Easier to maintain, preferred default - Separate (
tests/): When tests require shared fixtures or team convention mandates it
Dependency Governance
BEFORE adding any dependency:
1. Is it genuinely necessary? Could you write it in under 50 lines?
2. Is it actively maintained?
3. How many transitive dependencies does it introduce?
4. Does it carry known vulnerabilities?
When uncertain, write the code yourself.Always:
- Commit lockfiles (
package-lock.json,poetry.lock,Cargo.lock) - Pin major versions, permit patch-level updates
- Execute security audit in CI
Cognitive Traps
| Rationalization | Truth |
| "It is just a prototype" | Prototypes graduate to production. Initialize properly. |
| "I will add linting later" | After 10,000 lines you will face hundreds of violations. Now is always easier. |
| "Tests decelerate initial development" | Test setup takes 5 minutes. Hunting bugs without tests takes hours. |
| "CI is excessive for this" | CI catches what you forget. Wire it up on day one. |
| "I will organize the files later" | You will not. Directory structure is harder to change than code. |
| "The .gitignore can wait" | One committed .env file means leaked credentials. Configure it first. |
Guardrails -- HALT and Set Up
- Writing features without a linter configured
- No .gitignore in the repository
- No test framework installed
- Secrets committed to version history (even once, even if deleted -- they persist in git history)
- No README explaining how to run the project
- Build artifacts checked into git
- No CI pipeline
anytypes everywhere (TypeScript)
Every item on this list means: halt feature work. Fix the foundation first.
Integration
Complementary skills:
- godmode:system-design -- Directory structure and technology selection
- godmode:quality-enforcement -- Quality gates wired into CI from the start
- godmode:security-protocol -- Secrets management and .gitignore discipline
- godmode:ux-patterns -- Design system initialization for UI projects
The Bottom Line
30 minutes of setup now > 30 hours of structural debt laterLinter. Formatter. Tests. CI. .gitignore. README. Before the first feature. Every single time.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

