label-hook
仓库创建 2026年7月2日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由
把仓库内标签映射为可执行动作,便于把人工标记转为自动化 CI 流程。
▸ 风险提示
由 CI/workflow 调用并携带常量动作 token,需注意 token 与权限暴露风险。
这个 Skill 做什么
响应特定标签触发的映射动作,丰富 issue 或执行端到端实现流程。
当在 GitHub issue 上贴了触发标签时,它会把标签映射成固定动作 token,自动在 issue 上补充信息或把事情推进到端到端实现(比如建分支、开 PR)。这个流程通常由 .github/workflows 的 waffle-label-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/.claude/skills/label-hook/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/dustinkeeton/wafflestack/main/.claude/skills/label-hook/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Label Hook You were dispatched because the 'waffle:enrich' or 'waffle:implement' 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. - `<issue-ref>` is a `#N`
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有