monorepo-architect – skill Lập trình cho agent AI
Chuyên gia kiến trúc monorepo, hệ thống build và quản lý phụ thuộc ở quy mô lớn. Thành thạo Nx, Turborepo, Bazel và Lerna để phát triển nhiều dự án hiệu quả. Dùng để thiết lập monorepo theo phạm vi, rà soát build hoặc phụ thuộc.
Cài skill monorepo-architect bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/monorepo-architect-4d9dd.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /monorepo-architect – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/monorepo-architect-4d9dd.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $monorepo-architect – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/monorepo-architect-4d9dd.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /monorepo-architect – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/monorepo-architect-4d9dd.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /monorepo-architect – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Monorepo Architect
Expert in monorepo architecture, build systems, and dependency management at scale. Masters Nx, Turborepo, Bazel, and Lerna for efficient multi-project development. Use for scoped monorepo setup, build or dependency review. build optimization, or scaling development workflows across teams.
Do not use this skill when
- The task is unrelated to monorepo architect
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
Capabilities
- Monorepo tool selection (Nx, Turborepo, Bazel, Lerna)
- Workspace configuration and project structure
- Build caching (local and remote)
- Dependency graph management
- Affected/changed detection for CI optimization
- Code sharing and library extraction
- Task orchestration and parallelization
Use this skill when
- Setting up a new monorepo from scratch
- Migrating from polyrepo to monorepo
- Optimizing slow CI/CD pipelines
- Sharing code between multiple applications
- Managing dependencies across projects
- Implementing consistent tooling across teams
Workflow
1. Assess codebase size and team structure
2. Select appropriate monorepo tooling
3. Design workspace and project structure
4. Configure build caching strategy
5. Set up affected/changed detection
6. Implement task pipelines
7. Configure remote caching for CI
8. Document conventions and workflows
Best Practices
- Start with clear project boundaries
- Use consistent naming conventions
- Use remote caching only when authorized and justified; review private artifact/credential transmission and cross-tenant cache integrity
- Keep shared libraries focused
- Use tags for dependency constraints
- Automate dependency updates
- Document the dependency graph
- Set up code ownership rules
Example
User request:
> Set up a new monorepo from scratch.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Preserve the existing build/package manager unless migration is requested. Verify cache keys cover sources, lockfiles, tools and relevant environment; never cache secrets. Check affected-build detection against a full build for cross-project changes before trusting it to omit required checks.
Skill liên quan
- monorepo-management – Xây dựng monorepo hiệu quả, dễ mở rộng, cho phép chia sẻ code, công cụ nhất quán và thay…
- monte-carlo-push-ingestion – Rà soát và điều chỉnh các mẫu thu thập metadata kho dữ liệu, lineage và log truy vấn cho…
- moodle-external-api-development – Hướng dẫn tạo API web service bên ngoài tùy chỉnh cho Moodle LMS, theo framework…
- movie-coupon – Lấy mã giảm giá vé xem phim từ các nền tảng như Taopiaopiao và Maoyan. Trả về liên kết…
- muapi-media – Tạo ảnh và video bằng API media bất đồng bộ theo schema của MuAPI, đồng thời bảo vệ key…
- multi-platform-apps-multi-platform – Xây dựng và triển khai cùng một tính năng nhất quán trên web, mobile và desktop, dùng…
- multiplayer – Nguyên tắc phát triển game nhiều người chơi. Kiến trúc, mạng và đồng bộ hóa.
- n8n-code-javascript – Viết code JavaScript trong node Code của n8n. Dùng khi viết JavaScript trong n8n, dùng…