gongyijie85/dsh-ponytail

Plugin插件 Native原生 ⭐ 15 MIT Prompts & Skills提示词与技能

马尾辫,懒人资深开发者模式,适用于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 所有。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 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

npm version GitHub release CI License: MIT DSH -最懒资深 -防过度工程 -YAGNI -最小代码

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。

← 上一个 Prev dsh-vision-proxy 下一个 Next dsh-whale-pet →