[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EGKH9ZKTAHTK7NM1KJD9NY":3,"skill-same:01M6EGKH9ZKTAHTK7NM1KJD9NY":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M6EGKH9ZKTAHTK7NM1KJD9NY","ln-700-project-bootstrap",null,"Universal project bootstrapper: CREATE new or TRANSFORM existing project to production-ready structure","levalencia\u002Fagent-god-mode","levalencia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6962857?v=4","01M6EB0FZZ4BPQPC4HET4QY6NM","Luis Valencia ","01M6EB0G4HWHPWW0H9X7QKSAHP",3,"MIT","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-700-project-bootstrap\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"bootstrap","project bootstrap","project","ln 700 project bootstrap","create","Production","ready","structure","transform","project bootstrapper","2026-11-10 10:12:30",false,"---\nname: ln-700-project-bootstrap\ndescription: \"Universal project bootstrapper: CREATE new or TRANSFORM existing project to production-ready structure\"\nlicense: MIT\n---\n\n> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.\n\n# ln-700-project-bootstrap\n\n**Type:** L1 Top Orchestrator\n**Category:** 7XX Project Bootstrap\n\nUniversal project bootstrapper with two modes: CREATE (generate production-ready project from scratch) or TRANSFORM (migrate existing prototype from any platform to production structure). Output: Clean Architecture, Docker, CI\u002FCD, quality tooling.\n\n---\n\n## Mode Selection\n\n| Aspect | CREATE | TRANSFORM |\n|--------|--------|-----------|\n| **Input** | Empty directory or target stack config | Existing project (Replit, StackBlitz, CodeSandbox, Glitch, custom) |\n| **Detection** | No source files found | Source files + optional platform config detected |\n| **ln-820** | SKIP (no deps to upgrade) | RUN (upgrade existing deps) |\n| **ln-720** | SCAFFOLD + GENERATE | RESTRUCTURE + MIGRATE |\n| **ln-724** | SKIP (no artifacts) | CONDITIONAL (if platform detected) |\n| **ln-730–780** | RUN (same for both modes) | RUN (same for both modes) |\n\n---\n\n## Overview\n\n| Aspect | Details |\n|--------|---------|\n| **Input** | Empty directory (CREATE) or source project (TRANSFORM) |\n| **Output** | Production-ready project with all infrastructure |\n| **Delegations** | ln-820 (conditional) -> ln-720 -> ln-730 -> ln-740 -> ln-760 -> ln-770 -> ln-780 |\n\n---\n\n## Workflow\n\n```\nPhase 0: Analyze (Tech Detection)\n    |\n    v\nPhase 1: Plan (Generate Transformation Plan)\n    |\n    v\nPhase 2: Confirm (User Approval)\n    |\n    v\nPhase 3: Execute (Delegate to L2 Coordinators)\n    |\n    +---> ln-820: Dependency Upgrader\n    +---> ln-720: Structure Migrator\n    +---> ln-730: DevOps Setup\n    +---> ln-740: Quality Setup\n    +---> ln-760: Security Setup\n    +---> ln-770: Crosscutting Setup\n    +---> ln-780: Bootstrap Verifier\n    |\n    v\nPhase 4: Report (Summary of Changes)\n```\n\n---\n\n## Phase 0: Technology Detection\n\n### Step 0.0: Mode Detection\n\n| Condition | Mode | Action |\n|-----------|------|--------|\n| Empty directory (no source files) | CREATE | Ask user for target stack, project name, entities |\n| Source files found | TRANSFORM | Auto-detect stack, scan for platform artifacts |\n| Ambiguous (few files, unclear) | ASK | Present both options, let user choose |\n\n### Step 0.1: CREATE Mode — User Input\n\n| Parameter | Required | Default | Example |\n|-----------|----------|---------|---------|\n| Project name | Yes | — | MyApp |\n| Target backend | Yes | — | .NET \u002F Node.js \u002F Python |\n| Target frontend | Yes | — | React \u002F Vue \u002F Angular \u002F Svelte |\n| Database | Yes | — | PostgreSQL \u002F MongoDB \u002F MySQL |\n| Main entities | No | User, Role (starter) | User, Product, Order |\n\n### Step 0.2: Idempotency Pre-flight\n\nIf target directory contains existing files:\n1. Detect existing structure (package.json, .csproj, etc.)\n2. **Warn user:** \"Target directory is not empty. Existing files may be overwritten.\"\n3. Ask: **Overwrite** (replace all) \u002F **Merge** (keep existing, add missing) \u002F **Abort**\n\n### Step 0.3: Technology Detection (TRANSFORM mode) \u002F Stack Config (CREATE mode)\n\nAnalyze project to detect tech stack before delegations.\n\n### Detection Rules\n\n```yaml\nFrontend:\n  React:\n    - package.json contains \"react\"\n    - Files: *.tsx, *.jsx with React imports\n  Vue:\n    - package.json contains \"vue\"\n    - Files: *.vue\n  Angular:\n    - package.json contains \"@angular\u002Fcore\"\n    - Files: *.component.ts\n  Svelte:\n    - package.json contains \"svelte\"\n    - Files: *.svelte\n\nBackend:\n  .NET:\n    - *.csproj files exist\n    - *.sln files exist\n  Node.js:\n    - package.json + (express|fastify|nest|koa)\n    - tsconfig.json or jsconfig.json\n  Python:\n    - requirements.txt OR pyproject.toml OR setup.py\n    - (fastapi|flask|django) in dependencies\n  Go:\n    - go.mod exists\n\nDatabase:\n  PostgreSQL:\n    - DATABASE_URL contains \"postgres\"\n    - docker-compose.yml contains \"postgres\"\n  MongoDB:\n    - MONGODB_URI in env\n    - docker-compose.yml contains \"mongo\"\n  MySQL:\n    - DATABASE_URL contains \"mysql\"\n\nORM:\n  Drizzle: drizzle.config.ts exists\n  Prisma: prisma\u002Fschema.prisma exists\n  EF Core: *.csproj references Microsoft.EntityFrameworkCore\n  SQLAlchemy: \"sqlalchemy\" in requirements\n```\n\n### Detection Output\n\n```yaml\nDetected Stack:\n  Frontend:\n    Framework: React\n    Version: 19.x\n    Build Tool: Vite\n    UI Library: shadcn\u002Fui\n    State: React Query\n\n  Backend:\n    Current: Node.js + Express\n    Target: .NET 10 (user preference)\n    ORM: Drizzle -> EF Core\n\n  Database:\n    Type: PostgreSQL\n    Version: 17\n\n  Structure:\n    Type: Monolith (Prototype)\n    Origin: replit | stackblitz | codesandbox | glitch | custom\n    Target: Clean Architecture\n```\n\n---\n\n## Phase 1: Generate Transformation Plan\n\nBased on detected stack, create detailed plan:\n\n```markdown\n# Bootstrap Transformation Plan\n\n## Source Analysis\n- Frontend: React 19 + Vite + TypeScript\n- Backend: Express + Drizzle (to be replaced with .NET)\n- Database: PostgreSQL 17\n\n## Transformations\n\n### 1. Dependencies (ln-820)\n- Upgrade React 18 -> 19\n- Upgrade Vite 5 -> 6\n- Add missing peer dependencies\n\n### 2. Structure (ln-720)\n- Move frontend to src\u002Ffrontend\u002F\n- Create .NET backend: MyApp.Api, MyApp.Domain, etc.\n- Migrate mock data from Drizzle to MockData classes\n\n### 3. DevOps (ln-730)\n- Create Dockerfile.frontend (multi-stage)\n- Create Dockerfile.backend (.NET SDK)\n- Create docker-compose.yml\n- Create .github\u002Fworkflows\u002Fci.yml\n\n### 4. Quality (ln-740)\n- Configure ESLint (flat config)\n- Add Prettier\n- Setup Husky + lint-staged\n- Create test infrastructure (Vitest, xUnit)\n\n### 5. Security (ln-760)\n- Scan for hardcoded secrets\n- Run npm audit\n- Create SECURITY.md\n\n### 6. Crosscutting (ln-770)\n- Configure Serilog logging\n- Add GlobalExceptionMiddleware\n- Configure CORS policy\n- Add \u002Fhealth endpoints\n- Enable Swagger\n\n### 7. Verification (ln-780)\n- Build all projects\n- Run tests\n- Start Docker containers\n- Verify health checks\n\n## Estimated Changes\n- Files created: ~45\n- Files modified: ~12\n- Files deleted: ~8 (replaced backend)\n```\n\n---\n\n## Phase 2: User Confirmation\n\nPresent plan and ask for approval:\n\n```\nBootstrap Plan Ready!\n\nSummary:\n- Frontend: React 19 (upgrade from 18)\n- Backend: .NET 10 (replacing Node.js)\n- Docker: Multi-container setup\n- CI\u002FCD: GitHub Actions\n- Quality: ESLint, Prettier, Husky\n\nProceed with bootstrap? [Y\u002Fn]\n```\n\nIf user declines, ask for modifications.\n\n---\n\n## Phase 3: Execute Delegations\n\nSequential delegation to L2 coordinators:\n\n| Order | Skill | Purpose | CREATE mode | TRANSFORM mode | Depends On |\n|-------|-------|---------|-------------|----------------|------------|\n| 1 | ln-820 | Upgrade dependencies | **SKIP** | RUN | — |\n| 2 | ln-720 | Structure (SCAFFOLD\u002FRESTRUCTURE) | RUN (SCAFFOLD) | RUN (RESTRUCTURE) | ln-820 |\n| 3 | ln-730 | Setup Docker\u002FCI | RUN | RUN | ln-720 |\n| 4 | ln-740 | Configure quality tools | RUN | RUN | ln-720 |\n| 5 | ln-760 | Security scanning | RUN | RUN | ln-820 |\n| 6 | ln-770 | Crosscutting concerns | RUN | RUN | ln-720 |\n| 7 | ln-780 | Build and verify | RUN | RUN | All above |\n\n### Delegation Protocol\n\nFor each L2 coordinator:\n\n1. **Prepare context:**\n   ```yaml\n   Stack:\n     frontend: { framework, version, buildTool }\n     backend: { framework, version }\n     database: { type, version }\n\n   Paths:\n     root: \u002Fproject\n     frontend: \u002Fproject\u002Fsrc\u002Ffrontend\n     backend: \u002Fproject\u002Fsrc\u002FMyApp.Api\n\n   Options:\n     skipTests: false\n     allowFailures: false\n   ```\n\n2. **Invoke skill:** Pass context as input\n\n3. **Collect result:**\n   ```yaml\n   Status: success | partial | failed\n   FilesCreated: [...]\n   FilesModified: [...]\n   Warnings: [...]\n   Errors: [...]\n   ```\n\n4. **Handle errors:**\n   - Log error details\n   - Ask user: continue or abort?\n   - If abort, rollback if possible\n\n---\n\n## Phase 4: Generate Report\n\n### Bootstrap Completeness Assessment\n\n**Context:** Final verification that bootstrap produced a working project, not just files.\n\n| # | Category | Check | Source |\n|---|----------|-------|--------|\n| 1 | **Structure** | Clean Architecture layers present | ln-720 result |\n| 2 | **Dependencies** | All packages installed, no version conflicts | ln-820 result |\n| 3 | **DevOps** | Docker builds, CI pipeline valid | ln-730 result |\n| 4 | **Quality** | Linters\u002Fformatters configured and pass | ln-740 result |\n| 5 | **Security** | No hardcoded secrets, scanning configured | ln-760 result |\n| 6 | **Build** | Project compiles\u002Fbuilds without errors | ln-780 result |\n\n**Completeness Score = count of PASS \u002F 6**\n- 6\u002F6: Bootstrap complete\n- 4-5\u002F6: Bootstrap complete with warnings (list failing categories)\n- \u003C4\u002F6: Bootstrap incomplete — list blocking issues for user action\n\n### Summary Report\n\nFinal summary after all delegations:\n\n```yaml\nBootstrap Complete!\n\nDuration: 24 minutes 32 seconds\n\nChanges Summary:\n  Files Created: 47\n  Files Modified: 15\n  Files Deleted: 9\n\nBy Category:\n  Dependencies:\n    - Upgraded 23 packages\n    - No breaking changes detected\n\n  Structure:\n    - Created 5 .NET projects\n    - Restructured frontend (12 components extracted)\n    - Migrated 8 mock data files\n\n  DevOps:\n    - Created Dockerfile.frontend\n    - Created Dockerfile.backend\n    - Created docker-compose.yml\n    - Created .github\u002Fworkflows\u002Fci.yml\n\n  Quality:\n    - Configured ESLint + Prettier\n    - Installed Husky hooks\n    - Created 3 test files\n\n  Security:\n    - Scanned 156 files\n    - Found 0 secrets\n    - 2 vulnerability warnings (low severity)\n\n  Crosscutting:\n    - Configured Serilog\n    - Added error handling\n    - CORS enabled for localhost\n    - Health checks at \u002Fhealth\n    - Swagger at \u002Fswagger\n\nVerification:\n  Build: SUCCESS\n  Tests: 42 passed, 0 failed\n  Docker: 3 containers running\n  Health: All endpoints responding\n\nNext Steps:\n  1. Open http:\u002F\u002Flocalhost:3000 (frontend)\n  2. Open http:\u002F\u002Flocalhost:5000\u002Fswagger (API docs)\n  3. Run 'git add . && git commit -m \"Bootstrap complete\"'\n```\n\n---\n\n## Error Handling\n\n### Recoverable Errors\n\n| Error | Action |\n|-------|--------|\n| Dependency conflict | Try with --legacy-peer-deps |\n| Build failure | Log error, suggest fix, continue |\n| Test failure | Log warning, continue with --allow-failures |\n| Docker build fail | Suggest Dockerfile fixes |\n\n### Fatal Errors\n\n| Error | Action | Mode |\n|-------|--------|------|\n| No package.json (TRANSFORM) | Abort: \"Not a Node.js project\" | TRANSFORM |\n| Unsupported stack | Abort: \"Stack not supported: {stack}\" | Both |\n| Permission denied | Abort: \"Cannot write to {path}\" | Both |\n| No stack selected | Abort: \"Target stack required for CREATE mode\" | CREATE |\n| Conflicting files | Abort if user chose \"Abort\" in pre-flight | CREATE |\n\n---\n\n## Configuration\n\n### Skill Options\n\n```yaml\nOptions:\n  # Backend replacement\n  targetBackend: \".NET\" | \"Node\" | \"Python\" | \"keep\"\n\n  # Frontend refactoring depth\n  frontendRefactoring: \"minimal\" | \"moderate\" | \"full\"\n\n  # Docker setup\n  dockerEnabled: true\n  dockerRegistry: null  # Optional: ghcr.io\u002Fuser\n\n  # CI\u002FCD\n  cicdProvider: \"github\" | \"azure\" | \"gitlab\" | \"none\"\n\n  # Quality tools\n  linterConfig: \"recommended\" | \"strict\"\n  precommitHooks: true\n\n  # Verification\n  runTests: true\n  startContainers: true\n  keepContainersRunning: true\n```\n\n### Environment Variables\n\n```bash\n# Optional: Override detection\nBOOTSTRAP_FRONTEND=react\nBOOTSTRAP_BACKEND=dotnet\nBOOTSTRAP_DB=postgres\n\n# Optional: Skip steps\nSKIP_DEPENDENCIES=false\nSKIP_DOCKER=false\nSKIP_TESTS=false\n```\n\n---\n\n## Integration with Existing Skills\n\n| Skill | Integration |\n|-------|-------------|\n| ln-001-standards-researcher | Query for best practices during ln-720 |\n| ln-002-best-practices-researcher | Generate guides during ln-720 |\n| ln-100-documents-pipeline | Call after bootstrap for docs |\n| ln-310-multi-agent-validator | Validate generated tasks |\n\n---\n\n## References\n\n**MANDATORY READ:** Load these files at the phases indicated:\n- `references\u002Fstack_detection.md` — Phase 0 detection rules and patterns\n- `references\u002Ftransformation_plan_template.md` — Phase 1 plan template\n- `references\u002Fverification_checklist.md` — Phase 3 verification steps\n\n---\n\n**Version:** 2.0.0\n**Last Updated:** 2026-02-07\n","> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.\n\n# ln-700-project-bootstrap\n\n**Type:** L1 Top Orchestrator\n**Category:** 7XX Project Bootstrap\n\nUniversal project bootstrapper with two modes: CREATE (generate production-ready project from scratch) or TRANSFORM (migrate existing prototype from any platform to production structure). Output: Clean Architecture, Docker, CI\u002FCD, quality tooling.\n\n---\n\n## Mode Selection\n\n| Aspect | CREATE | TRANSFORM |\n|--------|--------|-----------|\n| **Input** | Empty directory or target stack config | Existing project (Replit, StackBlitz, CodeSandbox, Glitch, custom) |\n| **Detection** | No source files found | Source files + optional platform config detected |\n| **ln-820** | SKIP (no deps to upgrade) | RUN (upgrade existing deps) |\n| **ln-720** | SCAFFOLD + GENERATE | RESTRUCTURE + MIGRATE |\n| **ln-724** | SKIP (no artifacts) | CONDITIONAL (if platform detected) |\n| **ln-730–780** | RUN (same for both modes) | RUN (same for both modes) |\n\n---\n\n## Overview\n\n| Aspect | Details |\n|--------|---------|\n| **Input** | Empty directory (CREATE) or source project (TRANSFORM) |\n| **Output** | Production-ready project with all infrastructure |\n| **Delegations** | ln-820 (conditional) -> ln-720 -> ln-730 -> ln-740 -> ln-760 -> ln-770 -> ln-780 |\n\n---\n\n## Workflow\n\n```\nPhase 0: Analyze (Tech Detection)\n    |\n    v\nPhase 1: Plan (Generate Transformation Plan)\n    |\n    v\nPhase 2: Confirm (User Approval)\n    |\n    v\nPhase 3: Execute (Delegate to L2 Coordinators)\n    |\n    +---> ln-820: Dependency Upgrader\n    +---> ln-720: Structure Migrator\n    +---> ln-730: DevOps Setup\n    +---> ln-740: Quality Setup\n    +---> ln-760: Security Setup\n    +---> ln-770: Crosscutting Setup\n    +---> ln-780: Bootstrap Verifier\n    |\n    v\nPhase 4: Report (Summary of Changes)\n```\n\n---\n\n## Phase 0: Technology Detection\n\n### Step 0.0: Mode Detection\n\n| Condition | Mode | Action |\n|-----------|------|--------|\n| Empty directory (no source files) | CREATE | Ask user for target stack, project name, entities |\n| Source files found | TRANSFORM | Auto-detect stack, scan for platform artifacts |\n| Ambiguous (few files, unclear) | ASK | Present both options, let user choose |\n\n### Step 0.1: CREATE Mode — User Input\n\n| Parameter | Required | Default | Example |\n|-----------|----------|---------|---------|\n| Project name | Yes | — | MyApp |\n| Target backend | Yes | — | .NET \u002F Node.js \u002F Python |\n| Target frontend | Yes | — | React \u002F Vue \u002F Angular \u002F Svelte |\n| Database | Yes | — | PostgreSQL \u002F MongoDB \u002F MySQL |\n| Main entities | No | User, Role (starter) | User, Product, Order |\n\n### Step 0.2: Idempotency Pre-flight\n\nIf target directory contains existing files:\n1. Detect existing structure (package.json, .csproj, etc.)\n2. **Warn user:** \"Target directory is not empty. Existing files may be overwritten.\"\n3. Ask: **Overwrite** (replace all) \u002F **Merge** (keep existing, add missing) \u002F **Abort**\n\n### Step 0.3: Technology Detection (TRANSFORM mode) \u002F Stack Config (CREATE mode)\n\nAnalyze project to detect tech stack before delegations.\n\n### Detection Rules\n\n```yaml\nFrontend:\n  React:\n    - package.json contains \"react\"\n    - Files: *.tsx, *.jsx with React imports\n  Vue:\n    - package.json contains \"vue\"\n    - Files: *.vue\n  Angular:\n    - package.json contains \"@angular\u002Fcore\"\n    - Files: *.component.ts\n  Svelte:\n    - package.json contains \"svelte\"\n    - Files: *.svelte\n\nBackend:\n  .NET:\n    - *.csproj files exist\n    - *.sln files exist\n  Node.js:\n    - package.json + (express|fastify|nest|koa)\n    - tsconfig.json or jsconfig.json\n  Python:\n    - requirements.txt OR pyproject.toml OR setup.py\n    - (fastapi|flask|django) in dependencies\n  Go:\n    - go.mod exists\n\nDatabase:\n  PostgreSQL:\n    - DATABASE_URL contains \"postgres\"\n    - docker-compose.yml contains \"postgres\"\n  MongoDB:\n    - MONGODB_URI in env\n    - docker-compose.yml contains \"mongo\"\n  MySQL:\n    - DATABASE_URL contains \"mysql\"\n\nORM:\n  Drizzle: drizzle.config.ts exists\n  Prisma: prisma\u002Fschema.prisma exists\n  EF Core: *.csproj references Microsoft.EntityFrameworkCore\n  SQLAlchemy: \"sqlalchemy\" in requirements\n```\n\n### Detection Output\n\n```yaml\nDetected Stack:\n  Frontend:\n    Framework: React\n    Version: 19.x\n    Build Tool: Vite\n    UI Library: shadcn\u002Fui\n    State: React Query\n\n  Backend:\n    Current: Node.js + Express\n    Target: .NET 10 (user preference)\n    ORM: Drizzle -> EF Core\n\n  Database:\n    Type: PostgreSQL\n    Version: 17\n\n  Structure:\n    Type: Monolith (Prototype)\n    Origin: replit | stackblitz | codesandbox | glitch | custom\n    Target: Clean Architecture\n```\n\n---\n\n## Phase 1: Generate Transformation Plan\n\nBased on detected stack, create detailed plan:\n\n```markdown\n# Bootstrap Transformation Plan\n\n## Source Analysis\n- Frontend: React 19 + Vite + TypeScript\n- Backend: Express + Drizzle (to be replaced with .NET)\n- Database: PostgreSQL 17\n\n## Transformations\n\n### 1. Dependencies (ln-820)\n- Upgrade React 18 -> 19\n- Upgrade Vite 5 -> 6\n- Add missing peer dependencies\n\n### 2. Structure (ln-720)\n- Move frontend to src\u002Ffrontend\u002F\n- Create .NET backend: MyApp.Api, MyApp.Domain, etc.\n- Migrate mock data from Drizzle to MockData classes\n\n### 3. DevOps (ln-730)\n- Create Dockerfile.frontend (multi-stage)\n- Create Dockerfile.backend (.NET SDK)\n- Create docker-compose.yml\n- Create .github\u002Fworkflows\u002Fci.yml\n\n### 4. Quality (ln-740)\n- Configure ESLint (flat config)\n- Add Prettier\n- Setup Husky + lint-staged\n- Create test infrastructure (Vitest, xUnit)\n\n### 5. Security (ln-760)\n- Scan for hardcoded secrets\n- Run npm audit\n- Create SECURITY.md\n\n### 6. Crosscutting (ln-770)\n- Configure Serilog logging\n- Add GlobalExceptionMiddleware\n- Configure CORS policy\n- Add \u002Fhealth endpoints\n- Enable Swagger\n\n### 7. Verification (ln-780)\n- Build all projects\n- Run tests\n- Start Docker containers\n- Verify health checks\n\n## Estimated Changes\n- Files created: ~45\n- Files modified: ~12\n- Files deleted: ~8 (replaced backend)\n```\n\n---\n\n## Phase 2: User Confirmation\n\nPresent plan and ask for approval:\n\n```\nBootstrap Plan Ready!\n\nSummary:\n- Frontend: React 19 (upgrade from 18)\n- Backend: .NET 10 (replacing Node.js)\n- Docker: Multi-container setup\n- CI\u002FCD: GitHub Actions\n- Quality: ESLint, Prettier, Husky\n\nProceed with bootstrap? [Y\u002Fn]\n```\n\nIf user declines, ask for modifications.\n\n---\n\n## Phase 3: Execute Delegations\n\nSequential delegation to L2 coordinators:\n\n| Order | Skill | Purpose | CREATE mode | TRANSFORM mode | Depends On |\n|-------|-------|---------|-------------|----------------|------------|\n| 1 | ln-820 | Upgrade dependencies | **SKIP** | RUN | — |\n| 2 | ln-720 | Structure (SCAFFOLD\u002FRESTRUCTURE) | RUN (SCAFFOLD) | RUN (RESTRUCTURE) | ln-820 |\n| 3 | ln-730 | Setup Docker\u002FCI | RUN | RUN | ln-720 |\n| 4 | ln-740 | Configure quality tools | RUN | RUN | ln-720 |\n| 5 | ln-760 | Security scanning | RUN | RUN | ln-820 |\n| 6 | ln-770 | Crosscutting concerns | RUN | RUN | ln-720 |\n| 7 | ln-780 | Build and verify | RUN | RUN | All above |\n\n### Delegation Protocol\n\nFor each L2 coordinator:\n\n1. **Prepare context:**\n   ```yaml\n   Stack:\n     frontend: { framework, version, buildTool }\n     backend: { framework, version }\n     database: { type, version }\n\n   Paths:\n     root: \u002Fproject\n     frontend: \u002Fproject\u002Fsrc\u002Ffrontend\n     backend: \u002Fproject\u002Fsrc\u002FMyApp.Api\n\n   Options:\n     skipTests: false\n     allowFailures: false\n   ```\n\n2. **Invoke skill:** Pass context as input\n\n3. **Collect result:**\n   ```yaml\n   Status: success | partial | failed\n   FilesCreated: [...]\n   FilesModified: [...]\n   Warnings: [...]\n   Errors: [...]\n   ```\n\n4. **Handle errors:**\n   - Log error details\n   - Ask user: continue or abort?\n   - If abort, rollback if possible\n\n---\n\n## Phase 4: Generate Report\n\n### Bootstrap Completeness Assessment\n\n**Context:** Final verification that bootstrap produced a working project, not just files.\n\n| # | Category | Check | Source |\n|---|----------|-------|--------|\n| 1 | **Structure** | Clean Architecture layers present | ln-720 result |\n| 2 | **Dependencies** | All packages installed, no version conflicts | ln-820 result |\n| 3 | **DevOps** | Docker builds, CI pipeline valid | ln-730 result |\n| 4 | **Quality** | Linters\u002Fformatters configured and pass | ln-740 result |\n| 5 | **Security** | No hardcoded secrets, scanning configured | ln-760 result |\n| 6 | **Build** | Project compiles\u002Fbuilds without errors | ln-780 result |\n\n**Completeness Score = count of PASS \u002F 6**\n- 6\u002F6: Bootstrap complete\n- 4-5\u002F6: Bootstrap complete with warnings (list failing categories)\n- \u003C4\u002F6: Bootstrap incomplete — list blocking issues for user action\n\n### Summary Report\n\nFinal summary after all delegations:\n\n```yaml\nBootstrap Complete!\n\nDuration: 24 minutes 32 seconds\n\nChanges Summary:\n  Files Created: 47\n  Files Modified: 15\n  Files Deleted: 9\n\nBy Category:\n  Dependencies:\n    - Upgraded 23 packages\n    - No breaking changes detected\n\n  Structure:\n    - Created 5 .NET projects\n    - Restructured frontend (12 components extracted)\n    - Migrated 8 mock data files\n\n  DevOps:\n    - Created Dockerfile.frontend\n    - Created Dockerfile.backend\n    - Created docker-compose.yml\n    - Created .github\u002Fworkflows\u002Fci.yml\n\n  Quality:\n    - Configured ESLint + Prettier\n    - Installed Husky hooks\n    - Created 3 test files\n\n  Security:\n    - Scanned 156 files\n    - Found 0 secrets\n    - 2 vulnerability warnings (low severity)\n\n  Crosscutting:\n    - Configured Serilog\n    - Added error handling\n    - CORS enabled for localhost\n    - Health checks at \u002Fhealth\n    - Swagger at \u002Fswagger\n\nVerification:\n  Build: SUCCESS\n  Tests: 42 passed, 0 failed\n  Docker: 3 containers running\n  Health: All endpoints responding\n\nNext Steps:\n  1. Open http:\u002F\u002Flocalhost:3000 (frontend)\n  2. Open http:\u002F\u002Flocalhost:5000\u002Fswagger (API docs)\n  3. Run 'git add . && git commit -m \"Bootstrap complete\"'\n```\n\n---\n\n## Error Handling\n\n### Recoverable Errors\n\n| Error | Action |\n|-------|--------|\n| Dependency conflict | Try with --legacy-peer-deps |\n| Build failure | Log error, suggest fix, continue |\n| Test failure | Log warning, continue with --allow-failures |\n| Docker build fail | Suggest Dockerfile fixes |\n\n### Fatal Errors\n\n| Error | Action | Mode |\n|-------|--------|------|\n| No package.json (TRANSFORM) | Abort: \"Not a Node.js project\" | TRANSFORM |\n| Unsupported stack | Abort: \"Stack not supported: {stack}\" | Both |\n| Permission denied | Abort: \"Cannot write to {path}\" | Both |\n| No stack selected | Abort: \"Target stack required for CREATE mode\" | CREATE |\n| Conflicting files | Abort if user chose \"Abort\" in pre-flight | CREATE |\n\n---\n\n## Configuration\n\n### Skill Options\n\n```yaml\nOptions:\n  # Backend replacement\n  targetBackend: \".NET\" | \"Node\" | \"Python\" | \"keep\"\n\n  # Frontend refactoring depth\n  frontendRefactoring: \"minimal\" | \"moderate\" | \"full\"\n\n  # Docker setup\n  dockerEnabled: true\n  dockerRegistry: null  # Optional: ghcr.io\u002Fuser\n\n  # CI\u002FCD\n  cicdProvider: \"github\" | \"azure\" | \"gitlab\" | \"none\"\n\n  # Quality tools\n  linterConfig: \"recommended\" | \"strict\"\n  precommitHooks: true\n\n  # Verification\n  runTests: true\n  startContainers: true\n  keepContainersRunning: true\n```\n\n### Environment Variables\n\n```bash\n# Optional: Override detection\nBOOTSTRAP_FRONTEND=react\nBOOTSTRAP_BACKEND=dotnet\nBOOTSTRAP_DB=postgres\n\n# Optional: Skip steps\nSKIP_DEPENDENCIES=false\nSKIP_DOCKER=false\nSKIP_TESTS=false\n```\n\n---\n\n## Integration with Existing Skills\n\n| Skill | Integration |\n|-------|-------------|\n| ln-001-standards-researcher | Query for best practices during ln-720 |\n| ln-002-best-practices-researcher | Generate guides during ln-720 |\n| ln-100-documents-pipeline | Call after bootstrap for docs |\n| ln-310-multi-agent-validator | Validate generated tasks |\n\n---\n\n## References\n\n**MANDATORY READ:** Load these files at the phases indicated:\n- `references\u002Fstack_detection.md` — Phase 0 detection rules and patterns\n- `references\u002Ftransformation_plan_template.md` — Phase 1 plan template\n- `references\u002Fverification_checklist.md` — Phase 3 verification steps\n\n---\n\n**Version:** 2.0.0\n**Last Updated:** 2026-02-07\n",{"name":5,"license":15,"description":7},"main","fa638b97a18ff6d9f26cf0eaf3dfa123531bcc87","organized-skills\u002Fln-700-project-bootstrap",1,"https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode","https:\u002F\u002Fgithub.com\u002Flevalencia","https:\u002F\u002Fmedium.com\u002F@luisevalencia","Microsoft MVP - Artificial Intelligence\r\nMachine Learning Enthusiast\r\n","2026-05-02 06:55:36",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add levalencia\u002Fagent-god-mode --skill ln-700-project-bootstrap",{"tool":49,"command":50},"bunx","bunx skills add levalencia\u002Fagent-god-mode --skill ln-700-project-bootstrap",{"tool":52,"command":53},"pnpm","pnpm dlx skills add levalencia\u002Fagent-god-mode --skill ln-700-project-bootstrap","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-700-project-bootstrap\u002FSKILL.md",true,[57,63,67,71],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"DESIGN.md","REFERENCE","参考文档",1530,"https:\u002F\u002Fgithub.com\u002FTorchiaHub\u002FSkills\u002Fblob\u002Fmaster\u002F01-Inbox\u002Fdownloads\u002Fbergside-design-skills\u002F20260516T145411Z\u002Fsource\u002Fskills\u002Fmatrix\u002FDESIGN.md",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fstack_detection.md",8561,"https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-700-project-bootstrap\u002Freferences\u002Fstack_detection.md",{"path":68,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Ftransformation_plan_template.md",7594,"https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-700-project-bootstrap\u002Freferences\u002Ftransformation_plan_template.md",{"path":72,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fverification_checklist.md",6567,"https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-700-project-bootstrap\u002Freferences\u002Fverification_checklist.md",[76,98,123,150,176,201],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":29},"01M6EM8ES5M9J4S8N78NJST0YC","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fzarr-python\u002FSKILL.md",[],[83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":29},"01M6EM8AR6ZFKZ9YVW8TTG850Z","zabbix","Zabbix monitoring system automation via API and Python. Use when: (1) Managing hosts, templates, items, triggers, or host groups, (2) Automating monitoring configuration, (3) Sending data via Zabbix trapper\u002Fsender, (4) Querying historical data or events, (5) Bulk operations on Zabbix objects, (6) Maintenance window management, (7) User\u002Fpermission management","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fzabbix-api-skill\u002FSKILL.md",[],[100,83,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122],"automation","window management","monitoring","data","templates","api","system","operations","use","maintenance","objects","permission","bulk operations","triggers","host","events","via","bulk",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":29},"01M6EM6Q9JG846ECQY9A210A26","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fx-twitter-growth\u002FSKILL.md",[],[130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],"twitter","x twitter growth","growth","competitive intelligence","search","analyzing","plan","marketing","web search","competitors","analyze","write","optimize","social","intelligence","viral","growth engine","mechanics","grow","competitive",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":29},"01M6EM3FQNPYNKPC4CV9TCVNGD","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fwhat-if-oracle\u002FSKILL.md",[],[157,158,159,160,161,162,163,164,165,166,167,168,113,169,170,171,172,173,174,175],"oracle","what if oracle","test","planning","ux","futures","risk","analysis","explore","decision","branch","question","exploration","options","stress-test","strategies","trigger","case","multi",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":29},"01M6EM08C06RGDYCJ86HAPK0FF","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[183,184,185,186,187,188,189,190,191,192,193,194,195,108,196,197,198,199,200,118],"react","vercel react best practices","best practices","react best practices","vercel","writing","performance","components","react components","guidelines","tasks","code","Optimization","Next.js","refactoring","performance optimization","next","pages",{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":205,"categories":206,"keywords":207,"publishedAt":29},"01M6EM00S13326QM08DTM94J6Z","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fvenue-templates\u002FSKILL.md",[],[109,208,209,192,210,211,212,213,214,215,216,141,217,218,219,220,221,222,97,223],"venue templates","research","NeurIPS","ICML","LaTeX","science","Bash","access","read","edit","proposals","Academic","requirements","formatting","journal","chi"]