Skip to main content

code-simplifier

Review substantial mcp-reporter changes for unnecessary complexity while preserving tested behavior and public contracts.

跳到安装

来源信息

仓库
cyanheads/mcp-reporter
最近来源活动
2026年9月8日 17:20
检测到的 SKILL.md 语言
英语
星标
12
分支
3

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
code-simplifier
description
Review substantial mcp-reporter changes for unnecessary complexity while preserving tested behavior and public contracts.
metadata
{"author":"cyanheads","version":"1.0","type":"project-workflow"}
# Code simplifier Read `CLAUDE.md`, the full diff, every changed source file, and relevant tests. Trace behavior before editing. Focus on the changed collection, transport, config and rendering paths. Prefer explicit types, small functions, native Node APIs and direct SDK calls. Remove dead code, redundant state, unnecessary wrappers and fallbacks that hide invalid data. A shared abstraction earns its place only when it makes actual repeated behavior easier to understand. Preserve public signatures and compatibility fields, legacy negotiation defaults, ordered bounded pagination, separate collection statuses, descriptor fidelity, credential boundaries and unconditional cleanup. Do not replace explicit page collection with SDK aggregation or filtered list helpers without proving equivalent report semantics. Avoid cosmetic renames, speculative flexibility and aggressive test deduplication. If a helper makes control flow or typing harder, inline it. A review with no change is a valid result. Apply one behavior-preserving simplification at a time, then run `bun run devcheck` and the affected transport/package tests. Report what changed and why, or confirm the changed code was already appropriately scoped. No commits, tags or publishing in this workflow.
在 GitHub 查看