Registers the code-simplifier skill, which simplifies code changed in the current session without changing its behavior and reports the verification it ran.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:yidasanqian/dsh-code-simplifier
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
A DeepSeek Harness bundle that registers the code-simplifier skill: refine code changed in the current session for clarity and consistency while keeping its behavior identical.
English | 中文
What it does
- Adds one skill,
code-simplifier, to the skill catalog of every agent in the profile. - The skill body lives in
skills/code-simplifier/SKILL.mdand is read on every load, so edits take effect without restarting the Harness. - It adds no tools, commands, panels, or settings. Stopping the bundle removes the skill.
Install
- In the app: Plugins → Add plugin, enter
dsh-code-simplifieror point at a local checkout. - From a checkout:
plugin_managerinstall_bundlewith this directory as the target. - From npm:
dsh plugin --profile <profile> add dsh-code-simplifier.
Usage
Ask in plain language:
- "Simplify what I just changed."
- "Clean this up without changing behavior."
The skill then:
- reads the current diff and nearby code;
- makes only simplifications with a clear payoff — less nesting, no fresh duplication, clearer names, comments that explain reasons instead of repeating code;
- runs the narrowest relevant verification command;
- reports the files changed and what was actually verified.
Limitations
- The skill carries instructions only; it ships no diff engine, test runner, or rollback.
- The body is read per load;
index.jschanges need a plugin reload. - A project skill of the same name takes precedence over this bundle's entry.
License
MIT. The skill body is adapted from yidasanqian/codex-code-simplifier (MIT); see NOTICE.
中文
一个 DeepSeek Harness 插件:把 code-simplifier 技能注册进技能目录,让代理在不改变行为的前提下,把本次会话改动的代码整理得更清晰、更一致。
它做什么
- 向 profile 内所有代理的技能目录加入一个技能:
code-simplifier。 - 技能正文在
skills/code-simplifier/SKILL.md,每次加载时读取,改完文件不用重启。 - 不新增工具、命令、面板或设置项;停用插件,技能随即消失。
安装
- 应用内:插件 → 添加插件,输入
dsh-code-simplifier,或直接指向本地目录。 - 本地检出:用
plugin_manager的install_bundle,target 指向本目录。 - npm:
dsh plugin --profile <profile> add dsh-code-simplifier。
用法
直接说「简化我刚改的代码」「清理这段,别改行为」,技能会先看 diff 与邻近代码,只做收益明确的简化,跑最窄的验证命令,最后报告改了哪些文件、验证了什么、哪些没验证。
限制
- 技能只提供指令,不带 diff 引擎、测试执行器或回滚。
- 正文每次加载读取;改
index.js需要重载插件。 - 同名的项目级技能优先于本插件提供的条目。
许可
MIT。技能正文改编自 yidasanqian/codex-code-simplifier(MIT),见 NOTICE。
Links
More in this category
tw93/Mole#mole★ 76838
Official agent skill for the open-source Mole CLI (mo), a disk cleanup tool for macOS and Windows: read disk usage, preview and run cleanup, inspect installed apps, and read system health and cleanup history from Mole's JSON output. It previews with --dry-run and asks before removing anything, and leaves app uninstalls and privileged steps to the user's own terminal. The plugin ships only the skill; the CLI is installed separately.
zhu1090093659/dsh-web#packages/dsh-skill-explorer★ 10703
Skill center for the dsh web GUI: browse all loaded skills grouped by source, enable or disable model invocation, create new skills, and delete into a recoverable trash.
QingYunA/answer-me-with-html★ 6761
Answers a question with a one-page visual HTML explainer: the model writes a short Markdown draft and the bundled `am` CLI builds the page, with flow, sequence, tree, timeline and ER diagrams, tables and callouts.
iflytek/skillhub#dsh★ 5513
Browse and search a SkillHub registry and manage local skill installation, updates, and removal inside DeepSeek Harness. Targets DSH 0.2.0-rc.2 and 0.2.1-rc.2; not yet compatible with 0.2.1-rc.3.
hyhmrright/brooks-lint★ 1596
Provides six code quality skills for code review, architecture audits, technical debt, test quality, health dashboards, and remediation.
GanyuanRan/Aegis★ 1459
Software-engineering method pack for coding agents, with skills for baseline-first planning, systematic debugging, prompt hygiene, verification before completion, and repair/retirement tracking.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.