label-hook
仓库创建 2026年7月2日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由
适合通过标签驱动 CI 的团队,本地亦可测试。
▸ 风险提示
运行时需 CI token/写权限,可能推送分支或修改仓库。
这个 Skill 做什么
响应标签触发,在 issue 中执行映射的自动化动作或实现分支和 PR。
当你在 GitHub issue 上贴了特定触发标签,它会把标签映射成一个恒定的 action token 并执行对应自动化:可以就地丰富 issue,或自动走出分支到 PR 的完整流程。需要本地测试 hook 或用 CI 调度标签时会用到。亮点是把标签到动作的映射固定化,便于可重复地触发和调试。
▸ 展开 SKILL.md 英文原文
Execute the label→action mapping when a GitHub trigger label dispatches the CI harness: enrich an issue in place, or implement it end-to-end (branch → PR). Invoked by the waffle-label-hook workflow with a constant action token; also user-invocable to test the hook locally.
0
Stars
0
Forks
35
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/dustinkeeton/wafflestack/main/stacks/github-workflow/skills/label-hook/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/dustinkeeton/wafflestack/main/stacks/github-workflow/skills/label-hook/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Label Hook
You were dispatched because the '{{labelHook.enrichLabel}}' or
'{{labelHook.implementLabel}}' trigger label was applied to an issue — the
`.github/workflows/waffle-label-hook.yml` CI job maps the label to a constant
**action token** and calls you with it. A user may also invoke this skill directly
to test the hook locally.
Read the request as `<action> <issue-ref>`:
- `<action>` is the constant token **`enrich`** or **`implement`** — it comes from
the workflow's exact-match label gate, never from the label text itself. Whether it
arrives as `$ARGUMENTS` (direct invocation) or named in the dispatch prompt (CI),
take the literal token — do not re-derive it from a label.
-via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有