project-bootstrapper
Skill9 starsChanged 8 months agoMITView on GitHub
Universal meta-skill that bootstraps ANY software project regardless of programming language. Auto-generates 15-30+ hyper-detailed, project-specific coding skills BEFORE writing code. Language-agnostic: works with TypeScript, Python, Go, Rust, Java, C#, Swift, Kotlin, PHP, Ruby, and polyglot projects. AGGRESSIVE version enforcement: EVERY technology version MUST be verified via real-time lookup — never use memorized versions. Generates skills for architecture, security, performance, privacy, testing, error handling, accessibility, observability, data modeling, API design, DevOps. Each skill enforces zero-bug standards with concrete code examples, anti-patterns, and measurable budgets. Triggers on: "bootstrap", "new project", "start project", "create project", "set up", "generate skills" — use BEFORE any code exists.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- OpenxIntelligence/Coding-Agent-Skillstheir own version, first seen Nov 1, 2026
- I-Onlabs/claude-code-skillstheir own version, first seen Oct 25, 2026
- nek1987/auto-agent-harnesstheir own version, first seen Oct 11, 2026
- adriaalcala/claude-code-setuptheir own version, first seen Sep 24, 2026
- konrad-woj/skillsettheir own version, first seen Jul 21, 2026
- rm2thaddeus/Aitor_Skillstheir own version, first seen Jan 22, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- I-Onlabs/claude-code-skills★ 4same name
- nek1987/auto-agent-harness★ 4same name
- OpenxIntelligence/Coding-Agent-Skills★ 4same name
- rm2thaddeus/Aitor_Skills★ 4same name
- konrad-woj/skillset★ 1same name
- adriaalcala/claude-code-setup★ 0same name
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 repositoryOne other file it gives its agents.
- project-managerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. 0 are common, 22 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
22
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Before generating ANY skills, you MUST read these reference files in order:
- Distinctive: line 86
Verify it's STABLE (not alpha, beta, RC, canary, nightly)
- Distinctive: line 110
No maintainer response to issues >6 months = red flag
- Distinctive: line 153
Only include rows relevant to the project.
- Distinctive: line 272
Every generated skill MUST produce this file tree:
- Very specific: line 287
Read references/skill-template.md for the exact skeleton.
- Distinctive: line 289
Every generated skill MUST contain:
- Distinctive: line 310
Testable: Every rule must be verifiable (lint rule, test, code review check)
- Distinctive: line 311
Examples compile: All code examples must work if copy-pasted, no pseudocode
- Distinctive: line 316
After generating all skills, verify:
- Distinctive: line 390
Before declaring bootstrap complete, run validation using both JavaScript and Python validators:
- Very specific: line 456
CRITICAL: After bootstrap, the project-manager skill ensures ongoing compliance:
- Distinctive: line 460
Monitors: all code changes in real-time
- Distinctive: line 461
Validates: every modification against active skills
- Distinctive: line 509
After bootstrap and validation:
- Very specific: line 511
Confirm: all skills are generated in .claude/skills/
- Distinctive: line 517
Every file created or edited will be governed by the relevant skills automatically, enforced by the project-manager skill.
- Distinctive: line 527
When in doubt, generate MORE skills rather than fewer
- Distinctive: line 528
If the user's project needs a domain not in the catalog, invent a new skill for it
- Distinctive: line 529
Follow the user's language preference (English by default)
- Distinctive: line 532
Read ALL reference files before generating ANY skills
- Distinctive: line 558
CRITICAL: Every technology version MUST be verified via real-time lookup:
- Very specific: line 559
Use WebSearch, WebFetch, or Context7
- Distinctive: line 560
Document verification source and date
- Distinctive: line 561
Never use memorized versions
- Distinctive: line 562
Verify ALL dependencies, not just frameworks
“Common” is measured: kept by at least 6 in 10 of the 6 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 Bootstrapper
Philosophy: Define how code must be written before writing any code. Bugs are prevented at design time, not discovered at runtime.
This is a meta-skill — it does not write application code. It generates the rules, patterns, guardrails, and quality standards that govern all code written afterward, by any developer or AI assistant.
How It Works
[Idea] → [Interview] → [Tech Stack] → [Skill Map] → [Generate Skills] → [Validate] → [Code]Activation
This skill activates when:
- User describes a new software project idea
- User says "bootstrap", "new project", "start from scratch", "set up project"
- User wants to generate a skill suite for an existing codebase
- User asks for coding standards, project scaffolding, or development guardrails
- Any context where skills should be created before development begins
Important: Read References First
Before generating ANY skills, you MUST read these reference files in order:
references/skill-catalog.md— Full catalog of 40+ skill domainsreferences/skill-template.md— Universal template every skill must followreferences/generation-guide.md— Domain-specific generation instructions with codereferences/quality-standards.md— Quality checklist for generated skillsreferences/cross-cutting-concerns.md— Rules that span all skills
Phase 1: Project Intelligence Gathering
1.1 — Understand the Idea
Extract or ask about:
What (Product):
- What does this project do? (one sentence)
- What type is it? (web app, mobile app, desktop app, CLI, library/SDK, API service, browser extension, IoT, embedded, game, data pipeline, ML platform, monorepo with multiple products)
- Who is the end user? (developers, consumers, enterprise, internal team)
- What is the revenue model? (open-source, freemium, SaaS subscription, one-time purchase, marketplace, ad-supported, enterprise license)
How Big (Scale):
- Expected users at launch? At 12 months?
- Data volume? (records, files, events/sec, storage)
- Geographic scope? (single region, continental, global)
- Availability requirement? (99.9%, 99.95%, 99.99%)
How (Constraints):
- Required technologies? (must use React, must deploy on AWS, etc.)
- Existing codebase? (greenfield vs brownfield)
- Team size? (solo, small team 2-5, medium 5-15, large 15+)
- Timeline? (hackathon/weekend, MVP in weeks, production in months)
- Budget constraints? (free tier only, moderate, enterprise)
- Compliance requirements? (GDPR, HIPAA, SOC2, PCI-DSS, COPPA, CCPA)
If the user already provided details, extract answers from their message instead of asking. Only ask what's missing and genuinely needed to make tech stack decisions.
1.2 — Determine Tech Stack
Based on the answers, recommend a complete tech stack.
🔍 MANDATORY: Version Research (Latest Stable) — ZERO TOLERANCE
This is NON-NEGOTIABLE. Before proposing ANY technology, you MUST verify its latest stable version via real-time lookup.
⚠️ CRITICAL: AI models have knowledge cutoffs. Package ecosystems evolve daily. A skill generated with outdated versions will produce vulnerable, deprecated code.
Research Protocol (execute for EVERY technology):
- Use available tools (in priority order):
WebSearch:"{package} latest stable version {current_year}"WebFetch: Official docs site (e.g.,nextjs.org,python.org,go.dev)- Context7:
resolve-library-id→query-docsfor changelog - Package registry: npmjs.com, pypi.org, crates.io, pkg.go.dev, maven.apache.org
- Extract exact version:
- Format:
Major.Minor.Patch(e.g.,Next.js 16.1.0) - Verify it's STABLE (not alpha, beta, RC, canary, nightly)
- Note release date — reject if >6 months old without updates
- Format:
- Document verification:
Technology: Next.js Version: 16.1.0 Verified via: nextjs.org/blog Verification date: 2026-03-09 Release date: 2026-02-15 Node requirement: >= 22.0.0
HARDCORE RULES:
- ✅ MUST: Verify EVERY dependency, not just frameworks
- ✅ MUST: Pin exact versions in all configs (
package.json,requirements.txt,Cargo.toml, etc.) - ✅ MUST: Use latest APIs/syntax from verified version in ALL code examples
- ❌ NEVER: Use memorized versions under ANY circumstance
- ❌ NEVER: Skip verification even for "well-known" packages
- ❌ NEVER: Use deprecated APIs from older versions
- ⚠️ WARN: If verification fails, mark clearly:
⚠️ VERSION UNVERIFIED — MUST CONFIRM
Abandonment Detection:
- Last commit/release >12 months = investigate alternatives
- No maintainer response to issues >6 months = red flag
- Security advisories unpatched >30 days = DO NOT USE
Example research queries:
"next.js latest version"→ nextjs.org or npm"postgresql latest stable release"→ postgresql.org"tailwind css latest version"→ tailwindcss.com or npm- Context7: resolve library ID → query docs for version/changelog
Tech Stack Decision Table
Organize as a layered decision table:
┌──────────────────────────────────────────────────────────────────────┐
│ TECH STACK PROPOSAL (versions verified: {date}) │
├────────────────┬─────────────────────────────────┬───────────────────┤
│ Category │ Choice │ Rationale │
├────────────────┼─────────────────────────────────┼───────────────────┤
│ Language │ {name} {verified latest version} │ │
│ Runtime │ {name} {verified latest version} │ │
│ Framework │ {name} {verified latest version} │ │
│ Database │ {name} {verified latest version} │ │
│ ORM/Query │ {name} {verified latest version} │ │
│ Cache │ {name} {verified latest version} │ │
│ Auth │ {name} {verified latest version} │ │
│ UI Library │ {name} {verified latest version} │ │
│ CSS/Styling │ {name} {verified latest version} │ │
│ State Mgmt │ {name} {verified latest version} │ │
│ API Style │ {name} {verified latest version} │ │
│ Validation │ {name} {verified latest version} │ │
│ Testing │ {name} {verified latest version} │ │
│ CI/CD │ {name} {verified latest version} │ │
│ Hosting │ {name} │ │
│ Monitoring │ {name} {verified latest version} │ │
│ Email │ {name} {verified latest version} │ │
│ File Storage │ {name} │ │
│ Search │ {name} {verified latest version} │ │
│ Queue/Jobs │ {name} {verified latest version} │ │
│ Analytics │ {name} {verified latest version} │ │
└────────────────┴─────────────────────────────────┴───────────────────┘Only include rows relevant to the project. Each choice gets a one-line rationale.
Wait for user confirmation before proceeding. The tech stack determines everything that follows.
Language-Agnostic Version Verification Matrix
For EVERY language, verify these tool versions:
┌─────────────────────────────────────────────────────────────────────────┐
│ LANGUAGE │ CORE VERSION │ PACKAGE MANAGER │ LINTER │ TESTER │
├─────────────────────────────────────────────────────────────────────────┤
│ TypeScript │ Latest Node │ npm/pnpm 10+ │ ESLint 9+ │ Vitest 3+ │
│ Python │ 3.12+ │ pip/uv │ Ruff 0.9+ │ pytest 8+ │
│ Go │ 1.24+ │ go modules │ golangci │ go test │
│ Rust │ Latest │ cargo │ clippy │ cargo test │
│ Java │ 21 LTS │ Maven/Gradle │ checkstyle │ JUnit 5 │
│ Kotlin │ 2.1+ │ Gradle │ ktlint │ Kotest │
│ C# │ .NET 9+ │ NuGet │ analyzers │ xUnit │
│ Swift │ 6.0+ │ SwiftPM │ swiftlint │ XCTest │
│ PHP │ 8.4+ │ Composer 2+ │ PHPStan 2+ │ PHPUnit 11+ │
│ Ruby │ 3.4+ │ Bundler │ RuboCop │ RSpec │
└─────────────────────────────────────────────────────────────────────────┘Polyglot Projects: Generate separate {language}-standards skills for each language.
1.3 — Generate Skill Map
Based on confirmed tech stack, produce a skill map — the complete list of skills to generate. Read references/skill-catalog.md for the full domain catalog.
Mandatory skills (generated for every project):
project-architecture— folder structure, module boundaries, naming{language}-standards— language-level coding rulessecurity-hardening— defense in depth, input/output, secrets, depserror-handling— error hierarchy, propagation, recoverydata-validation— schema validation, sanitization, boundariestesting-strategy— test types, coverage, mocking, fixturesperformance-optimization— budgets, profiling, caching, lazy loadinggit-workflow— branches, commits, PRs, releasesdocumentation-standards— code docs, API docs, READMs, ADRsprivacy-compliance— PII handling, data lifecycle, consent, GDPR/CCPAdependency-management— versioning, auditing, update policy, lockfiles
Conditional skills (generated when the project needs them):
{framework}-patterns— framework-specific conventionsdatabase-design— schema, migrations, indexing, queriesapi-design— endpoints, versioning, pagination, rate limitingui-engineering— components, styling, responsive, a11ystate-management— client/server/URL/form state patternsauth-patterns— authn, authz, sessions, tokens, MFAdevops-pipeline— CI/CD, environments, deployment, rollbackobservability— logging, metrics, tracing, alertingaccessibility-standards— WCAG compliance, ARIA, keyboard navinternationalization— i18n, l10n, RTL, pluralizationpayment-integration— billing, subscriptions, webhooks, PCIfile-handling— uploads, storage, processing, CDNrealtime-system— WebSocket, SSE, pub/sub, presenceemail-system— transactional, templates, queue, compliancesearch-implementation— engine, indexing, relevance, autocompletebackground-jobs— queues, scheduling, retry, dead lettermobile-patterns— navigation, offline, push, deep linksdesktop-patterns— window mgmt, tray, IPC, auto-updatecli-design— commands, args, output, config, shell completionmonorepo-management— workspaces, boundaries, versioningai-integration— LLM calls, prompts, streaming, cost, safetycaching-strategy— layers, invalidation, CDN, stale-while-revalidaterate-limiting— algorithms, tiers, headers, distributed limitingfeature-flags— rollout, targeting, kill switches, cleanupmigration-strategy— zero-downtime, data migrations, backward compatcontainer-orchestration— Docker, K8s, health checks, resourcesinfrastructure-as-code— Terraform/Pulumi, state, modulesevent-driven-architecture— event sourcing, CQRS, sagasgraphql-patterns— schema design, resolvers, N+1, batchingwebsocket-patterns— connection management, rooms, reconnectionmicroservice-patterns— service boundaries, communication, discovery
Present the skill map organized by generation layer. Wait for user confirmation.
Phase 2: Skill Generation Engine
2.1 — Generation Order (Dependency Layers)
Generate skills in strict dependency order — later skills can reference earlier ones:
Layer 0: project-architecture
(defines folder structure, module boundaries, naming — everything else references this)
Layer 1: {language}-standards, git-workflow, documentation-standards
(foundational coding and process standards)
Layer 2: security-hardening, error-handling, data-validation, privacy-compliance,
dependency-management
(cross-cutting safety and quality concerns)
Layer 3: database-design, api-design, auth-patterns, caching-strategy
(data and communication layer)
Layer 4: {framework}-patterns, ui-engineering, state-management,
accessibility-standards
(presentation and interaction layer)
Layer 5: testing-strategy, performance-optimization
(quality assurance — needs all other skills to exist first)
Layer 6: devops-pipeline, observability, container-orchestration,
infrastructure-as-code
(operations layer)
Layer 7: Domain-specific skills (payments, i18n, email, search, realtime,
background-jobs, feature-flags, AI, etc.)
(only relevant domains)2.2 — Skill File Structure
Every generated skill MUST produce this file tree:
{skill-name}/
├── SKILL.md # Main instructions (< 500 lines)
├── references/
│ ├── patterns.md # Approved patterns with full code examples
│ ├── anti-patterns.md # Forbidden patterns with severity + explanation
│ └── checklist.md # Pre-commit/pre-merge verification checklist
└── templates/ # (optional) Code templates, configs
└── *.template.*2.3 — Content Requirements
Read references/skill-template.md for the exact skeleton. Read references/generation-guide.md for domain-specific content requirements.
Every generated skill MUST contain:
- YAML frontmatter — name + aggressive description for reliable triggering
- Activation conditions — exact triggers (file types, directories, user phrases)
- Project context — references to actual project tech, paths, decisions
- Numbered core rules (15-40 per skill) — each with rationale + code examples
- Approved patterns — copy-pasteable code showing the right way
- Anti-patterns with severity (🔴 CRITICAL / 🟠 HIGH / 🟡 MEDIUM / 🟢 LOW)
- Performance budgets — concrete measurable numbers, not vague goals
- Security checklist — domain-specific security verification items
- Error scenarios table — what fails, how to detect, how to recover
- Edge cases — documented with handling instructions
- Integration points — how this skill connects to other generated skills
- Pre-commit checklist — verification items before code can be committed
2.4 — Writing Principles
- Explain the WHY: Claude and developers are smart — reasoning > rigid commands
- Concrete over abstract: Real code examples > descriptions of code
- Project-specific: Reference actual tech choices, paths, and decisions — never generic
- Opinionated: Pick one best approach and enforce it, don't offer menus
- Testable: Every rule must be verifiable (lint rule, test, code review check)
- Examples compile: All code examples must work if copy-pasted, no pseudocode
- Both sides: Show correct AND incorrect for every critical rule
2.5 — Cross-Skill Consistency
After generating all skills, verify:
- No contradictions between skills
- Shared terminology is consistent across all skills
- Import paths reference actual project structure
- Tech versions match across all skills
- Error handling patterns are uniform
- Logging format is identical everywhere
- Validation approach is the same everywhere
- Security rules don't conflict
Phase 3: Output
3.1 — Directory Layout
{project-root}/
├── .claude/
│ └── skills/
│ ├── project-architecture/
│ │ ├── SKILL.md
│ │ └── references/
│ ├── {language}-standards/
│ │ ├── SKILL.md
│ │ ├── references/
│ │ └── templates/
│ ├── security-hardening/
│ │ ├── SKILL.md
│ │ └── references/
│ ├── ... (all generated skills)
│ └── _bootstrap-manifest.json
├── .gitignore
└── ... (application code comes AFTER bootstrap)3.2 — Bootstrap Manifest
Generate _bootstrap-manifest.json:
{
"project": "{name}",
"bootstrapped_at": "{ISO-8601}",
"tech_stack": {},
"skills_generated": [
{
"name": "{skill-name}",
"path": ".claude/skills/{skill-name}/",
"layer": 0,
"depends_on": [],
"domains_covered": ["architecture", "folder-structure", "naming"]
}
],
"total_skills": 0,
"total_rules": 0,
"total_anti_patterns": 0,
"coverage": {
"security": true,
"performance": true,
"privacy": true,
"testing": true,
"accessibility": true,
"error_handling": true,
"documentation": true,
"observability": true
}
}Phase 4: Validation
Before declaring bootstrap complete, run validation using both JavaScript and Python validators:
Validation Checklist
- Completeness — Every tech stack component is covered by at least one skill
- Contradictions — No two skills give conflicting advice
- Dependencies — Every skill's
depends_ontargets exist - Coverage — Security, performance, privacy, testing, error handling all covered
- Specificity — Skills reference actual project names, paths, versions
- Quality — Run validators against the generated skills
Running Validators
JavaScript/Node.js (default):
# Validate all skills
node scripts/validate_bootstrap.js .claude/skills/
# Check version consistency
node scripts/version_checker.js .claude/skills/
# Check compliance (if you have source code)
node scripts/check_skill_compliance.js src/Python (alternative):
# Validate all skills
python scripts/validate_bootstrap.py .claude/skills/
# Check version consistency
python scripts/version_checker.py .claude/skills/
# Check compliance
python scripts/check_skill_compliance.py src/Validation Output
Present a summary table:
╔═══════════════════════════════════════════════════╗
║ BOOTSTRAP COMPLETE ║
╠═══════════════════════════════════════════════════╣
║ Project: {name} ║
║ Skills Generated: {N} ║
║ Total Rules: {N} ║
║ Total Anti-Patterns: {N} ║
║ Security Rules: {N} ║
║ Performance Budgets: {N} ║
║ Privacy Controls: {N} ║
║ Test Requirements: {N} ║
╠═══════════════════════════════════════════════════╣
║ ✅ No contradictions found ║
║ ✅ All dependencies resolved ║
║ ✅ Full coverage verified ║
║ ✅ Validators passed ║
║ ✅ Ready to code ║
╚═══════════════════════════════════════════════════╝Phase 5: Continuous Compliance (project-manager skill)
CRITICAL: After bootstrap, the project-manager skill ensures ongoing compliance:
What project-manager Does
- Monitors all code changes in real-time
- Validates every modification against active skills
- Blocks commits with skill violations
- Reports compliance metrics weekly
- Guides developers back to skill compliance
- Detects skill drift automatically
Tools Available
JavaScript:
# Check code compliance
node scripts/check_skill_compliance.js src/
# Analyze skill coverage
node scripts/analyze_skill_coverage.js src/
# Generate weekly report
node scripts/generate_compliance_report.js --weekPython:
# Check code compliance
python scripts/check_skill_compliance.py src/
# Analyze skill coverage
python scripts/analyze_skill_coverage.py src/
# Generate weekly report
python scripts/generate_compliance_report.py --weekPre-Commit Hooks
Set up automated compliance checking:
# Install pre-commit hook
cp scripts/pre-commit.example .git/hooks/pre-commit
chmod +x .git/hooks/pre-commitResult: Skills become active guardrails, not just documentation.
Phase 6: Handoff
After bootstrap and validation:
- Confirm all skills are generated in
.claude/skills/ - Explain the
project-managerskill will monitor compliance - Show how to run validators (both JS and Python options)
- Demonstrate compliance checking commands
- Transition to actual development
Every file created or edited will be governed by the relevant skills automatically, enforced by the project-manager skill.
Rules for This Skill
Core Principles
- This skill generates OTHER skills — it never generates application code
- Generated skills must be project-specific, not generic boilerplate
- When in doubt, generate MORE skills rather than fewer
- If the user's project needs a domain not in the catalog, invent a new skill for it
- Follow the user's language preference (English by default)
- The tech stack is tech-agnostic: works for TypeScript, Python, Go, Rust, Java, C#, Swift, Kotlin, PHP, Ruby, or any combination
- For polyglot projects, generate per-language skills
- Read ALL reference files before generating ANY skills
Validation Requirements
ALWAYS run validators after generation:
# Option 1: JavaScript/Node.js (recommended, no Python needed)
node scripts/validate_bootstrap.js .claude/skills/
# Option 2: Python (if available)
python scripts/validate_bootstrap.py .claude/skills/Validation must pass before declaring bootstrap complete.
Required Skills
ALWAYS generate the project-manager skill alongside other skills. It:
- Monitors compliance throughout development
- Validates code against skills in real-time
- Generates compliance reports
- Prevents skill drift
Version Verification
CRITICAL: Every technology version MUST be verified via real-time lookup:
- Use
WebSearch,WebFetch, or Context7 - Document verification source and date
- Never use memorized versions
- Verify ALL dependencies, not just frameworks
Post-Generation Checklist
Before handoff:
- All skills generated in
.claude/skills/ project-managerskill included- Validation passed (JS or Python)
- Version checker run
_bootstrap-manifest.jsoncreated- Compliance tools explained to user
- Pre-commit hooks mentioned
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.

