- Inicio
- Plugins
- Habilidades
- ai-plugins (alibaba-java-guidelines)
ai-plugins (alibaba-java-guidelines)
511659192/ai-plugins/plugins/alibaba-java-guidelines
Ships the Alibaba Java coding guidelines, 44 selected rules, as an embedded harness skill, so writing, changing and reviewing Java code or DDL follows the handbook with a numbered self-check before delivery.
Instalar
dsh plugin --profile web add github:511659192/ai-pluginsEste plugin se encuentra en el subdirectorio plugins/alibaba-java-guidelines del repositorio.
README
ai-plugins
自建的 DeepSeek Harness 插件索引与插件源码仓库。
索引遵循 DSH 插件市场的 format 1 JSON 格式,可被官方 Discover(@deepseek-ai/dsh-plugin-market)读取;条目里的 source 指向本仓库的某个提交与子目录,安装时由 pnpm 直接从 Git 拉取。
索引地址
https://raw.giteeusercontent.com/yangmengdx3/ai-plugins/raw/main/index.json
市场读取索引时拒绝重定向,所以这里用的是 gitee 的 CDN 直链(实测
200、redirected: false)。https://gitee.com/yangmengdx3/ai-plugins/raw/main/index.json会302到上面这个地址,不能直接当索引地址。
使用
- 让 profile 挂载官方插件市场(
@deepseek-ai/dsh-experimental-plugin-market-bundle,提供plugin-market服务与 Plugins 页的 Discover)。 - 在 Discover 里添加上面的索引地址。
- 搜索到插件后点击安装;安装规格由索引生成,形如
git+https://gitee.com/yangmengdx3/ai-plugins.git#<commit>&path:/plugins/drag-workspace。
不想经过市场时也可以直接装:
dsh plugin --profile <profile> add "git+https://gitee.com/yangmengdx3/ai-plugins.git#main&path:/plugins/drag-workspace"
收录的插件
| 插件 | 目录 | 说明 |
|---|---|---|
dsh-plugin-drag-workspace | plugins/drag-workspace | 把文件夹拖到左侧工作区列表,注册为工作区并打开新会话。 |
dsh-plugin-alibaba-java-guidelines | plugins/alibaba-java-guidelines | 把《阿里巴巴 Java 开发手册》精选 44 条做成内嵌技能。 |
dsh-plugin-content-width | plugins/dsh-plugin-content-width | 问答区宽度切换(默认/较宽/全宽)+ 正文链接与文件引用改为弹窗打开。 |
新增一个插件
- 把插件包放进
plugins/<name>/,package.json里必须有dsh.bundle.patch(只有dsh.client不可安装)。 - 在
index.json的plugins里加一条,versions[0].source写成{ "type": "git", "url": "https://gitee.com/yangmengdx3/ai-plugins", "commit": "<40 位提交 SHA>", "path": "plugins/<name>" }。 commit必须指向已经包含该插件目录的提交;改完插件后先提交插件,再更新索引里的 SHA 并提交索引。
校验索引
索引会被 DSH 自带的 parseMarketIndex 严格校验(字段、SemVer、提交 SHA、图标大小与协议)。
改动后可用已安装的包自检:
import { parseMarketIndex } from '@deepseek-ai/dsh-plugin-market-index'