archify/integrations/deepseek-harness

14.7kStar1.1kFork19Issue77Watching

为 DeepSeek Harness 注入 Archify 技术图 Skill:让 dsh 在对话里读仓库生成五种交互式系统地图,产出可分享的 HTML 文件。

机审证据安装命令仓库已核验dsh-plugin Topic许可证READMEAI 百科

此插件是大仓库 tt-a1i/archify 的子包,星数与活跃度统计的是整个仓库。

语言
HTML
License
MIT
分支
main
agent-skillsarchitecture-as-codearchitecture-diagramclaude-skillcode-visualizationcodexcoding-agentsdata-flow-diagram

安装

$ dsh plugin --profile web add github:tt-a1i/archify/integrations/deepseek-harness

在终端中运行以上命令,通过 dsh CLI 安装此插件。可在右上角切换 Profile。 第一次用 dsh?看这篇新手教程

对话式安装

帮我安装 DeepSeek Harness 插件 tt-a1i/archify/integrations/deepseek-harness:先查看仓库 https://github.com/tt-a1i/archify.git 确认安全性,然后执行安装命令并验证插件加载成功。

把这段指令粘贴给 DSH Web GUI 里的助手,由它代你完成安装与验证。

一句话定位

把 Archify 技术图 Skill 挂到 DeepSeek Harness 上,让 dsh 在聊天里读取代码、产出五种带校验的交互式系统地图(架构/工作流/时序/数据流/生命周期),最终生成可分享的自包含 HTML 文件。

核心能力

  • 注入 Archify 文件系统 Skill,让 dsh 加载现成的架构图技能包
  • 读仓库生成五种交互式系统地图(架构、序列、工作流、数据流、生命周期)
  • 输出的图全部带 typed JSON 校验,确保结构自洽后再渲染
  • 导出可分享的单文件 HTML,支持搜索节点、上下游追溯、暗/亮主题切换
  • 提供 Before/Delta/After 差异视图,便于评审架构改动
  • 通过 shell 写出 JSON 与 HTML 产物到工作区,无需启动额外服务

技术实现

  • 语言: JavaScript (ESM)
  • 关键依赖: 无运行时依赖;仅依赖 Node 内置模块 node:modulenode:path
  • 架构模式: DSH bundle patch(cordis.patch.yml)——通过 insert 指令向宿主注入一个名为 archify-plugin 的文件系统 Skill Provider,由 @deepseek-ai/dsh-skill-filesystem 实现
  • 入口文件: integrations/deepseek-harness/lib/index.js(仅导出 resolveArchifySkillRoot 纯函数,把安装包内的 skills/ 目录解析到 DSH profile)

适用场景

想在 dsh 里直接和 agent 对话,让它把一个仓库画成可分享的架构图,而不必自己装额外桌面工具、复制 prompt 或手动跑 CLI 的用户。适配器适合那些已经把 dsh 当日常 Agent 工作台、又需要给同事或 PR 评审方提供"看一眼就懂"的系统全景的人。

前置依赖与兼容性

依赖最低版本说明
DeepSeek Harness (DSH)@deepseek-ai/dsh@0.1.0-rc.6仅在开发者预览版验证,不代表跨版本稳定承诺
Node.js^22.19.0>=24.0.0适配器使用 node:module 内置 API
运行平台macOS / Windows / Linux源码无平台相关调用
原生模块package.json 不声明 dependenciespeerDependenciesoptionalDependencies

安装方式

dsh plugin --profile web add github:tt-a1i/archify/integrations/deepseek-harness

配置项

配置类型说明默认值
providerNamestring在 DSH 内部标识这个 Skill 包的来源名字archify-plugin
includeDefaultRootsboolean是否同时加载 Skill 文件系统自带的默认目录false(仅使用本插件打包的目录)
bundledSkillDirpathArchify Skill 文件在已安装 npm 包内的绝对路径,启动时由 createRequire 解析得出安装后自动定位到包内 skills/

适配器自身不暴露用户级配置入口;以上三栏由 cordis.patch.yml 注入到宿主,无需在安装后手动调整。

常见问题

Q: 这个插件是 DeepSeek 官方出品的吗?

A: 不是。仓库首页和插件 README 都明确标注 "Community integration" 和 "not an official DeepSeek product",仅在开发者预览版 dsh 上验证可用,不代表跨版本稳定承诺。

Q: 安装之后我怎么调用它?

A: 在 dsh 对话里直接说 "Use the archify skill to map this repository's runtime architecture" 或其中文表述,agent 就会加载 Archify Skill,按 typed JSON 生成校验过的图。Skill 内部命令需要 shell 权限(validate / deliver / preview)。

Q: 生成的图为什么不出现在 dsh Web 的 Produced Files 列表里?

A: 因为 Archify 通过 shell 写出 HTML/JSON,不会自动进入 Produced Files 通道。需要让 agent 在交付完图后,把生成的 specification JSON 和 HTML 的精确工作区绝对路径返回给你,你从工作区里直接打开。

Q: 这个适配器会在我电脑上偷偷开端口、上报数据或读我的 key 吗?

A: 不会。integrations/deepseek-harness/lib/index.js 只有一个纯函数 resolveArchifySkillRoot,整库没有 child_processfetchsetIntervalWorkerprocess.env.*TOKEN 等关键词(adapter-security.test.mjs 强制断言)。没有 telemetry、没有网络请求、没有 prepare/install/postinstall 钩子。

Q: 卸载命令是什么?

A: dsh plugin --profile web remove @tt-a1i/archify-dsh。它只会移除适配器与 Skill 注入,不会删除你之前生成的图文件。

Q: 升级 dsh 之后还能用吗?

A: 适配器当前仅在开发者预览版 @deepseek-ai/dsh@0.1.0-rc.6 上验证,README 明确写 "It is not a stable cross-version guarantee"。等 dsh 进入正式版本后需要看适配器是否同步发布新版。

Q: 我可以同时保留别的 Skill 或自定义目录吗?

A: 注入配置里 includeDefaultRoots 默认为 false,只暴露本插件打包的 skills/ 目录;如果你已经在 dsh profile 里挂了别的 Skill Provider,它们互不影响。

上手难度

入门 — 用户只需在 dsh 对话里用一句英文(或其中文版本)触发即可,Skill 内部命令由 agent 自动调度。

已知问题与限制

  • 仅在开发者预览版 @deepseek-ai/dsh@0.1.0-rc.6 上验证,README 明确说明不代表跨版本稳定承诺
  • 通过 shell 产出的 JSON / HTML 不会自动进入 dsh Web 客户端的 Produced Files 通道,需要让 agent 返回精确工作区路径
  • 适配器不注册 render / validate / deliver 工具,Archify 的内部命令必须由 agent 在 Skill 流程里调度,用户无法手工调用
  • v0.1.0 与上游 Archify 主线版本(v2.15.0)解耦,更新节奏可能滞后

收录徽章

Listed on deepseek-plugin.org
[![Listed on deepseek-plugin.org](https://img.shields.io/badge/listed_on-deepseek--plugin.org-007EC6)](https://deepseek-plugin.org/plugins/tt-a1i/archify/integrations/deepseek-harness)

把这段 markdown 粘贴到你的 GitHub README,链接回本插件详情页。徽章只声明已被本站收录,不代表安全认证。

返回插件目录