moon-guide
/moon-guide
Use when configuring moonrepo monorepo tasks. Triggers on `.moon/` config files, `moon.yml`, and prompts about task definitions, project tags, task inheritance, language toolchains, project queries, or task caching, even when the user doesn't say 'moonrepo'.
- Author
- xonovex ↗
- Repository
- platform ↗
- Licence
- MIT
- Last repository change
- 08.10.2026
Assessment and security
- Files in this package
- 12
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 08.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when configuring moonrepo monorepo tasks. Triggers on `.moon/` config files, `moon.yml`, and prompts about task definitions, project tags, task inheritance, language toolchains, project queries, or task caching, even when the user doesn't say 'moonrepo'.
Triggers from the description
Original author description
Use when configuring moonrepo monorepo tasks. Triggers on `.moon/` config files, `moon.yml`, and prompts about task definitions, project tags, task inheritance, language toolchains, project queries, or task caching, even when the user doesn't say 'moonrepo'.
How it works
- Requirements
- Essentials
- Moon 2.0 Key Changes
- Gotchas
- Progressive disclosure
SKILL.md preview
---
name: moon-guide
description: "Use when configuring moonrepo monorepo tasks. Triggers on `.moon/` config files, `moon.yml`, and prompts about task definitions, project tags, task inheritance, language toolchains, project queries, or task caching, even when the user doesn't say 'moonrepo'."
---
# Moon Build System Guidelines
Define reusable Moon tasks through tags, explicit dependencies, and declared cache inputs and outputs.
## Requirements
- Moon ≥ 2.0, Node.js for JavaScript/TypeScript projects.
- Migration from v1: Run `moon migrate v2` to automate configuration updates.
## Essentials
- **Task configuration** - Define in `.moon/tasks/*.yml` for auto-inheritance, see [references/task-configuration.md](references/task-configuration.md), [references/task-inheritance.md](references/task-inheritance.md)
- **Tags** - Use for categorization, filtering, boundaries, inheritance, see [references/tag-based-filtering.md](references/tag-based-filtering.md)
- **Execution** - `project:task`, `#tag:task`, `:task` (all), `--query`, `--affected`
- **Querying** - Query projects/tasks by tags, language, or query language, see [references/query-language.md](references/query-language.md)
- **Configuration** - Projects use `moon.yml`, workspace uses `.moon/workspace.yml`
- **Toolchains** - Moon manages language toolchains, configured in `.moon/toolchains.yml` (plural in v2)
- **Caching** - Built-in task caching with output definitions, see [references/task-configuration.md](references/task-configuration.md)
## Moon 2.0 Key Changes
- **command vs script** - Use `script:` for shell features (pipes, redirects, chaining); `command:` for simple executables only
- **Shell by default** - Tasks run in shell by default (`bash` on Unix, `pwsh` on Windows)
- **Deep merging** - Configs merge sequentially (not shallow), fileGroups combine instead of replace
- **Renamed settings** - `platform` → `toolchains`, `type` → `layer`, `toolchain.yml` → `toolchains.yml`
- **Env var syntax** - `$VAR` substitutes empty string (not syntax fallback); use `${VAR:-default}` for defaults
## Gotchas
- Task inheritance flows from `.moon/tasks/*.yml` (by tag/language) → project `moon.yml`: overriding requires the same task key in the project file
- Implicit task dependencies via `deps:` are project-scoped: cross-project deps need `<project>:<task>` syntax
- `moon ci` skips persistent server tasks (`preset: 'server'`) and any task with `options.runInCI: false`, never gate CI-only checks behind a non-CI task
- Project tags drive task inheritance; misspelling a tag silently disables the inherited tasks for that project
## Progressive disclosure
- Read [references/task-configuration.md](references/task-configuration.md) - Load when defining or modifying task configurations
- Read [references/tag-based-filtering.md](references/tag-based-filtering.md) - Load when filtering projects or tasks by tags
- Read [references/query-language.md](references/query-language.md) - Load when using advanced query syntax
- Read [references/task-inheritance.md](references/task-inheritance.md) - Load when setting up task inheritance patterns
- Read [references/project-constraints.md](references/project-constraints.md) - Load when enforcing project boundaries
- Read [references/migration-v2.md](references/migration-v2.md) - Load when migrating from moon v1 to v2
- Read [references/docker-multistage.md](references/docker-multistage.md) - Load when building Docker images with moon scaffold
Files in this package (12)
- SKILL.md 3 KB
- SOURCES.md 1 KB
- eval-queries.json 5 KB
- evals.json 2 KB
- moon.yml 1 KB
- references/docker-multistage.md 1 KB
- references/migration-v2.md 3 KB
- references/project-constraints.md 1 KB
- references/query-language.md 1 KB
- references/tag-based-filtering.md 1 KB
- references/task-configuration.md 2 KB
- references/task-inheritance.md 2 KB
Versions
The database has no other skills named moon-guide.
Database snapshot: 13.11.2026 · package version edaf4da276be (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100moon
This skill should be used when the user asks to "configure moon", "set up moonrepo", "create moon tasks", "run moon commands", "configure moon workspace", "add moon project", "moon ci setup", "moon docker", "moon query", "migrate to moon v2", or mentions moon.yml,… - 100moonrepo
Runs and caches tasks across a monorepo with moonrepo (moon): a Rust-based build system that reads the project dependency graph, orders tasks, skips unchanged work, pins toolchains such as Node.js and pnpm, and runs only affected tasks in CI. Use when someone asks to "manage a… - 100publishing-with-release-please-and-moonrepo-on-github-actions
Coordinates Release Please policy, Moon project selection, source-derived publish metadata, and SHA-pinned GitHub Actions publication. Use when standardizing monorepo release.yml/publish.yml workflows across main and release/* branches without passing computed versions or GitHub… - 90integrate-opencut
Set up, inspect, develop, build, or test the OpenCut rewrite repository with its pinned Proto, Moon, Bun, Rust, web, API, and desktop toolchain. Use when the user explicitly mentions OpenCut-app/OpenCut, the OpenCut rewrite, Moon tasks, its future Editor API/MCP/headless… - 100select-project
This skill should be used when the user wants to switch between projects in a monorepo - lists projects from .groundwork.yml and sets the active project - 100selfhosted-grid-migration-skill
Migrate test automation from self-hosted Selenium Grid, docker-selenium, Selenoid, Aerokube Moon, Zalenium, and local Playwright/Puppeteer/Cypress/TestCafe/Appium to TestMu AI (formerly LambdaTest) in any language or framework. Covers localhost:4444 Selenium Grid,…