原始内容
🔮 moonrepo-skill
AI Agent Skills for moonrepo
Build systems that remember
Installation • Skills • Commands • Agents • Compatibility
💎 What This Is
moonrepo-skill gives your AI coding agents deep knowledge of moon and proto—the polyglot monorepo build system and multi-language version manager.
Instead of agents fumbling through docs or hallucinating configs, they get:
- Complete configuration references for workspace, tasks, and toolchains
- v2 migration guidance with breaking changes documented
- Real examples from production setups
- Slash commands for common workflows
Works with Claude Code, Cursor, GitHub Copilot, Gemini CLI, and any agent supporting the skills.sh ecosystem.
⚡ Installation
Claude Code Plugin
# Add the marketplace
/plugin marketplace add hyperb1iss/moonrepo-skill
# Install the plugin
/plugin install moonrepo
Vercel Skills (skills.sh)
npx add-skill hyperb1iss/moonrepo-skill
Manual (Any Agent)
Copy the skills/ directory to your agent's skills location, or symlink it:
git clone https://github.com/hyperb1iss/moonrepo-skill.git
ln -s moonrepo-skill/skills ~/.claude/skills/moonrepo
🔮 Skills
Skills are contextual knowledge that agents invoke when relevant.
| Skill | Triggers On | What It Provides |
|---|---|---|
| moon | moon.yml, workspace config, task setup |
Complete moon v2 configuration, task inheritance, CI patterns |
| proto | .prototools, version management, plugins |
Multi-language version pinning, plugin development, exec workflows |
moon Skill
Covers the full moon ecosystem:
- Workspace configuration — Project discovery, VCS settings, runner options
- Task configuration — Commands, scripts, inputs/outputs, caching, inheritance
- Toolchain setup — Node.js, Bun, Deno, Rust, Go, Python configuration
- CI/CD patterns — GitHub Actions, affected detection, parallelization
- v2 migration — Breaking changes from v1, renamed fields, new features
proto Skill
Covers proto version management:
- Core commands — install, pin, run, exec, outdated, clean
- Configuration —
.prototoolsformat, version specifiers, settings - Plugin system — TOML and WASM plugins, development workflow
- Build from source — Compiling tools when pre-built unavailable
- Integration — moon toolchain backend, CI setup
🪄 Commands
Slash commands for common workflows:
| Command | Description |
|---|---|
/moonrepo:moon-init |
Initialize moon workspace with guided setup |
/moonrepo:moon-run |
Execute moon tasks with target syntax help |
/moonrepo:moon-query |
Query projects and tasks with MQL |
/moonrepo:proto-install |
Install and configure tools via proto |
/moonrepo:proto-pin |
Pin tool versions for team consistency |
🦋 Agents
Specialized subagents for complex tasks:
| Agent | Purpose |
|---|---|
| moon-workspace-analyzer | Analyze monorepo structure, suggest optimizations |
| moon-task-creator | Generate task configurations from requirements |
| proto-setup | Bootstrap proto for new projects |
📦 What's Included
moonrepo-skill/
├── .claude-plugin/
│ ├── plugin.json # Claude Code manifest
│ └── marketplace.json # Distribution index
├── skills/
│ ├── moon/
│ │ ├── SKILL.md # Core moon knowledge
│ │ ├── references/ # Detailed config docs
│ │ └── examples/ # Real configurations
│ └── proto/
│ ├── SKILL.md # Core proto knowledge
│ ├── references/ # Config & command docs
│ └── examples/ # Example .prototools
├── commands/ # Slash commands
├── agents/ # Subagent definitions
└── AGENTS.md # skills.sh compatibility
🌐 Compatibility
This plugin works with multiple AI agent platforms:
| Platform | Installation Method |
|---|---|
| Claude Code | /plugin install moonrepo |
| Cursor | npx add-skill hyperb1iss/moonrepo-skill -a cursor |
| GitHub Copilot | npx add-skill hyperb1iss/moonrepo-skill -a copilot |
| Gemini CLI | npx add-skill hyperb1iss/moonrepo-skill -a gemini |
| Amp | npx add-skill hyperb1iss/moonrepo-skill -a amp |
| Opencode | npx add-skill hyperb1iss/moonrepo-skill -a opencode |
🧪 Development
# Clone the repo
git clone https://github.com/hyperb1iss/moonrepo-skill.git
cd moonrepo-skill
# Lint markdown
make lint
# Format markdown
make format
# Test locally with Claude Code
claude --plugin-dir .
📚 Resources
License
Apache-2.0 — See LICENSE
Created by Stefanie Jane