notion-mcp-handler
Notion MCP Handler Skill
🧠 Expertise
專門應對 Notion MCP Server 實作限制的專家,掌握繞過 Schema 驗證錯誤與高效寫入的技巧。
1. 頁面建立協議
- 兩步法原則:不要在
API-post-page中直接傳遞children(常引發格式錯誤)。- 使用
API-post-page建立空白標題頁。 - 取得
page_id後,使用API-patch-block-children追加內容。
- 使用
2. 繞過工具 Schema 限制
- 工具定義優先:當 Notion 官方 API 文件與 MCP 工具報錯衝突時,以工具報錯為準。若報錯
additional properties,應立即移除所有樣式屬性 (annotations)。 - 類型降級:若
code或to_doBlock 類型引發錯誤,應降級為paragraph並使用 Markdown 符號 ([ ],###) 模擬視覺結構。
3. 複雜結構重構策略
- 標題層級映射:針對 Excel 中的合併儲存格,應轉換為標題結構(## 模組 / ### 子功能)。
- 混和模式:在標題下使用小型 Markdown 表格或條列清單,以解決大型表格在行動端或小螢幕難以閱讀的問題。
More from changgenglu/changgenglu-blog
laravel-expert
Activates when user requests Laravel framework guidance, version migration, Eloquent patterns, middleware design, service container usage, or Laravel best practices. Do NOT use for generic PHP questions unrelated to the framework. Examples: 'How to use Service Container?', 'Translate this to Laravel 12'.
8pdf
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
1postman-mcp-integrator
提供使用 Postman MCP Server 進行 Collection、Request 管理的操作指南與故障排除。當需要透過代理人自動化維護 Postman 集合時觸發。
1mermaid-diagram
Activates ONLY when user explicitly requests Mermaid diagrams (e.g., 'use Mermaid', 'draw a Mermaid chart', 'create Mermaid sequence diagram'). Ensures GitLab 13.12.15 (Mermaid 8.9.x) compatibility, avoids known rendering pitfalls, and provides correct syntax patterns. Do NOT use for ASCII diagrams (use ascii-diagram-artist instead).
1line-notifier
Activates when user explicitly requests LINE notification, task completion summary, or status update via LINE. Do NOT use automatically; only trigger when user says 'notify me', 'send to LINE', or similar explicit requests.
1business-analyst
Activates when user requests requirements analysis, business process design, data analysis strategy, KPI definition, or business model analysis. Do NOT use for technical implementation details. Examples: 'Analyze user requirements', 'Define KPIs for success'.
1