[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMMKA8D1Z1FTTTTVMY48K2":3,"skill-same:01M7EMMKA8D1Z1FTTTTVMY48K2":60},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M7EMMKA8D1Z1FTTTTVMY48K2","mfe-angular-build",null,"Build, orchestrate, benchmark, and audit Angular 18 Micro-Frontend with Rsbuild & Module Federation 2.0 via multi-agent workflow.","baobao0303\u002FRoom_Agent","baobao0303","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F110554959?v=4","01M7EMJ6GAWBRY5JNAH4PKB10S","Lê Tấn Bảo Bảo","01M7EMJ6H0FDB2MW9G9CS2FDX4",0,"MIT","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fpeer\u002Fskills\u002Fmfe-angular-build\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mfe-angular-build\ndescription: \"Build, orchestrate, benchmark, and audit Angular 18 Micro-Frontend with Rsbuild & Module Federation 2.0 via multi-agent workflow.\"\nversion: 1.0.0\nauthor: Supervisor SLPC\nlicense: MIT\nplatforms: [linux, macos, windows]\nmetadata:\n  tags: [angular18, rsbuild, micro-frontend, module-federation-v2, benchmark, bundle-audit, workflow]\n---\n\n# MFE Angular Build Skill (`mfe-angular-build`)\n\nKỹ năng điều phối vòng đời build, benchmark tốc độ và audit dung lượng bundle cho hệ thống **Angular 18+ Micro-Frontend** sử dụng engine **Rsbuild (Rspack Rust)** và **Module Federation 2.0**.\n\n---\n\n## 1. When to Use\nKích hoạt skill này khi:\n- **Build toàn bộ Workspace**: Cần biên dịch đồng thời Host Shell và các Remote MFEs (CRM, CDP) ở chế độ song song thực sự (`scripts\u002Fbuild-parallel.mjs`).\n- **Benchmark Tốc Độ Build**: Cần so sánh chính xác Cold Build, Warm Cache Build và HMR latency giữa Rsbuild và Webpack \u002F Native Angular CLI.\n- **Audit Kích Thước Bundle**: Đo đạc Raw Size, Gzip Size, phân tích các chunk nặng (>3MB), và xuất báo cáo tự động cho GitHub Actions (`GITHUB_STEP_SUMMARY`) hoặc Jenkins.\n- **Kiểm tra Chuẩn Kiến trúc MF v2**: Rà soát các lỗi kinh điển như cấu hình sai URL manifest (`mf-manifest.json`), thiếu `assetPrefix: 'auto'`, hoặc rò rỉ singleton `@angular\u002Fcore`.\n\n---\n\n## 2. Quy Trình Vận Hành 4 Giai Đoạn (4-Stage Pipeline)\n\n```text\n[Stage 1: Pre-flight Validation]\n  • Rà soát module-federation.shared.ts & port mapping (4200, 4204, 4205)\n  • Xác nhận cấu hình manifest-first (mf-manifest.json)\n         │\n         ▼\n[Stage 2: Parallel Compilation]\n  • Kích hoạt scripts\u002Fbuild-parallel.mjs (Promise.all đa tiến trình)\n  • Biên dịch đồng thời: app-shell (Host) + mfe-crm + mfe-cdp (\u003C25s cho gói 51MB)\n         │\n         ▼\n[Stage 3: Bundle Sizing Audit]\n  • Chạy scripts\u002Fbundle-size.mjs\n  • Trích xuất Raw Size, Gzip Transfer Size, Top 5 heaviest chunks\n         │\n         ▼\n[Stage 4: Verification & Smoke Test]\n  • Smoke test HTTP endpoints (\u002Fhealthz, \u002F, \u002Fcrm, \u002Fcdp)\n  • Xác nhận không có cảnh báo CORS hoặc duplicate Angular instance\n```\n\n---\n\n## 3. Danh Mục Lệnh Thực Thi Nhanh\n\n### A. Khởi chạy toàn bộ hệ thống\n```bash\nnpm run start:all\n# Host Shell: http:\u002F\u002Flocalhost:4200\u002F\n# MFE CRM   : http:\u002F\u002Flocalhost:4204\u002F\n# MFE CDP   : http:\u002F\u002Flocalhost:4205\u002F\n```\n\n### B. Biên dịch song song đa luồng (Rsbuild Engine)\n```bash\n# Biên dịch môi trường Staging\nnpm run build:staging\n\n# Hoặc chạy trực tiếp script song song\nnode scripts\u002Fbuild-parallel.mjs\n```\n\n### C. Đo kiểm tốc độ Benchmark\n```bash\nnpm run benchmark\n```\n\n### D. Kiểm tra và Audit kích thước Bundle\n```bash\nnpm run bundle:size\n```\n\n### E. Đóng gói và chạy Docker Container\n```bash\nnpm run docker:build\nnpm run docker:run\n# Kiểm tra: curl http:\u002F\u002Flocalhost:4200\u002Fhealthz\n```\n\n---\n\n## 4. Các Quy Chuẩn Bắt Buộc Cần Ghi Nhớ\n\n1. **Manifest-First**: Luôn dùng `mf-manifest.json` trong `remotes: {}` thay vì `remoteEntry.mjs`.\n2. **Asset Prefix**: Remote bắt buộc đặt `assetPrefix: 'auto'` trong môi trường staging\u002Fproduction để không bị lỗi 404 hình ảnh\u002Fassets khi chạy qua Host.\n3. **Singleton Enforcement**: `@angular\u002F*`, `rxjs`, `zone.js` bắt buộc đặt `singleton: true` trong `module-federation.shared.ts`.\n","# MFE Angular Build Skill (`mfe-angular-build`)\n\nKỹ năng điều phối vòng đời build, benchmark tốc độ và audit dung lượng bundle cho hệ thống **Angular 18+ Micro-Frontend** sử dụng engine **Rsbuild (Rspack Rust)** và **Module Federation 2.0**.\n\n---\n\n## 1. When to Use\nKích hoạt skill này khi:\n- **Build toàn bộ Workspace**: Cần biên dịch đồng thời Host Shell và các Remote MFEs (CRM, CDP) ở chế độ song song thực sự (`scripts\u002Fbuild-parallel.mjs`).\n- **Benchmark Tốc Độ Build**: Cần so sánh chính xác Cold Build, Warm Cache Build và HMR latency giữa Rsbuild và Webpack \u002F Native Angular CLI.\n- **Audit Kích Thước Bundle**: Đo đạc Raw Size, Gzip Size, phân tích các chunk nặng (>3MB), và xuất báo cáo tự động cho GitHub Actions (`GITHUB_STEP_SUMMARY`) hoặc Jenkins.\n- **Kiểm tra Chuẩn Kiến trúc MF v2**: Rà soát các lỗi kinh điển như cấu hình sai URL manifest (`mf-manifest.json`), thiếu `assetPrefix: 'auto'`, hoặc rò rỉ singleton `@angular\u002Fcore`.\n\n---\n\n## 2. Quy Trình Vận Hành 4 Giai Đoạn (4-Stage Pipeline)\n\n```text\n[Stage 1: Pre-flight Validation]\n  • Rà soát module-federation.shared.ts & port mapping (4200, 4204, 4205)\n  • Xác nhận cấu hình manifest-first (mf-manifest.json)\n         │\n         ▼\n[Stage 2: Parallel Compilation]\n  • Kích hoạt scripts\u002Fbuild-parallel.mjs (Promise.all đa tiến trình)\n  • Biên dịch đồng thời: app-shell (Host) + mfe-crm + mfe-cdp (\u003C25s cho gói 51MB)\n         │\n         ▼\n[Stage 3: Bundle Sizing Audit]\n  • Chạy scripts\u002Fbundle-size.mjs\n  • Trích xuất Raw Size, Gzip Transfer Size, Top 5 heaviest chunks\n         │\n         ▼\n[Stage 4: Verification & Smoke Test]\n  • Smoke test HTTP endpoints (\u002Fhealthz, \u002F, \u002Fcrm, \u002Fcdp)\n  • Xác nhận không có cảnh báo CORS hoặc duplicate Angular instance\n```\n\n---\n\n## 3. Danh Mục Lệnh Thực Thi Nhanh\n\n### A. Khởi chạy toàn bộ hệ thống\n```bash\nnpm run start:all\n# Host Shell: http:\u002F\u002Flocalhost:4200\u002F\n# MFE CRM   : http:\u002F\u002Flocalhost:4204\u002F\n# MFE CDP   : http:\u002F\u002Flocalhost:4205\u002F\n```\n\n### B. Biên dịch song song đa luồng (Rsbuild Engine)\n```bash\n# Biên dịch môi trường Staging\nnpm run build:staging\n\n# Hoặc chạy trực tiếp script song song\nnode scripts\u002Fbuild-parallel.mjs\n```\n\n### C. Đo kiểm tốc độ Benchmark\n```bash\nnpm run benchmark\n```\n\n### D. Kiểm tra và Audit kích thước Bundle\n```bash\nnpm run bundle:size\n```\n\n### E. Đóng gói và chạy Docker Container\n```bash\nnpm run docker:build\nnpm run docker:run\n# Kiểm tra: curl http:\u002F\u002Flocalhost:4200\u002Fhealthz\n```\n\n---\n\n## 4. Các Quy Chuẩn Bắt Buộc Cần Ghi Nhớ\n\n1. **Manifest-First**: Luôn dùng `mf-manifest.json` trong `remotes: {}` thay vì `remoteEntry.mjs`.\n2. **Asset Prefix**: Remote bắt buộc đặt `assetPrefix: 'auto'` trong môi trường staging\u002Fproduction để không bị lỗi 404 hình ảnh\u002Fassets khi chạy qua Host.\n3. **Singleton Enforcement**: `@angular\u002F*`, `rxjs`, `zone.js` bắt buộc đặt `singleton: true` trong `module-federation.shared.ts`.\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":35,"description":7},"Supervisor SLPC","1.0.0",{"tags":27},[28,29,30,31,32,33,34],"angular18","rsbuild","micro-frontend","module-federation-v2","benchmark","bundle-audit","workflow",[36,37,38],"linux","macos","windows","main","9a0e463878cc8f95f6e1e54f8773a42697a3fe34","profiles\u002Fpeer\u002Fskills\u002Fmfe-angular-build","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent","https:\u002F\u002Fgithub.com\u002Fbaobao0303","baobao22.work@gmail.com","2026-11-06 10:30:30",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add baobao0303\u002FRoom_Agent --skill mfe-angular-build",{"tool":52,"command":53},"bunx","bunx skills add baobao0303\u002FRoom_Agent --skill mfe-angular-build",{"tool":55,"command":56},"pnpm","pnpm dlx skills add baobao0303\u002FRoom_Agent --skill mfe-angular-build","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fpeer\u002Fskills\u002Fmfe-angular-build\u002FSKILL.md",true,[],[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7EMX6PB6T8J2NZ21CXTRA7E","workflow-launch-exec","Launch, orchestrate, and drive end-to-end multi-agent pipelines (BA -> DESIGN -> DEV -> VERIFY) for any task.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Fworkflow-launch-exec\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7EMX3197ZW7G22MV6A7K8M2","paseo-handoff","Hand off the current task to another agent with full context. Use when the user says \"handoff\", \"hand off\", \"hand this to\", or wants to pass work to another agent.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Fpaseo-handoff\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7EMWZSS3TX7MJYQYZMNCCJF","loop-me","Grill me about specs for the workflows I want to build, within this workspace.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Floop-me\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7EMWPP2C0D3QW8A274JQE75","loop-engineering","Use when the user wants Claude Code to keep working on its own until a goal is met — a self-running loop instead of write→wait→review→re-prompt. Helps decide if a loop is even worth building, picks manual vs automatic and open vs closed, distinguishes \u002Fgoal vs \u002Floop vs routines (\u002Fschedule), and wires up a CLOSED loop with a real verification gate (Stop hook running tests, or an LLM-judge + rubric when output isn't testable) plus a turn\u002Fbudget ceiling so it never spins forever. Triggers on \"loop\", \"döngü\", \"loop engineering\", \"auto mode\", \"run until tests pass\", \"self-running \u002F autonomous agent\", \"\u002Fgoal\", \"Stop hook\", \"ralph wiggum\".","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Floop-engineering\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7EMWKJ1JJ0T1P8Q09H3YFM6","handoff","Compact the current conversation into a handoff document for another agent to pick up.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Fhandoff\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7EMWGSXRRGVZFQZYR4DKWHW","claude-handoff","Hand the current conversation off to a fresh background agent that picks up the work immediately.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Fclaude-handoff\u002FSKILL.md",[],[]]