跳转到主要内容

Moyu Lite

技能 已验证 活跃
属于:Moyu

轻量级反过度工程守卫。当检测到以下模式时激活: (1) 修改用户未明确要求改动的代码或文件 (2) 创建用户未要求的新抽象层 (3) 重写整个文件而非做最小编辑 (4) diff 范围明显超出用户请求 (5) 用户说"太多了"、"只改 X"、"简单点"。 A lightweight anti-over-engineering guard. Activates when: (1) Modifying code or files the user did not explicitly ask to change (2) Creating new abstraction layers without being asked (3) Rewriting entire files instead of making minimal edits (4) Diff scope significantly exceeding the user's request (5) User signals like "too much", "only change X", "keep it simple"

目的

显著减少 AI 助手生成的冗余、过度工程化的代码量,从而为开发人员节省代码审查和维护时间。

功能

  • 强制执行反过度工程规则
  • 降低 AI 生成代码的复杂性
  • 提供不同平台和严格级别的变体
  • 自动化代码质量检查
  • 推广更简洁、更集中的代码生成

使用场景

  • 当 AI 助手为简单任务生成过多代码时
  • 确保 AI 生成的代码严格遵守用户请求
  • 防止引入不必要的抽象或依赖
  • 通过减少推测性或过于复杂的代码来简化代码审查

非目标

  • 生成 AI 未明确要求的代码
  • 在未获得用户请求的情况下引入新的抽象层
  • 重写整个文件而非做最小编辑
  • 创建明显超出用户请求的 diff 范围

安装

/plugin install moyu@uucz-moyu

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交about 1 month ago
GitHub 所有者 uucz (opens in new tab)
星标53
许可证MIT
状态
查看源代码

类似扩展

Moyu (摸鱼)

100

감지된 과잉 엔지니어링 패턴: (1) 사용자가 명시적으로 요청하지 않은 코드나 파일을 수정할 때 (2) 요청되지 않은 새로운 추상화 계층(클래스, 인터페이스, 팩토리, 래퍼)을 생성할 때 (3) 요청되지 않은 주석, 문서, JSDoc, 타입 주석을 추가할 때 (4) 요청되지 않은 새로운 종속성을 도입할 때 (5) 최소 편집 대신 파일 전체를 다시 작성할 때 (6) diff 범위가 사용자의 요청을 명백히 초과할 때 (7) 사용자가 "너무 많아", "거기는 건드리지 마", "X만 변경해", "간단하게", "그만"과 같은 신호를 보낼 때 (8) 발생할 수 없는 시나리오에 대한 오류 처리, 유효성 검사, 방어적 코드를 추가할 때 (9) 요청되지 않은 테스트, 설정 스캐폴딩, 문서를 생성할 때

技能
uucz

Lean Ctx

100

AI 代理的上下文运行时 — 包含 59 个 MCP 工具、10 种读取模式、95+ 种 shell 模式、支持 18 种语言的 tree-sitter AST。将 LLM 上下文压缩高达 99%。用于读取文件、运行 shell 命令、搜索代码或探索目录。如果不存在,则自动安装。

技能
yvgude

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

技能
ruvnet

Semgrep Rule Creator

100

Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static analysis detections.

技能
trailofbits

CE Optimize

100

Run metric-driven iterative optimization loops -- define a measurable goal, run parallel experiments, measure each against hard gates or LLM-as-judge scores, keep improvements, and converge on the best solution. Use when optimizing clustering quality, search relevance, build performance, prompt quality, or any measurable outcome that benefits from systematic experimentation.

技能
EveryInc

Manus

100

Delegate complex, long-running tasks to Manus AI agent for autonomous execution. Use when user says 'use manus', 'delegate to manus', 'send to manus', 'have manus do', 'ask manus', 'check manus sessions', or when tasks require deep web research, market analysis, product comparisons, stock analysis, competitive research, document generation, data analysis, or multi-step workflows that benefit from autonomous agent execution with parallel processing.

技能
sanjay3290