moon-commands

Run scoped tasks on affected projects in moon monorepos.

1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/g-bastianelli/nuthouse --skill moon-commands
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moon-commands
Source: https://github.com/g-bastianelli/nuthouse/tree/main/moon-moth/skills/moon-commands
Command: npx skills add https://github.com/g-bastianelli/nuthouse --skill moon-commands

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires moon, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of managing a moon monorepo by providing a set of canonical CLI commands that streamline scoping and running tasks, serving as a single source of truth for moon-moth skills and agents.

Core Features & Use Cases

  • Scope Detection: Offers commands to identify files changed, affected projects, and tasks based on various criteria.
  • Task Execution: Enables running tasks on specific projects, across affected projects, and by tag or query filter.
  • Use Case: For instance, after making changes to a codebase, use this Skill to quickly determine which projects and tasks are affected and run necessary checks or builds.

Quick Start

Use the moon-commands skill to list all affected projects and tasks in your moon monorepo.

Frequently Asked Questions about moon-commands

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

FAQPage Schema
How do I run tasks only on affected projects in a moon monorepo?

To identify affected projects in a moon monorepo, you use CLI commands that analyze file changes and project metadata. This scope detection mechanism determines exactly which projects and tasks require execution after codebase modifications.

Can I filter task execution by tags or query filters in a moon monorepo?

Yes, you can filter task execution in a moon monorepo by utilizing tags or query filters. This enables you to target specific subsets of projects across the repository rather than running tasks blindly on the entire workspace.

Do I need the moon CLI installed to scope and execute monorepo tasks?

Yes, the moon CLI is a required dependency for executing and scoping tasks in a moon monorepo. The suite of commands operates entirely within the monorepo context and relies on the moon CLI to function correctly.

What is the best way to manage task scoping in a moon monorepo?

The best way to manage task scoping in a moon monorepo is by using canonical CLI commands that serve as a single source of truth. This streamlines identifying affected projects and executing tasks based on precise file change criteria.