gongyijie85/dsh-ponytail
马尾辫,懒人资深开发者模式,适用于DeepSeek Harness:改编自DietrichGebert/ponytail(MIT)的6项技能
Project Overview项目介绍
dsh-ponytail is a native Cordis plugin built exclusively for DeepSeek Harness (DSH), porting the popular "ponytail" minimalist "laziest senior engineer" coding style from the upstream repository DietrichGebert/ponytail to the DSH ecosystem. The plugin registers a skill provider to the host layer of DSH’s ctx.skills registry, and comes with 6 pre-packaged skills that work right after installation without any extra user configuration. It supports all DSH versions starting from 0.1.0-rc.6, and can be installed via three methods: npm, direct GitHub install, or local development path. The npm package is published under the name dsh-ponytail-skills because the original name was already taken.
After installation, users can activate the core ponytail mode by asking the DSH agent to "use ponytail mode to write this code", or they can ask the model to automatically follow the ponytail development principle during all coding work. The core principle strictly follows the YAGNI (You Ain't Gonna Need It) ideology, prioritizing reusing existing code, calling standard libraries and native platform capabilities instead of adding extra dependencies or writing unnecessary custom code. It offers three intensity levels: lite, full (default), and ultra, and users can exit the mode at any time by typing the command "stop ponytail".
This is an unofficial port, so all original skill files from the upstream repository are kept verbatim, including YAML frontmatter metadata such as descriptions, argument hints, and licenses, with no modifications made during the porting process. The plugin has zero runtime dependencies, as it only relies on built-in Node.js modules to function. The entire project is released under the open-source MIT license, with copyright for the ported code belonging to gongyijie85, and copyright for the original skill content belonging to upstream author DietrichGebert.
dsh-ponytail 是专为 DeepSeek Harness (DSH) 打造的原生 Cordis 插件,将广受欢迎的“马尾”(ponytail)最懒资深工程师代码风格从上游仓库 DietrichGebert/ponytail 移植到 DSH 生态。插件向 DSH 的 ctx.skills 注册表宿主层注册技能提供者,预打包了 6 个实用技能,安装完成后无需用户额外配置即可使用,支持 DSH 0.1.0-rc.6 及以上版本。可通过 npm、GitHub 或本地路径三种方式安装。
安装完成后,用户只需要对 DSH 代理说一句“用 ponytail 模式写这段代码”即可激活核心风格,也可以要求模型在编码过程中自动遵循 ponytail 开发原则。该原则严格遵循 YAGNI(你不需要这个功能)思想,编码时优先复用现有代码、调用标准库和原生平台能力,始终追求最少代码行数和最精简实现。插件支持三档强度调节:lite、full(默认)、ultra,输入“stop ponytail”即可退出模式。
本插件属于非官方移植项目,所有上游技能文件都被完整保留,包括描述、参数提示、许可证等 YAML 前置元数据都原样透传,没有进行任何改写。插件零运行时依赖,只使用 Node.js 内置模块即可运行。整个项目基于 MIT 许可证开源,移植部分版权归移植作者 gongyijie85 所有,原始技能内容版权归上游原作者 DietrichGebert 所有。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-ponytail(gongyijie85/dsh-ponytail)
仓库:https://github.com/gongyijie85/dsh-ponytail
本站详情页:https://www.yhbd.top/plugins/gongyijie85-dsh-ponytail/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 15 · 最近提交 2026-09-10 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 15 stars - an early-stage project星标 15,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-ponytail-skills
把 gongyijie85/dsh-ponytail 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-ponytail
English | 简体中文
把 DietrichGebert/ponytail(~76k⭐ 的 "最懒资深工程师"代码风格)移植到 DeepSeek Harness (DSH) 的 Cordis 插件架构。
插件向 ctx.skills 注册表的 host 层 注册技能提供者,6 个技能随包分发
(skills/<name>/SKILL.md),无需任何用户配置。
非官方移植:技能内容改编自 DietrichGebert/ponytail(MIT, © DietrichGebert)。
快速上手
装好后对 agent 说 "用 ponytail 模式写这段代码",或让模型在编码时自动
采用:YAGNI → 复用现有代码 → 标准库 → 原生平台能力 → 一行 → 最小代码。
支持 lite / full(默认)/ ultra 三档强度,"stop ponytail" 退出。
技能列表
| 技能 | 用途 |
|---|---|
ponytail |
核心模式:强制"最懒但能用的方案",YAGNI → stdlib → 原生 → 一行 → 最小代码。支持 lite / full(默认)/ ultra 三档 |
ponytail-review |
只针对过度工程的代码评审:每行一个发现(位置、删什么、用什么替代) |
ponytail-audit |
全仓库过度工程审计(ponytail-review 的仓库版):排序输出"最大削减优先" |
ponytail-debt |
把代码里所有 ponytail: 注释收进债务台账,延迟不烂尾 |
ponytail-gain |
展示 ponytail 的实测收益记分牌(基准中位数) |
ponytail-help |
全部模式/技能/命令的速查卡 |
安装
支持的 DSH 版本:>=0.1.0-rc.6(宿主面仅 ctx.skills.registerProvider,覆盖 0.1.0-rc.8 起全部 rc/alpha 线;实测基线 0.1.1-rc.2)。
# npm(包名 dsh-ponytail 已被同名项目占用,本包发布为 dsh-ponytail-skills)
dsh plugin --profile web add dsh-ponytail-skills
# GitHub
dsh plugin --profile web add github:gongyijie85/dsh-ponytail
# 本地开发
dsh plugin --profile web add D:\plugins\dsh-ponytail
装完重启 profile(dsh web),技能即可用 skill 工具加载。
工作原理
- Bundle 层 ——
cordis.patch.yml在 dsh-base 层插入插件行,后续层可按 id 定位。 - 提供者 ——
lib/index.js调用ctx.skills.registerProvider(...):扫描skills/目录,从 YAML frontmatter 解析name/description并返回完整技能 定义,resourceBase指向技能目录。 - 零运行时依赖 —— 只使用 Node 内置模块。
移植说明(对比上游)
- 技能文件与上游完全一致(verbatim):包括
description: >折叠多行 frontmatter——提供者(lib/index.js)原生解析折叠标量(按 YAML 语义以 单空格连接),无需任何改写。 argument-hint、license等元数据原样透传。- 调用语义:全部模型/用户可调用(上游未设
disable-model-invocation)。
许可证
MIT。技能内容 © DietrichGebert(ponytail); DSH 移植 © gongyijie85。见 LICENSE。
titanwings/distilly
YuJunZhiXue/dsh-purge
Clearailhc/clearai-dsh
yejiming/MuseAI
superdesigndev/superdesign-skill
Miaotofu01/Study-Mate