musepi-find-simplifications skillA
musepi-find-simplifications is agent-read markdown (skill) from muselinn/musepi: 在 MusePi 代码库找非显然的简化点——无生产消费者的公开方法/事件/配置项/helper、两个表示镜像同一事实、投机通用化、手搓重复中央工具或 Bun 内置的实现;产出有证据的候选清单(评审过、可进 PR + CHANGELOG)。触发:"找找简化机会 / 这代码能简化吗 / 哪些是死代码 / 这个包有必要存在吗"。.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 找 MusePi 简化点 把宽泛的"找东西简化"请求变成有证据的候选清单,删除或折叠现有表面。这是指导,不是 清单:跟着代码走,保持判断力,宁要几个证据扎实的候选,不要一堆薄猜测。 ## 先读仓库上下文 - 读 `AGENTS.md`,尤其 **Central Utilities**(两处实现同一件事就是 bug;扩展中央 helper 而不是本地 fork)、**Bun Over Node**(Bun 内置优先)、**Catalog import convention**(`@musepi/pi-catalog/<module>` 取值、`@musepi/pi-ai` 只出类型)、 **Generated Files**(`models.json` 永不手改)这些教条——简化候选如果跟它们冲突, 要么是误判,要么需要额外证据。 - 读 `docs/gui-design.md` / `docs/gui-implementation.md` 再评 GUI/daemon 表面; 跟既定视觉/行为规范打架的"简化"要有更多证据。 - 知道哪些是**有意的双轨**:`omp-plugins`(OMP 生态扩展包)与 `musepi-extensions` (自有扩展系统)并存、CLI/TUI 与桌面 GUI 共用同一扩展系统——默认视为有意,不要 把"合并这两套"当低成本候选,除非用户明确覆盖。 ## 什么算强候选 强候选删、折叠或降级了某样**真实存在**的东西,且有清晰证据表明现状成本大于收益: - 公开方法、事件、配置项、注册表通知、helper、包、命令或测试产物**没有生产消费者**。 - 只有测试或文档在消费,且它们钉住的行为不承载契约。 - **两个表示镜像同一事实**,尤其是跨持久会话事件与瞬态 `agent/*` 事件、跨 GUI 状态 与 daemon 状态。 - 一个缝的每个实现都必须支持、却没有任何消费者使用的方法。 - 一个独立包只为了测试/演示/支持代码而存在,徒增发布或依赖开销。 - 实现了**投机通用化**:没有产品主人的多会话/会话加载、后台任务名册、运行时注册表 失效、中途转向、工具自有 UI 渲染等设计。(MusePi 的 daemon 多会话是产品本身, 不算。) - 不变量、回滚路径、预期输出集或特例测试只为了保护一个无人用的 API。 - **手搓代码重复了**中央 helper(`packages/coding-agent/src/utils/`、 `@musepi/pi-utils`、`@musepi/pi-tui`)、Bun 内置(`Bun.file`/`Bun.write`/ …
Read the whole file at its exact version.
How to install
mdr add muselinn/musepi/musepi-find-simplifications@git:20260823.0df9512mdr add muselinn/musepi/musepi-find-simplifications@sha256:1d507f57e1d14a2fPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_jidh6oups2tdg2n7)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6193 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
muselinn/musepi · 17 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jidh6oups2tdg2n7 GET https://markdownregistry.com/api/v1/resolve?ref=muselinn/musepi/musepi-find-simplifications GET https://markdownregistry.com/api/v1/blob/1d507f57e1d14a2f496b9e69dd9eb76a8d609340c283896e00ac8d7ff7c7cd98
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.