wxkingstar/SpecFusion 预览 preview

wxkingstar/SpecFusion

直接搜索20个中国开放平台的65,600+篇API文档,适用于DeepSeek Harness / Claude Code / Cursor / Codex / Gemini CLI;零配置,支持Skill与DSH原生插件。

Project Overview项目介绍

SpecFusion is a search tool for Chinese API documentation built for AI coding agents, letting developers find API parameters, error codes and documentation for over 20 major Chinese domestic open platforms without leaving their coding environment. It supports integration with multiple AI agent platforms including Claude Code, Codex, Gemini CLI, Cursor, and DeepSeek Harness. It currently indexes over 67,000 total documentation entries across all supported platforms. Users can install it via the skills CLI for global installation across supported agents, manually add it to individual platforms, or install the official DSH plugin via the DSH CLI.

It is designed for developers who are working on integrations with Chinese third-party APIs, and it fits directly into existing AI coding workflows. When a developer mentions a supported platform name in their agent conversation, SpecFusion automatically triggers a search and returns relevant matching documentation directly in the chat. Users can also explicitly trigger a search with the /specfusion command if auto-trigger does not pick up the keyword correctly. The pre-deployed public cloud service means no extra configuration or local backend setup is required after installation. This makes it very easy to start using right after installation.

SpecFusion is released under the permissive MIT open source license, and it supports self-hosting for users who want to run a private instance. Developers can use the built-in sync scripts to pull the latest documentation updates from all supported platforms and build their own local search database. The project uses Node.js with Fastify for the API backend, SQLite with FTS5 full-text search and jieba Chinese word segmentation to improve search accuracy for Chinese queries. Contributions are welcome via GitHub issues and pull requests for adding new supported platforms. Anyone can fork the repository and submit changes to expand the list of supported APIs.

SpecFusion 是面向编程 Agent 的中文 API 文档搜索工具,支持开发者不离开终端或编辑器,直接搜索二十余家国内主流开放平台的官方 API 文档、接口参数和错误码说明。它同时兼容多个 Agent 平台,包括 Claude Code、Codex、Gemini CLI、Cursor 和 DeepSeek Harness,不同平台对应不同的安装方式。

这款工具面向需要对接国内各大开放平台 API 的开发者,日常使用时,只要在对话中提到对应平台的关键词,就会自动触发搜索返回相关文档结果,也可以通过 /specfusion 命令手动指定搜索关键词。云端已预部署好服务,安装完成后零配置即可使用,无需开发者自行搭建后端服务。

项目采用 MIT 许可开源,支持开发者自行部署私有实例,也可以通过同步脚本来拉取更新最新的文档数据。项目技术栈基于 Node.js、Fastify 和 SQLite,使用 jieba 分词优化中文搜索准确率,目前累计收录了超过 67000 篇各平台的 API 文档。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
  • Not DSH-native: a multi-platform tool that may require Node / Electron or another runtime first非 DSH 原生,是多平台兼容工具:可能要先装 Node / Electron 等运行时
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 @wxkingstar/specfusion-dsh

把 wxkingstar/SpecFusion 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

SpecFusion

GitHub stars License: MIT DSH plugin 官网

🌐 官网:specfusion.kingstar.xin

在 Claude Code 里直接搜企业微信、飞书、钉钉、淘宝开放平台、小红书、抖音电商开放平台、微信小程序、微信小店、拼多多开放平台、有赞开放平台、微信支付、支付宝开放平台、京东商家开放平台、SHEIN开放平台、得物开放平台、火山引擎、阿里云百炼、泛微 e-teams 开放平台、北森 iTalent 开放平台的 API 文档。

不用切浏览器,不用翻文档站——输入问题,拿到接口参数,继续写代码。

> 企业微信怎么发应用消息?

  搜索到 3 篇相关文档:
  1. 发送应用消息 — POST /cgi-bin/message/send
  2. 接收消息与事件 — 被动回复消息
  3. 消息类型及数据格式 — text/image/voice/...

为什么用 SpecFusion

  • 不离开终端 — 写代码时直接问,Claude 帮你查文档、给出接口参数和示例
  • 中文搜索准确 — jieba 分词 + FTS5 全文索引,发送应用消息、access_token、40001 都能搜到
  • 67,000+ 篇文档 — 企业微信 ~2,800 篇 + 飞书 ~4,280 篇 + 钉钉 ~3,610 篇 + 淘宝 ~7,020 篇 + 小红书 ~110 篇 + 抖音电商 ~1,440 篇 + 微信小程序 ~470 篇 + 微信小店 ~490 篇 + 拼多多 ~290 篇 + 有赞 ~1,250 篇 + 微信支付 ~560 篇 + 支付宝 ~600 篇 + 京东 ~5,450 篇 + SHEIN ~260 篇 + 得物 ~270 篇 + 火山引擎ECS ~121 篇 + 火山引擎 ~35,170 篇 + 阿里云百炼 ~1,880 篇 + 泛微 ~560 篇 + 北森 ~1,090 篇,接口参数、错误码、事件订阅全覆盖
  • 零配置 — 云端服务已部署好,安装 Skill 后即可使用,无需自建后端

安装

方式一:skills CLI(推荐)

自动检测已安装的 Agent,一键全局安装到 Claude Code、Codex、Gemini CLI 等:

npx skills add wxkingstar/SpecFusion -g -y

⚠️ 必须加 -g 参数! 不加 -g 会安装到当前目录,只在该目录下生效。加 -g 安装到 ~/.claude/skills/,所有项目都能用。

仅安装到 Claude Code:

npx skills add wxkingstar/SpecFusion -g -a claude-code -y

也可以按平台名搜索安装:

npx skills find "feishu"      # 搜索飞书相关技能
npx skills find "taobao"      # 搜索淘宝相关技能
npx skills find "wecom"       # 搜索企业微信相关技能
npx skills find "dingtalk"    # 搜索钉钉相关技能
npx skills find "alipay"      # 搜索支付宝相关技能
npx skills find "jd"          # 搜索京东相关技能
# ... 支持所有已接入平台的英文名搜索

方式二:DeepSeek Harness 插件

在 DeepSeek Harness 中安装 SpecFusion 插件(自动注册 skill + 5 个原生搜索工具,无需 Bash + curl):

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-remote 下一个 Next DSH-Plugins →