/SKILL.md
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.
npx skillsauth add ersinkoc/project-bootstrap project-bootstrapperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
[Idea] → [Interview] → [Tech Stack] → [Skill Map] → [Generate Skills] → [Validate] → [Code]
This skill activates when:
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 skillsExtract or ask about:
What (Product):
How Big (Scale):
How (Constraints):
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.
Based on the answers, recommend a complete tech stack.
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)resolve-library-id → query-docs for changelogExtract exact version:
Major.Minor.Patch (e.g., Next.js 16.1.0)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:
package.json, requirements.txt, Cargo.toml, etc.)⚠️ VERSION UNVERIFIED — MUST CONFIRMAbandonment Detection:
Example research queries:
"next.js latest version" → nextjs.org or npm"postgresql latest stable release" → postgresql.org"tailwind css latest version" → tailwindcss.com or npmOrganize 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.
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.
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, lockfilesConditional 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, discoveryPresent the skill map organized by generation layer. Wait for user confirmation.
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)
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.*
Read references/skill-template.md for the exact skeleton. Read references/generation-guide.md for domain-specific content requirements.
Every generated skill MUST contain:
After generating all skills, verify:
{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)
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
}
}
Before declaring bootstrap complete, run validation using both JavaScript and Python validators:
depends_on targets existJavaScript/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/
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 ║
╚═══════════════════════════════════════════════════╝
CRITICAL: After bootstrap, the project-manager skill ensures ongoing compliance:
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 --week
Python:
# 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 --week
Set up automated compliance checking:
# Install pre-commit hook
cp scripts/pre-commit.example .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
Result: Skills become active guardrails, not just documentation.
After bootstrap and validation:
.claude/skills/project-manager skill will monitor complianceEvery file created or edited will be governed by the relevant skills automatically, enforced by the project-manager skill.
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.
ALWAYS generate the project-manager skill alongside other skills. It:
CRITICAL: Every technology version MUST be verified via real-time lookup:
WebSearch, WebFetch, or Context7Before handoff:
.claude/skills/project-manager skill included_bootstrap-manifest.json createddevelopment
Acts as a vigilant project manager throughout development, ensuring all code adheres to the project's skill rules. Monitors .claude/skills/ for changes, validates code against active skills, prevents skill drift, enforces pre-commit checks, generates compliance reports, and guides developers back to skill compliance when deviations occur. Activates on every code change, file creation, refactoring, or when developers say "implement", "add feature", "refactor", "fix", or "code review". Must read active skills before any code modification.
development
Acts as a vigilant project manager throughout development, ensuring all code adheres to the project's skill rules. Monitors .claude/skills/ for changes, validates code against active skills, prevents skill drift, enforces pre-commit checks, generates compliance reports, and guides developers back to skill compliance when deviations occur. Activates on every code change, file creation, refactoring, or when developers say "implement", "add feature", "refactor", "fix", or "code review". Must read active skills before any code modification.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.