moon-v2

Orchestrate Rust build and CI/CD workflows with Moon v2 task caching.

1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/lprior-repo/claude-skills --skill moon-v2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moon-v2
Source: https://github.com/lprior-repo/claude-skills/tree/main/moon-v2
Command: npx skills add https://github.com/lprior-repo/claude-skills --skill moon-v2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Moon v2 serves as a comprehensive build system orchestrator for Rust repositories, enabling reliable CI/CD pipelines, task design, and robust caching with remote integration.

Core Features & Use Cases

  • Canonical CI gate via moon ci for affected-based execution and automatic runInCI adherence.
  • Deep-merge workspace and task configs across .moon/workspace.yml, .moon/toolchains.yml, and .moon/tasks/all.yml for scalable monorepos.
  • Advanced caching strategy (sccache + bazel-remote + Cargo) to accelerate local and CI builds.
  • Toolchain management with rust pinning and pre-installed binaries via .moon/toolchains.yml.
  • Rust workflow integration including clippy, nextest, and strict lint gates.

Quick Start

Run moon ci to execute the canonical CI gate for your Rust workspace.

Frequently Asked Questions about moon-v2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I orchestrate Rust build workflows for a monorepo with affected-based execution?

Moon v2 orchestrates Rust build workflows for monorepos using a canonical CI gate via `moon ci` to execute only affected tasks and enforce automatic runInCI adherence. It deep-merges workspace and task configs across `.moon/workspace.yml`, `.moon/toolchains.yml`, and `.moon/tasks/all.yml` for scalable task design.

What is the best way to configure Rust toolchain pinning and caching for CI pipelines?

To configure Rust toolchain pinning and caching for CI pipelines, use `.moon/toolchains.yml` for pre-installed binaries and rust pinning. Moon v2 applies an advanced caching strategy combining sccache, bazel-remote, and Cargo to accelerate both local and CI builds.

How do I set up clippy and nextest lint gates in a Rust workspace build system?

You set up clippy and nextest lint gates in a Rust workspace build system by defining tasks within Moon v2's configuration files. Moon v2 integrates Rust workflows including strict clippy and nextest lint gates to ensure code quality during the canonical `moon ci` execution.

Does Moon v2 support workspace inheritance for scalable Rust monorepos?

Yes, Moon v2 supports workspace inheritance for scalable Rust monorepos by deep-merging task configurations across `.moon/workspace.yml`, `.moon/toolchains.yml`, and `.moon/tasks/all.yml`. This allows you to define shared configurations that propagate across the entire workspace efficiently.

Why use a dedicated task orchestrator instead of standard Cargo for Rust CI/CD pipelines?

You use a dedicated task orchestrator like Moon v2 instead of standard Cargo for Rust CI/CD pipelines to gain affected-based execution, remote caching integration via bazel-remote, and automatic runInCI adherence. Standard Cargo lacks these built-in monorepo scaling and CI gate features.

Can I use remote caching with sccache and bazel-remote for Rust build systems?

Yes, you can use remote caching with sccache and bazel-remote for Rust build systems through Moon v2. It implements an advanced caching strategy that combines sccache, bazel-remote, and Cargo to significantly accelerate both local development and CI pipeline builds.