安装 Moyu Install Moyu

一条命令,为你的 AI 编码助手安装反过度工程规则。 One command to install anti-over-engineering rules for your AI coding assistant.

$ npx moyu-dev
Copied!

工作原理 How It Works

CLI 自动检测当前目录下的 AI 工具,从 GitHub 获取对应的规则文件并安装。零依赖。 The CLI auto-detects AI tools in your project directory, fetches the matching rule files from GitHub, and installs them. Zero dependencies.

支持的平台 Supported Platforms

平台Platform 检测标记Detect Marker 安装路径Install Path
Cursor.cursor/.cursor/rules/moyu.mdc
VS Code / Copilot.vscode/.github/copilot-instructions.md
Windsurf.windsurf/.windsurf/rules/moyu.md
Cline.cline/.cline/rules/moyu.md
CodexAGENTS.mdAGENTS.md
Kiro.kiro/.kiro/steering/moyu.md
Aider.aider/.aider/CONVENTIONS.md
Continue.continue/.continue/rules/moyu.md

CLI 选项 CLI Options

Claude Code

Claude Code 使用 skill 安装模式: Claude Code uses skill-based installation:

claude skill install --url https://github.com/uucz/moyu --skill moyu

可选变体:moyu-lite(3 条规则)、moyu-strict(团队强制模式)、moyu-en(英文)、moyu-ja(日文) Variants: moyu-lite (3 rules), moyu-strict (team enforcement), moyu-ja (Japanese), moyu-ko (Korean), moyu-fr (French)

Moyu Linter (GitHub Action) Moyu Linter (GitHub Action)

自动检测 PR 中的过度工程信号。了解更多 Auto-detect over-engineering signals in pull requests. Learn more

- uses: uucz/moyu/linter@main with: github-token: ${{ secrets.GITHUB_TOKEN }}