sling-hooks
✓用於 Sling 複製和管道的前/後操作和掛鉤。在復制之前/之後添加操作、執行 SQL 查詢、發送 HTTP Webhook、通過檢查驗證數據、運行 shell 命令、複製/刪除文件或實施通知時使用。
SKILL.md
Hooks are custom actions that execute at specific points in replications. Steps are the same concept used in pipelines.
| start | Before any stream runs | Setup, notifications | | end | After all streams complete | Cleanup, notifications | | pre | Before each stream | Validation, setup | | post | After each stream | Logging, notifications | | premerge | Before merge (in transaction) | Session settings | | postmerge | After merge (in transaction) | Additional SQL |
| type | Hook type (required) | | id | Identifier for referencing output | | if | Conditional execution | | onfailure | abort, warn, quiet, skip, break |
用於 Sling 複製和管道的前/後操作和掛鉤。在復制之前/之後添加操作、執行 SQL 查詢、發送 HTTP Webhook、通過檢查驗證數據、運行 shell 命令、複製/刪除文件或實施通知時使用。 來源:slingdata-io/slingdata-ai。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/slingdata-io/slingdata-ai --skill sling-hooks- 分類
- {}資料分析
- 認證
- ✓
- 收錄時間
- 2026-02-05
- 更新時間
- 2026-02-18
快速解答
什麼是 sling-hooks?
用於 Sling 複製和管道的前/後操作和掛鉤。在復制之前/之後添加操作、執行 SQL 查詢、發送 HTTP Webhook、通過檢查驗證數據、運行 shell 命令、複製/刪除文件或實施通知時使用。 來源:slingdata-io/slingdata-ai。
如何安裝 sling-hooks?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/slingdata-io/slingdata-ai --skill sling-hooks 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/slingdata-io/slingdata-ai