codinghub
CodingHub 工具广场操作指南。当用户要求搜索/安装/发布/更新 CodingHub 工具,发帖到论坛,或通过 MCP 与 CodingHub 平台交互时使用。前提是已配置 CodingHub MCP 连接(SSE 模式)。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
CodingHub 工具广场操作指南。当用户要求搜索/安装/发布/更新 CodingHub 工具,发帖到论坛,或通过 MCP 与 CodingHub 平台交互时使用。前提是已配置 CodingHub MCP 连接(SSE 模式)。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
CodingHub 工具广场操作指南。当用户要求搜索/安装/发布/更新 CodingHub 工具,发帖到论坛,管理知识库,或与 CodingHub 平台交互时使用。支持双通道:MCP 优先,HTTP 直连自动降级(Python 或 Node.js CJS CLI 封装,跨平台)。
使用 CodeWiki-CN MCP 工具为代码仓库生成 Wiki 文档并管理 LLM Wiki 知识库。支持三层增强模式:codebase-memory-mcp(深度增强:Leiden 聚类、Cypher 查询、跨服务追踪、复杂度分析)、CodeGraph(调用图增强)、或纯 CodeWiki(标准模式)。自动检测可用 MCP 服务器并选择最优模式。当用户要求生成 Wiki、代码文档、仓库文档、分析代码库结构时使用。
UI/UX design intelligence with searchable database
Use when building and packaging the project for deployment, including frontend build, backend JAR, and creating distribution zip
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
| name | codinghub |
| description | CodingHub 工具广场操作指南。当用户要求搜索/安装/发布/更新 CodingHub 工具,发帖到论坛,或通过 MCP 与 CodingHub 平台交互时使用。前提是已配置 CodingHub MCP 连接(SSE 模式)。 |
| version | 1.0.0 |
通过 MCP(Model Context Protocol)与 CodingHub 工具广场交互,支持工具发现、安装、发布、更新和论坛交流。
http://<host>:8082/ssePOST /mcp/messageGET /mcp/health| 工具 | 用途 | 关键参数 |
|---|---|---|
h3_coding_hub_tool_search | 搜索工具列表 | query?, category?, limit?(默认20) |
h3_coding_hub_tool_get | 获取工具完整详情(含 markdown 文档) | toolId (必填) |
h3_coding_hub_tool_files | 获取工具的文件列表(下载信息) | toolId (必填) |
h3_coding_hub_tool_download | 获取文件下载链接 | toolId, fileId (均必填) |
h3_coding_hub_post_search | 搜索论坛帖子 | query?, limit?(默认20) |
h3_coding_hub_post_get | 获取帖子完整内容 | postId (必填) |
| 工具 | 用途 | 关键参数 |
|---|---|---|
h3_coding_hub_tool_create | 创建新工具 | name, categoryId, content, version, username, password |
h3_coding_hub_tool_modify | 修改已有工具(仅更新传入字段) | toolId, name?, categoryId?, content?, version?, username, password |
h3_coding_hub_tool_file_upload | 获取文件上传 REST 端点信息 | toolId, username, password |
h3_coding_hub_tool_file_delete | 删除工具的某个文件 | toolId, fileId, username, password |
h3_coding_hub_post_create | 创建论坛帖子 | title, content, categoryId, username, password |
触发词: "查询工具列表"、"安装工具"、"有没有 XX 工具"
步骤:
h3_coding_hub_tool_search 按关键词搜索工具h3_coding_hub_tool_get 获取完整文档(含安装说明、使用方法)h3_coding_hub_tool_files 获取文件列表h3_coding_hub_tool_download 获取下载链接/api/v1/tools/{toolId}/files/{fileId}/download),需拼接服务器基址 http://<host>:8082 构成完整 URL版本检查: 如果本地已有 skill,先读取其 tools.version 文件中的版本号,与远程工具版本对比,仅在版本不同时才下载安装。
触发词: "发布 skill"、"上传工具到 CodingHub"
步骤:
h3_coding_hub_tool_search 查看现有工具的分类来推断h3_coding_hub_tool_create 创建工具,记录返回的 toolIdh3_coding_hub_tool_file_upload 获取 REST 上传端点信息curl -X POST http://<host>:8082/api/v1/tools/{toolId}/files \
-F "files=@/path/to/file1.zip" \
-F "files=@/path/to/file2.md" \
-F "readme=工具简介(可选)"
关键: 文件上传端点 /api/v1/tools/{toolId}/files 无需 JWT 认证(SecurityConfig 已放行)。
触发词: "更新工具"、"升级 skill 版本"
步骤:
h3_coding_hub_tool_search 找到目标工具,获取 toolIdh3_coding_hub_tool_files 获取当前文件列表h3_coding_hub_tool_file_delete(readme 文件可保留)h3_coding_hub_tool_modify 更新工具信息
version 参数,系统会自动递增最后一段版本号(如 1.0.0 → 1.0.1)2.0.0)自动版本号规则: 1.0.0 → 1.0.1;1.0.0-beta → 1.0.1-beta;1.2.3 → 1.2.4。
触发词: "发帖到论坛"、"把这个文档发布到论坛"
步骤:
h3_coding_hub_post_create,传入 title、content、categoryId、username、password写入工具(create / modify / upload / delete / post_create)采用参数级认证:
username 和 password 参数123456(仅限开发/测试环境)需要凭据时,按以下优先级获取:
memory_search 搜索 "CodingHub" 或 "账号密码",如果记忆中有 username 和 password,直接使用,不要打扰用户memory 工具(target="user")将 username 和 password 保存到长期记忆,格式示例:CodingHub account: username=xxx, password=xxx。后续调用不再重复询问h3_coding_hub_tool_file_upload 只返回上传端点信息,实际上传需用 curl 执行 HTTP POST multipart/form-datah3_coding_hub_tool_download 返回的 URL 需要拼接 http://<host>:8082 前缀/sse 和 /mcp/** 在 SecurityConfig 中已设为 permitAll,连接时不要传 Authorization headerh3_coding_hub_tool_get 确认内容已生效h3_coding_hub_tool_files 确认文件列表正确h3_coding_hub_tool_files 确认文件已移除h3_coding_hub_post_get 确认内容完整