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