dsh-pet-dev
Skill5.9k starsChanged 15 days agoMITView on GitHub
本仓库(dsh-pet 宠物插件)的开发总则:把任务边界、插件代码规范、注释规范与提交规范串成一条执行链,一次调用覆盖从改代码到提交的全过程。
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about PC2005-cloud/dsh-pet
- NousResearch/hermes-agent“Add dsh-pet to the plugin catalog”GitHub · Nov 9, 2026
- hyperion2144/dsh-desktop-plus“桌面横幅通知缺具体内容、点击无法聚焦/跳会话、声音不受「无声」设置控制(参考 dsh-pet 重写通知)”GitHub · Nov 6, 2026
- kexijiang/Piora“feat: 支持独立于 Pi Agent 插件的 DSH/Cordis 桌面插件体系”GitHub · Oct 30, 2026
- baileyh8/hermes-feishu-streaming-card“[Feature] 完成态展示 Agent 虚拟形象动图(opt-in,默认关闭)”GitHub · Oct 29, 2026
- WSK-build/DSHBox“[Feature] 支持插件透明悬浮窗契约,让 DSH 桌宠浮在所有应用之上(游戏时隐藏)”GitHub · Oct 29, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub and Bluesky (14 times).
On GitHub · 13
- Nov 9, 2026Add dsh-pet to the plugin catalog — NousResearch/hermes-agent0 reactions
- Nov 6, 2026桌面横幅通知缺具体内容、点击无法聚焦/跳会话、声音不受「无声」设置控制(参考 dsh-pet 重写通知) — hyperion2144/dsh-desktop-plus0 reactions · 2 comments
- Oct 30, 2026feat: 支持独立于 Pi Agent 插件的 DSH/Cordis 桌面插件体系 — kexijiang/Piora0 reactions
- Oct 29, 2026[Feature] 完成态展示 Agent 虚拟形象动图(opt-in,默认关闭) — baileyh8/hermes-feishu-streaming-card0 reactions · 1 comment
- Oct 29, 2026[Feature] 支持插件透明悬浮窗契约,让 DSH 桌宠浮在所有应用之上(游戏时隐藏) — WSK-build/DSHBox0 reactions
8 more on GitHub
- Oct 22, 2026Add kongbaiming5/dsh-pet-button(桌宠开关) — awesome-dsh-plugin/awesome-dsh-plugin0 reactions
- Oct 15, 2026[Bug][Windows]2.0.17 安装包未注册 `dsh://` 自定义协议,导致插件(dsh-pet)唤起主窗口时弹出 Microsoft Store"获取打开此链接的应用" 对话框 — anywhere-labs/dsh-desktop0 reactions
- Oct 3, 2026[Plugin] dsh-pet — AI-Scarlett/DSH-Store0 reactions
- Aug 23, 2026[Audit] dsh-pet-pc2005-cloud — SoberReport-AI/DeepGuard0 reactions · 2 comments
- Aug 22, 2026[Audit] dsh-pet — SoberReport-AI/DeepGuard0 reactions · 2 comments
- Aug 21, 2026catalog: add pc2005-cloud-dsh-pet (community curation, created by @PC2005-cloud) — diegosouzapw/awesome-omni-dsh-plugins0 reactions · 1 comment
- Aug 18, 2026catalog: add DSH Pet — MicroSpotlight/openharness-plugins0 reactions
- Aug 15, 2026[Submit] dsh-pet — 桌面宠物:会待机呼吸、随机小动作、屏幕漫游、点击互动 — 2BingLing/dsh-market0 reactions · 3 comments
On Bluesky · 1
- Oct 20, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 PC2005-cloud / dsh-pet ⭐ 3,005 (+505) 🗒 TypeScript DSH 桌面宠物:一行命令装好即用的透明动画小桌宠,支持多开、大小位置随心配置;还内置 DIY… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
In this repository4 other files it gives its agents.
- dsh-plugin-comment-specSkill
- dsh-plugin-standardsSkill
- git-commitSkill
- task-guardrailsSkill
The file
Files
dsh-pet 开发总则(dsh-pet-dev)
目标
本仓库唯一的入口 skill。它不重复四条规范的内容,只回答一件事:这次请求该调用哪几个子 skill、按什么顺序执行。
四个子 skill 是权威正文;本文件是索引与顺序表。二者冲突时以子 skill 为准。
四个子 skill
| 子 skill | 什么时候必须调用 |
task-guardrails | 每个请求的第一步,任何工具调用之前 |
dsh-plugin-standards | 要动 host/client 源码、加删文件、改接口、补测试 |
dsh-plugin-comment-spec | 和 dsh-plugin-standards 一起调:写代码就要写注释 |
git-commit | 要提交、要写或改写提交信息 |
四个子 skill 都已注册,直接按名字交给 skill 工具,不需要去找文件,也不需要读文件。门禁命令在 dsh-pet/ 子目录下执行。
执行链
按顺序走,不要跳步,也不要一次全部调用。
- 判类型(
task-guardrails):纯对话 / 只读调查 / 需要变更。判定不清时往更保守的一类靠。 - 先开口再动工具:说出理解与打算看什么;只读也要先开口。
- 写操作前停住:说清「改什么、达到什么效果、怎么验证」,然后用弹窗等回复。预告不等于获批。
- 动代码前一起调
dsh-plugin-standards与dsh-plugin-comment-spec:前者定插件类型、文件规模、目录归属、导出面、测试位置,后者定模块头分档、导出符号一行摘要、只写 why。写代码必然带注释,不拆成两步。 - 收尾跑门禁(在
dsh-pet/):npm run typecheck、npm run lint、npm run format:check、npm run check:cycles、npm run check:runtime、npm run check:openapi、npm test、npm run build。没跑过的不要说「已验证」。 - 提交时调
git-commit:从实际 diff 推断type(scope),正文写实现方式、行为变化与涉及文件;推送必须有明确指令。
调用方式
- 按需调用,别一次全调:纯问答一个都不调;只读调查只调
task-guardrails;改代码把task-guardrails、dsh-plugin-standards、dsh-plugin-comment-spec三个一起调;提交调git-commit。 - 同一子 skill 在一次任务里调一次即可,不要重复调用,也不要凭记忆复述它的规则。
- 本 skill 只由用户点名触发;四个子 skill 由 AI 按需调用,用户也可以直接点名。
冲突与优先级
- 边界优先:
task-guardrails决定「能不能动」,dsh-plugin-standards/dsh-plugin-comment-spec决定「怎么写」,git-commit决定「怎么记录」。规范与边界冲突时,先满足边界。 - 规范与代码不一致时报告,不擅自改:发现规范里的说法与仓库现状冲突,先说明再问,不直接改规范。
守则
- 没有明确授权,不产生任何副作用:不写文件、不装依赖、不动 Git。
- 不把举例当任务:用户描述问题或吐槽时,先确认理解再动手。
- 删而不留:确认无引用后删除,不留兼容层、不留旧实现、不留注释掉的代码(除非用户要求)。
- 一处事实只写一遍:定位算术、常量、类型不复制第二份;规范内容不搬进本文件。
- 提交信息来自本次 diff,不照抄本 skill 的示例文字。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

