[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EFJ3T072PDHYDPG9NK86R9":3,"skill-same:01M6EFJ3T072PDHYDPG9NK86R9":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6EFJ3T072PDHYDPG9NK86R9","moonrepo",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fmoonrepo\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# moonrepo\n\n## Overview\n\nmoonrepo (moon) is a Rust-based monorepo management tool and task runner. It understands your project dependency graph, runs tasks in the correct order with caching, manages toolchain versions (Node.js, Bun, etc.), and generates CI pipelines automatically. Faster and more deterministic than Turborepo, with built-in toolchain management that Nx doesn't have.\n\n## When to Use\n\n- Managing a monorepo with multiple packages\u002Fapps\n- Need deterministic task execution with dependency-aware ordering\n- Want consistent toolchain versions across the team\n- CI is slow because it builds everything on every PR\n- Need better caching than npm scripts provide\n\n## Instructions\n\n### Setup\n\n```bash\n# Install moon CLI\nnpm install -D @moonrepo\u002Fcli\n\n# Initialize in your monorepo\nmoon init\n```\n\n### Workspace Configuration\n\n```yaml\n# .moon\u002Fworkspace.yml — Monorepo root config\nprojects:\n  - \"apps\u002F*\"\n  - \"packages\u002F*\"\n\nvcs:\n  manager: git\n  defaultBranch: main\n\nrunner:\n  cacheLifetime: 7d\n  logStyle: stream\n```\n\n### Toolchain Management\n\n```yaml\n# .moon\u002Ftoolchain.yml — Pin Node.js and package manager versions\nnode:\n  version: \"20.11.0\"\n  packageManager: pnpm\n  pnpm:\n    version: \"9.1.0\"\n\n# Automatically downloads and uses these exact versions\n# No more \"works on my machine\" — everyone uses the same toolchain\n```\n\n### Project Configuration\n\n```yaml\n# apps\u002Fweb\u002Fmoon.yml — Project-level config\ntype: application\nlanguage: typescript\n\ndependsOn:\n  - \"packages\u002Fui\"\n  - \"packages\u002Fshared\"\n\ntasks:\n  dev:\n    command: next dev\n    local: true       # Only runs locally, not in CI\n\n  build:\n    command: next build\n    inputs:\n      - \"src\u002F**\u002F*\"\n      - \"package.json\"\n      - \"next.config.js\"\n    outputs:\n      - \".next\"\n    deps:\n      - \"packages\u002Fui:build\"    # Build ui package first\n      - \"packages\u002Fshared:build\"\n\n  test:\n    command: vitest run\n    inputs:\n      - \"src\u002F**\u002F*\"\n      - \"tests\u002F**\u002F*\"\n\n  lint:\n    command: oxlint src\u002F\n    inputs:\n      - \"src\u002F**\u002F*\"\n```\n\n```yaml\n# packages\u002Fui\u002Fmoon.yml — Shared UI library\ntype: library\nlanguage: typescript\n\ntasks:\n  build:\n    command: tsup\n    inputs:\n      - \"src\u002F**\u002F*\"\n      - \"tsup.config.ts\"\n    outputs:\n      - \"dist\"\n\n  test:\n    command: vitest run\n    inputs:\n      - \"src\u002F**\u002F*\"\n      - \"tests\u002F**\u002F*\"\n```\n\n### Run Tasks\n\n```bash\n# Run a task in a specific project\nmoon run web:build\n\n# Run task across all projects that have it\nmoon run :test\n\n# Run with dependency graph (builds deps first)\nmoon run web:build  # Automatically builds packages\u002Fui first\n\n# Check what would run (dry run)\nmoon run web:build --dryRun\n\n# Run affected tasks only (based on git diff)\nmoon run :test --affected\n```\n\n### CI Optimization\n\n```yaml\n# .github\u002Fworkflows\u002Fci.yml — Only run what changed\nname: CI\non: [pull_request]\n\njobs:\n  ci:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n        with:\n          fetch-depth: 0  # Full history for affected detection\n\n      - uses: moonrepo\u002Fsetup-toolchain@v0\n\n      - run: moon ci  # Runs all affected tasks in optimal order\n```\n\n```bash\n# moon ci does:\n# 1. Detects which files changed in the PR\n# 2. Determines which projects are affected\n# 3. Runs only the affected tasks in dependency order\n# 4. Uses cache for unchanged outputs\n```\n\n## Examples\n\n### Example 1: Set up a new monorepo\n\n**User prompt:** \"I have a Next.js app and 3 shared packages. Set up a monorepo with proper task orchestration.\"\n\nThe agent will initialize moon, configure workspace projects, define tasks with proper inputs\u002Foutputs\u002Fdeps, and set up CI with affected detection.\n\n### Example 2: Migrate from Turborepo\n\n**User prompt:** \"Our Turborepo setup is getting complex. Migrate to moonrepo.\"\n\nThe agent will translate turbo.json pipeline to moon task configs, set up toolchain management, and configure CI with moon's affected detection.\n\n## Guidelines\n\n- **`inputs` and `outputs` for caching** — define what files affect a task and what it produces\n- **`deps` for task ordering** — `\"packages\u002Fui:build\"` runs before `\"web:build\"`\n- **`--affected` for CI** — only run tasks for changed projects\n- **`moon ci` is the CI command** — handles affected detection, ordering, and caching\n- **Toolchain pinning** — everyone uses exactly the same Node.js\u002Fpnpm version\n- **`type: application` vs `library`** — affects dependency graph behavior\n- **`local: true` for dev tasks** — skipped in CI automatically\n- **Project references via `dependsOn`** — moon understands the monorepo graph\n- **Cache is content-addressed** — same inputs = cache hit, regardless of branch\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fmoonrepo",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill moonrepo",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill moonrepo",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill moonrepo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fmoonrepo\u002FSKILL.md",true,[],[46,60,70,79,85,92],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":56,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[51],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[57,58,59],"model","model hierarchy","model hierarchy skill",{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":66,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[65],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[67,68,69],"MCP","zoom","zoom mcp",{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[76,77,78,68],"sdk","zoom apps sdk","apps",{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":91,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[90],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[87],{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[94]]