/SKILL.md
Analyzes project architecture, detects frameworks, conventions, and patterns. Generates comprehensive project profiles with technology stack detection, folder structure analysis, and convention mapping.
npx skillsauth add fbenitezrtw/project-bootstrap-architect project-bootstrap-architectInstall 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.
Meta-skill that automatically configures the entire professional development ecosystem for any project: specialized AI sub-agents, operational/strategic/memory playbooks, IDE rules, recommended skills, and MCP server configurations. Equivalent to having a Staff Engineer bootstrap the development infrastructure on day one.
Ask the user:
"What is the master document for your project? (the file that describes the stack, architecture, and objectives). It can be a .md, .txt, or any document."
Suggest common options:
Guide the user through an interview to create one. Ask these questions (adapt phrasing to context):
With the answers, generate a PROJECT_CONTEXT.md at the repository root.
Read the master document completely and extract:
Store this analysis in memory for use across all subsequent phases.
Search the filesystem in this priority order:
| IDE / Tool | Detection Signals | Config Paths |
|---|---|---|
| Cursor | .cursor/ dir, .cursorrules file, .cursor/mcp.json | .cursor/, .cursorrules |
| Claude Code | .claude/ dir, CLAUDE.md file, .claude/settings.json | .claude/, CLAUDE.md |
| VS Code + Continue | .vscode/ dir AND .continue/ dir | .continue/, .vscode/ |
| VS Code + Cline | .vscode/ dir AND .clinerules file | .clinerules |
| Windsurf | .windsurf/ dir, .windsurfrules file | .windsurf/, .windsurfrules |
| GitHub Copilot | .github/copilot-instructions.md | .github/ |
| Aider | .aider.conf.yml or .aiderignore | .aider.conf.yml |
| Zed + Assistant | .zed/ dir | .zed/settings.json |
Reference: detectors/ide-detector.md for full detection logic.
If multiple IDEs are detected, configure ALL of them. Ask the user which is primary.
Store:
Use detectors/stack-detector.md for exhaustive technology-to-profile mapping.
Core mapping table:
| Technology Detected | Required Profile(s) | |---|---| | .NET, C#, ASP.NET Core | backend-architect (.NET) | | Java, Spring Boot, Quarkus | backend-architect (Java) | | Python, Django, FastAPI, Flask | backend-architect (Python) | | Node.js, Express, NestJS, Fastify | backend-architect (Node) | | Go, Gin, Echo, Fiber | backend-architect (Go) | | Rust, Actix, Axum | backend-architect (Rust) | | React, Vue, Angular, Svelte, Solid | frontend-engineer | | React Native, Flutter, Swift, Kotlin | mobile-engineer | | PostgreSQL, MySQL, MongoDB, Redis | database-admin | | Docker, Kubernetes, Terraform, Pulumi | infra-devops | | Any testing mention | qa-lead | | AI/ML, LLM, RAG, embeddings | ai-engineer | | Auth, Security, OWASP, compliance | security-specialist | | Figma, Design System, Storybook | design-engineer | | ETL, Spark, Airflow, dbt | data-engineer | | Blockchain, Solidity, Web3 | blockchain-engineer | | Unity, Unreal, Godot | game-engineer |
Reference: detectors/profile-detector.md for complete mapping with sub-specializations.
Format:
Based on your project, I detect these profiles are needed:
1. ✅ backend-architect (.NET)
2. ✅ frontend-engineer (React/TypeScript)
3. ✅ database-admin (PostgreSQL)
4. ✅ infra-devops (Docker + GitHub Actions)
5. ✅ qa-lead
6. ✅ security-specialist
7. ❓ ai-engineer (detected AI mentions — do you need it?)
Would you like to add or remove any?
NEVER auto-generate agents without explicit approval of the profile list.
For each confirmed profile:
templates/agent-template.md for the structural skeletonprofiles/{category}.mdprofiles/certifications-registry.md for certification namesEach sub-agent MUST contain these sections:
# {ROLE_NAME}
## Profile
{Senior/Staff/Principal} {Title} specialized in {Stack}
## Certifications and frameworks mastered
{Minimum 5, from certifications-registry.md}
{Only those relevant to the project's stack}
{Each certification uses its official, verifiable name}
## Scope
{Directories and files under this agent's authority}
## Responsibilities
{8-12 specific, actionable responsibilities}
## Strict technical rules
{Minimum 10 concrete, verifiable, stack-specific rules}
{NOT generic — each rule must reference a technology or pattern}
## Workflow when receiving a task
1. Read the project's master document for context
2. Explore existing codebase to detect established patterns
3. If a similar pattern exists → follow it exactly
4. If no pattern exists → propose one and wait for approval
5. Implement COMPLETE code (never placeholders)
6. Verify it compiles/runs without errors
7. Include happy-path tests at minimum
8. Document per HANDOFF_PROTOCOL
## Anti-patterns (NEVER do)
{Minimum 5 anti-patterns specific to the role and stack}
## Handoff
When I produce work another agent will consume, I document:
{What this agent documents for the next agent}
profiles/certifications-registry.mdFor each agent, create:
.cursor/agents/{role-name}.md (if Cursor detected).claude/agents/{role-name}.md (if Claude Code detected)Use templates/handoff-protocol-template.md as base and references/handoff-protocol-real-example.md as quality reference. Adapt to the project's stack, modules, and team structure. Place in the same directories as the agents.
Using templates/playbook-operations.md as base and references/playbook-operations-real-example.md as quality reference, generate a playbook that includes:
Using templates/playbook-strategy.md as base and references/playbook-strategy-real-example.md as quality reference, generate:
Using templates/playbook-memory.md as base, generate:
# Memory Playbook — {Project Name}
## Decisions made
(Updated during development)
- [DATE] Decision: ... Reason: ...
## Problems encountered and solutions
(Updated during development)
- [DATE] Problem: ... Solution: ...
## Established patterns
(Updated when a new pattern is created)
- Pattern: ... Location: ... Use when: ...
## Module dependencies
(Extracted from master document)
- Module A depends on B because...
## Context for future sessions
(Information any new session needs to know)
- ...
| IDE | Playbook Location |
|---|---|
| Cursor | .cursor/rules/ |
| Claude Code | .claude/ |
| VS Code + Continue | .continue/ |
| Windsurf | .windsurf/rules/ |
| General | docs/playbooks/ (always, as fallback) |
| IDE | Rules File |
|---|---|
| Cursor | .cursorrules (root) |
| Claude Code | CLAUDE.md (root) |
| Windsurf | .windsurfrules (root) |
| VS Code + Cline | .clinerules (root) |
| GitHub Copilot | .github/copilot-instructions.md |
| Continue | .continue/config.json |
Create it using templates/cursorrules-template.md or templates/claude-rules-template.md adapted to the IDE format and the project's stack. Use references/cursorrules-real-example.md as the quality reference for depth, structure, and enforcement language.
The rules file MUST include this instruction (adapted to the IDE's format):
BEFORE EVERY RESPONSE IN THIS PROJECT:
1. Read the project master document: {MASTER_FILE_NAME}
2. Read the operational playbook: {PLAYBOOK_PATH}
3. Identify which sub-agent(s) apply: {AGENTS_PATH}
4. Check if relevant skills are installed
5. Follow the rules of the corresponding sub-agent
6. Consult the memory playbook for context
This ensures the LLM ALWAYS reads the guide before every execution, without the user having to remind it.
Technology-to-skill search mapping:
| Detected Stack | Skills to Search | |---|---| | .NET / C# | "dotnet", "csharp", "aspnet", "ef-core" | | React | "react", "typescript", "vite", "tailwind" | | Python | "python", "django", "fastapi", "flask" | | PostgreSQL | "postgresql", "database", "sql" | | Docker / K8s | "docker", "kubernetes", "container" | | Testing | "testing", "playwright", "jest", "vitest" | | CI/CD | "github-actions", "gitlab-ci", "azure-devops" | | AI / ML | "openai", "langchain", "rag", "llm" | | Security | "owasp", "security", "auth" | | Design | "shadcn", "tailwind", "storybook" |
Reference: detectors/stack-detector.md for the complete mapping.
If find-skills is available, execute searches for each needed skill.
If not available, list recommended skills with manual installation commands.
| Skill | Relevance | Install? |
|-------|-----------|----------|
| react-patterns | High — React 19 detected | Yes |
| shadcn | High — shadcn/ui in deps | Yes |
| playwright-best-practices | Medium — E2E mentioned | Recommended |
| openai-api | Low — no AI features yet | Optional |
NEVER install skills without user confirmation.
Reference: detectors/mcp-detector.md for the complete service-to-MCP mapping.
Core mapping:
| Service Detected | Recommended MCP | |---|---| | GitHub / GitLab | server-github / server-gitlab | | Jira | jira MCP (community) | | Notion | server-notion | | Slack | server-slack | | PostgreSQL | server-postgres | | MongoDB | (community MCP) | | AWS | server-aws-kb-retrieval | | Google Drive | server-gdrive | | Filesystem | server-filesystem | | Web access | server-fetch / server-puppeteer | | Supabase | server-supabase | | Redis | (community MCP) |
If multi-mcp-connector skill is available → delegate installation to it.
If not → generate the MCP JSON entries manually and present them.
For MCPs requiring API keys or tokens, NEVER request the actual values. Instead, add the MCP entry with a placeholder and notify the user:
⚠️ MCPs requiring manual API key configuration:
1. notion → NOTION_API_KEY → Get at https://notion.so/my-integrations
2. github → GITHUB_TOKEN → Get at https://github.com/settings/tokens
3. slack → SLACK_BOT_TOKEN → Get at https://api.slack.com/apps
After bootstrap, edit your mcp.json and add the keys.
Generate a file at the project root with step-by-step instructions for obtaining each required API key, including:
Execute the full checklist from validators/bootstrap-validator.md:
BOOTSTRAP VALIDATION CHECKLIST
═══════════════════════════════
[ ] Master document read and analyzed
[ ] IDE(s) detected
[ ] Profiles confirmed with user
[ ] Sub-agents created in correct locations
[ ] Sub-agents identical between .cursor/ and .claude/ (if both exist)
[ ] Operational playbook created
[ ] Strategic playbook created
[ ] Memory playbook created
[ ] IDE rules configured with mandatory pre-execution reading
[ ] Skills searched/installed (or listed for manual installation)
[ ] MCPs detected and configured (or listed with guide)
[ ] BOOTSTRAP_LOG.md generated
[ ] No secret or API key exposed in committable files
[ ] .gitignore updated to exclude local agent configs if needed
Create at the repository root:
# Bootstrap Log — {Project Name}
## Generated on: {date}
## Skill: project-bootstrap-architect
### Master document analyzed
- {name}: {2-line summary}
### IDE detected
- Primary: {IDE}
- Secondary: {list}
### Sub-agents created ({count})
| Agent | Profile | Certifications | Location |
|-------|---------|----------------|----------|
| ... | ... | {count} | .cursor/agents/, .claude/agents/ |
### Playbooks created
- Operational: {path}
- Strategic: {path}
- Memory: {path}
### Rules configured
- {file}: {what was added}
### Skills installed
| Skill | Status |
|-------|--------|
| ... | installed / recommended / manual |
### MCPs configured
| MCP | Status | API Key Required |
|-----|--------|-----------------|
| ... | configured / needs-key | yes/no |
### Files created
{complete list of all files created}
### Files modified
{complete list of files modified with what was added}
### Warnings
- {any issues found during bootstrap}
"Bootstrap complete. Would you like me to run a detailed verification of each component?"
profiles/certifications-registry.mdThe references/ directory contains REAL production examples from an actual project.
Use these as the quality bar and structural reference when generating outputs.
They are NOT templates — they are finished products showing what professional output looks like.
| Reference File | What It Demonstrates |
|---|---|
| references/cursorrules-real-example.md | Complete .cursorrules with 13 sections, naming conventions, code quality rules, project structure trees, API patterns, testing requirements, and skills catalog |
| references/playbook-operations-real-example.md | Operational playbook with 9 rules: context, agents table, skills, handoff, patterns, completeness, RAG, MCPs, bootstrap |
| references/playbook-strategy-real-example.md | Strategic playbook with module dependency map, full stack tables with versions, 6 implementation phases, 14 ADRs, 5 quality gates, NFR table, module pattern, port conventions, git conventions |
| references/handoff-protocol-real-example.md | Handoff protocol with 5 agent-to-agent templates, typed handoff documents, 6-step delivery sequence, and security review gate |
references/cursorrules-real-example.md to match the depth, structure, and enforcement languagereferences/playbook-operations-real-example.md to match the rule format and agent table structurereferences/playbook-strategy-real-example.md to match the module map, stack tables, phases, ADRs, quality gates, and conventionsreferences/handoff-protocol-real-example.md to match the template-driven, producer/consumer handoff patternEach reference file ends with a "Key Patterns to Extract" section listing the 10 most important structural patterns to replicate.
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.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.