KS
Killer-Skills

tool-sync — Categories.community

v1.0.0
GitHub

About this Skill

Perfect for AI Agents needing automated documentation synchronization for biomedical literature research tools 🔬 Professional MCP server for biomedical literature research — 40 tools, multi-source search (PubMed, Europe PMC, CORE, OpenAlex), full-text access, citation networks, PICO analysis, and more

u9401066 u9401066
[0]
[0]
Updated: 3/5/2026

Quality Score

Top 5%
36
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add u9401066/pubmed-search-mcp

Agent Capability Analysis

The tool-sync MCP Server by u9401066 is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion.

Ideal Agent Persona

Perfect for AI Agents needing automated documentation synchronization for biomedical literature research tools

Core Value

Empowers agents to maintain consistency across instructions, skills, and README files by automatically synchronizing tool documentation with code changes, utilizing Python and modifying files like `tool_registry.py` and `register_all_tools()`

Capabilities Granted for tool-sync MCP Server

Automating documentation updates after adding or removing tools
Synchronizing tool lists across multiple files
Ensuring consistency between code and documentation for tools like PubMed, Europe PMC, and OpenAlex

! Prerequisites & Limits

  • Requires access to MCP server and tool registry
  • Limited to Python environment
  • Dependent on specific file structures like `tools/__init__.py`
Project
SKILL.md
3.5 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

MCP 工具文檔自動同步

描述

當 MCP 工具被新增、移除、重新命名時,自動同步所有相關文檔。 確保 instructions、skills、README 中的工具數量和列表永遠與程式碼一致。

觸發條件

以下情境必須觸發此 Skill:

  1. 新增了 register_*_tools() 函數或 @mcp.tool() 裝飾器
  2. 修改了 tool_registry.pyTOOL_CATEGORIES
  3. 修改了 tools/__init__.pyregister_all_tools()
  4. 刪除或重新命名任何 MCP 工具
  5. 用戶明確要求 "同步工具" / "tool sync"

自動同步的文件(共 6 個)

#文件更新內容更新方式
1presentation/mcp_server/tool_registry.pyTOOL_CATEGORIES dict手動 — 新增/移除工具分類
2presentation/mcp_server/tools/__init__.pyregister_all_tools()手動 — import + 呼叫 register 函數
3presentation/mcp_server/instructions.pySERVER_INSTRUCTIONS 工具列表🤖 --update-docs 自動
4.github/copilot-instructions.mdTool Categories 表格🤖 --update-docs 自動
5.claude/skills/pubmed-mcp-tools-reference/SKILL.md完整工具參考🤖 --update-docs 自動
6README.md + README.zh-TW.md工具數量 badge🤖 --update-docs 自動

執行流程

Step 1: 手動修改(AI Agent 負責)

確保以下兩個「源頭」檔案正確:

python
1# 1. tool_registry.py — 新增分類 2TOOL_CATEGORIES = { 3 ... 4 "new_category": { 5 "name": "新分類名稱", 6 "description": "分類描述", 7 "tools": ["tool_name_1", "tool_name_2"], 8 }, 9} 10 11# 2. tools/__init__.py — 註冊函數 12from .new_module import register_new_tools 13 14def register_all_tools(mcp, searcher): 15 ... 16 register_new_tools(mcp) # 新增呼叫

Step 2: 執行自動同步腳本

bash
1uv run python scripts/count_mcp_tools.py --update-docs

Step 3: 驗證

bash
1# 檢查工具數量是否正確 2uv run python scripts/count_mcp_tools.py 3 4# 檢查驗證是否通過(TOOL_CATEGORIES 與 FastMCP runtime 同步) 5uv run python scripts/count_mcp_tools.py --verbose

Step 4: 回報結果

🔄 MCP 工具同步完成

📊 統計:
  - 工具總數: XX → YY (+N)
  - 分類數: XX → YY (+N)
  - 更新文件: N 個

📝 已更新:
  ✅ tool_registry.py - 新增 "image_search" 分類
  ✅ tools/__init__.py - 新增 register_image_search_tools
  ✅ instructions.py - 工具列表已同步
  ✅ copilot-instructions.md - Tool Categories 已同步
  ✅ SKILL.md (tools-reference) - 已重新生成
  ✅ README.md - 工具數量已更新
  ✅ README.zh-TW.md - 工具數量已更新

⚠️ 驗證: PASSED ✅

重要規則

🔴 必須遵守

  1. 任何工具變更後都要執行 count_mcp_tools.py --update-docs
  2. 先修改源頭(tool_registry.py + tools/init.py),再執行腳本
  3. 驗證必須通過TOOL_CATEGORIES 與 FastMCP runtime 必須同步

⚠️ 注意事項

  • count_mcp_tools.py 會自動偵測 TOOL_CATEGORIES 中所有類別(動態取得,不再硬編碼)
  • instructions.py 只更新工具列表區塊,搜尋策略等手寫內容不會被覆蓋
  • pubmed-mcp-tools-reference SKILL 會完全重新生成
  • CHANGELOG 更新由 changelog-updater skill 另行處理

與其他 Skill 的關係

  • git-precommit: commit 前會呼叫本 Skill 的同步步驟
  • git-doc-updater: 文檔更新時也會觸發工具同步檢查
  • ddd-architect: 新增功能模組時會提醒執行工具同步

Related Skills

Looking for an alternative to tool-sync or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
Design

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication