moyu
by uuczmoyu is a Code Editing skill that keeps changes tightly scoped, avoids over-engineering, and prefers the smallest safe diff. It helps agents stay within the user’s request, making moyu useful for precise fixes, narrow edits, and restrained workflows.
This skill scores 78/100, which means it is worth listing for users who want an anti-overengineering editing guardrail. The repository gives a clear trigger condition and a concrete operating philosophy, so agents can understand when to activate it and how it changes behavior, though the workflow is more policy-driven than tool-driven.
- Explicit activation trigger for over-engineering patterns, with nine concrete examples in English and Chinese
- Operational guidance is specific: restrict edits to requested scope, prefer minimal diffs, avoid unnecessary abstractions/dependencies
- Strong install-decision value for users who want a lightweight constraint skill rather than a generic coding assistant prompt
- No scripts, references, or support files, so there is no executable workflow beyond the SKILL.md policy text
- Description metadata is very short and the body is mostly principles, so users may need to infer how the agent should apply the rules in practice
Overview of moyu skill
What the moyu skill does
The moyu skill is an editing guardrail for code changes: it pushes the model to stay inside the user’s requested scope, avoid unnecessary abstractions, and prefer the smallest safe diff. If you want a skill for Code Editing that resists over-engineering, moyu is built for exactly that.
Who should use it
Use the moyu skill when you care more about precision than completeness: fixing one bug, changing one file, trimming a diff, or answering a “please only touch X” request. It is especially useful for reviewers, maintainers, and agents working in established codebases where extra cleanup can create risk.
Why it stands out
The main differentiator is its hard bias toward restraint. The skill explicitly discourages new dependencies, broad rewrites, extra validation, tests, comments, and helper layers unless the user asked for them. That makes moyu strong for real-world edits where the danger is not missing a feature, but changing too much.
How to Use moyu skill
Install and activate moyu
Install the moyu skill into your agent’s skills directory, then make sure your coding workflow loads it before editing. A typical install looks like npx skills add uucz/moyu --skill moyu. For best results, activate it on tasks where the prompt already signals restraint, such as “only update this function” or “keep the change minimal.”
Give the skill a narrow brief
The moyu skill works best when your prompt names the exact file, function, behavior, or output that must change. Strong inputs look like: “In src/auth.ts, only fix the token refresh bug; do not refactor or add new files.” Weak inputs like “improve auth” leave too much room for expansion and defeat the purpose of moyu usage.
Read the right files first
Start with SKILL.md, then inspect the files you actually plan to edit and any nearby context that explains local conventions. Because this repository is intentionally lightweight, there are no extra scripts or support directories to guide you; the core value is in the skill text itself. That means your best workflow is: read the skill, define the smallest editable surface, then execute.
Work the way moyu expects
When using moyu for Code Editing, ask for the minimal fix first, then iterate only if the result still misses the target. If you need more change, add it in a second request instead of expanding the first one. This keeps diffs small, makes review easier, and aligns with the skill’s “change only what was asked” rule.
moyu skill FAQ
Is moyu a full-featured coding assistant?
No. The moyu skill is not about maximizing breadth; it is about limiting scope and avoiding unnecessary edits. If you want broad refactoring, scaffolding, or architecture help, a general coding prompt may be a better fit than the moyu skill.
When should I not use moyu?
Do not use moyu when the task genuinely requires cross-file coordination, new abstractions, or systemic cleanup. If the job is “make the architecture cleaner” or “add the missing test suite,” the skill’s restraint can become a constraint rather than a benefit.
Is moyu good for beginners?
Yes, if the beginner wants safer edits and fewer surprise changes. The moyu guide is especially helpful for people who tend to over-ask the model or accept too-large diffs. It teaches a useful default: ask for the smallest change that solves the problem.
How is this different from just telling the model to be careful?
A normal prompt can ask for caution, but the moyu skill hard-codes that preference into a reusable editing policy. That matters when you repeatedly need minimal-diff behavior across tasks, not just in one-off prompts.
How to Improve moyu skill
Make the request smaller and more explicit
The most effective way to improve moyu output is to remove ambiguity before the first edit. Include the exact file path, the exact behavior to preserve, and the exact change you want. For example: “Edit only components/Button.tsx; keep props unchanged; just fix the disabled styling.”
State what must not change
The skill is strongest when you tell it what to leave alone. Mention things like “no new files,” “no new dependencies,” “do not change API shape,” or “do not rewrite the whole function.” This helps moyu stay aligned with the user’s true intent instead of optimizing for a broader but unwanted improvement.
Review the first diff, then tighten
If the first result is still too large, feed back the oversized parts and ask for a narrower pass. Common failure modes are extra cleanup, added abstractions, or defensive code that was not requested. The best moyu workflow is iterative: constrain, review, then trim again until the diff matches the request.
