863683348 / dsh-recipe

Listed

Scenario bundles of dsh plugins (插件界的 dotfiles): recipe tool lists, searches, applies and composes ready-made plugin environments with ordered install sequences

mainTool View source

Installation

npx -y @deepseek-ai/dsh plugin --profile web add github:863683348/dsh-recipe

This installation command is an unverified starting point generated from the GitHub repository address.

README

Maintainer-authored documentation snapshot.

View on GitHub ↗
Commit 2fc268fSynced Aug 18, 2026

dsh-recipe — 插件界的 dotfiles(配方聚合)

把 dsh 插件打包成场景配方:一次说清"我要一套 XX 环境",而不是一个一个装插件。V2EX 有人做过"插件组合索引"但没做成可安装插件——本插件把 recipe 做进 DSH 本体。

为什么需要它

  • 用户要的是环境("浏览器开发环境"、"学术写作套装"、"通知全家桶"),不是单个插件。
  • recipe 工具:list(浏览全部配方)→ search(按需求匹配)→ apply(展开配方:有序插件 + 安装命令)→ compose(多个配方合并去重)。
  • recipe 格式即"插件清单 + 顺序 + 可选配置"(JSON),纯本地、零网络、零依赖。

安装

dsh plugin --profile <profile> add dsh-recipe

内置配方(10 个)

id名称插件数
browser-dev-env浏览器开发环境4
notification-suite通知全家桶6
academic-writing学术写作套装5
mobile-remote移动远程控制3
security-hardening安全加固套装4
memory-kit记忆持久化套装5
fun-break娱乐休闲4
model-routing模型路由优化5
workflow-automation工作流自动化5
market-manager插件市场管理5

用法(模型侧)

recipe 工具:

action参数行为
list列出全部配方
searchneed按自然语言需求匹配配方
applyrecipeIdneed展开配方:有序插件清单 + 安装命令序列
composerecipeId(逗号分隔)合并多个配方为整套环境(去重、保序)

"一键应用整套"输出即点菜单:逐条 dsh plugin add 命令 + 一行合并命令;模型可直接执行或交给用户确认。

设计

  • 纯逻辑lib/recipe.js(检索/展开/组合/命令序列)零依赖;lib/recipe-data.json(配方)+ lib/plugins.json(84 个插件目录,与 dsh-need-finder 同源)。
  • 配方格式{ id, name, nameZh, description, descriptionZh, tags, plugins: [{name, config?}] }——依赖顺序即数组顺序;compose 做并集去重,天然支持 DAG 化编排的前置。
  • 安全:无网络、无写入、无 secrets。

测试

node test/recipe.test.mjs

License

MIT

Project files and signals

Shown items are public repository signals detected in the directory snapshot.

TestsDetected
Security policyDetected
Contributing guideDetected
DocumentationDetected

Repository information

Language
JavaScript
License
MIT
Last updated
Aug 17, 2026, 2:48 AM

Install deliberately

Review source code, permissions, lifecycle hooks, dependencies and network access. Test untrusted plugins in an isolated environment.