gap-surfacer
它能做什么
这是支撑差距和意见工具的一套参考规则。它确保差距被记录并分派给负责人,同时确保未经确认不会向任何人发送消息。适合开展政策差距工作的法务团队。
适用场景
- ✓当你的智能体被要求显示未解决的政策差距或其状态时。
- ✓当某个差距需要分派给负责人或发出提醒时。
- ✓当有人要求在 Slack 上通知差距负责人时。
技能链接
https://github.com/anthropics/claude-for-legal/blob/main/regulatory-legal/skills/gap-surfacer/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请显示所有未解决的政策差距,并告诉负责人哪些已逾期。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能规定了每个差距如何记录、计算时长并分派。它还规定:发给负责人的消息会先展示给你,只有在你同意后才会发出。其他工具在开展主要工作前会先加载它。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Gap Surfacer
Owner notifications: on by default. To opt an owner out, leave
owner_slackempty.
Per-send confirmation — no exceptions
Before sending ANY Slack message (assignment notice, overdue reminder, bulk notification, status report):
- Show the user exactly what you're about to send and to whom: "I'm about to send this to [N] people: [preview]."
- Wait for an explicit yes.
- If the message contains any citations, deadlines, or compliance conclusions, add: "⚠️ The citations in this message are unverified — I'm not confirming they're current before sending. Do you want me to add a 'verify before acting' line?"
- Never send without the confirm. Not on a cadence. Not in a batch. Not because it was sent yesterday.
Auto-send without confirmation is the most irreversible action in this plugin, sending content this plugin's own footer says may be wrong, to people who have no way to check. That combination does not get to skip review.
Matter context
Matter context. Check ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is ✗ (the default for in-house users), skip the rest of this paragraph — skills use practice-level context and the matter machinery is invisible. If enabled and there is no active matter, ask: "Which matter is this for? Run /regulatory-legal:matter-workspace switch <slug> or say practice-level." Load the active matter's matter.md for matter-specific context and overrides. Write outputs to the matter folder at ~/.claude/plugins/config/claude-for-legal/regulatory-legal/matters/<matter-slug>/. Never read another matter's files unless Cross-matter context is on.
Purpose
Gaps get found and then forgotten. This skill tracks them until they're closed and notifies the people responsible for closing them.
The tracker
Lives at ~/.claude/plugins/config/claude-for-legal/regulatory-legal/gap-tracker.yaml:
Note on comment-tracker.yaml:
~/.claude/plugins/config/claude-for-legal/regulatory-legal/comment-tracker.yamlis a sibling file owned by the comments skill. It is written to by reg-feed-watcher (which logs NPRMs automatically) and the comments skill (which tracks user-initiated comment decisions). This skill does not read or cross-reference it. If you modify the comment-tracker schema, update both actual consumers.
gaps:
- id: GAP-001
requirement: "[what the reg requires]"
regulation: "[name + cite]"
policy_affected: "[name or 'new policy needed']"
gap_type: "partial" # none | partial | full | new-policy | watch | comment-decision
owner: "[name from policy index]"
owner_slack: "[Slack user ID or handle, if known]"
opened: 2026-03-01
due: 2026-06-01 # reg effective date, internal deadline, or comment deadline
status_verified: true # false if upstream policy-diff could not confirm the rule is in force; unverified items never hit 🔴 Overdue
status: "open" # open | in-progress | closed | risk-accepted
notified: false # set to true after assignment notification sent
resolution: "" # filled on close
Never classify a gap as Overdue on an unverified rule. The 🔴 Overdue classification means "we missed a binding deadline." If the rule's status is unverified (policy-diff set status_verified: false, or the rule is >12 months old / past its applicability date with no currency confirmation), the deadline may not be binding. Use 🟡 "Review needed" and note: "If this rule is in force as published, this would be overdue by [N] days. Verify rule status before escalating." Route unverified-rule items to watch, not to the active overdue/due-soon buckets; the watch revisit cadence forces a rule-status check before the item can re-surface as a compliance gap.
gap_type semantics:
| Value | Meaning | Typical reminder cadence |
|---|---|---|
none |
Policy already covers the requirement. Logged for audit trail only. Should be rare — if most entries are none, the diff is probably running against the wrong policy. |
No auto-reminder. |
partial |
Policy addresses the topic but doesn't fully cover the new requirement. Needs an amendment. | 30 days before due. |
full |
Policy contradicts or silently omits the new requirement. Needs a rewrite or new section. | 30 days before due. |
new-policy |
No existing policy covers this. Policy needs to be drafted. | 30 days before due. |
watch |
Forward-looking item — ANPR, RFI, proposed rule not yet final. No compl |
常见问题
它会不经询问就给别人发消息吗?
不会。每条 Slack 消息都需要你明确同意,并会显示完整的收件人名单。
它会提醒未核实的引用吗?
会。如果消息中引用了法规或截止日期,它会注明这些引用尚未核实。
我可以单独使用它吗?
它主要由差距和意见工具使用,这些工具会先加载它。
详情
作者的原始描述
Reference: shared gap- and comment-tracker framework backing /regulatory-legal:gaps and /regulatory-legal:comments. Tracks open policy gaps with remediation status, ingests gaps from policy-diff, surfaces what's open and aging, routes to owners, and notifies gap owners via Slack with per-send confirmation. Loaded by the gaps and comments skills before doing substantive work.
热度
- GitHub 星标
- 9.9k
- 排名
- #12183
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/29
评论
- …
同一仓库的更多技能
ai-inventory
9.9k帮你的智能体按系统维护一份符合欧盟 AI 法案的 AI 工具清单,记录每个系统的角色、风险等级和分类依据。
aia-generation
9.9k帮你的智能体为某个应用场景撰写 AI 影响评估,涵盖风险、监管分类、政策契合度和建议的附加条件。
cold-start-interview
9.9k帮你的智能体通过设置访谈并根据你的政策文件建立实践档案,从而了解你的 AI 治理实践如何运作。
customize
9.9k帮你的智能体修改 AI 治理实践档案中的某一部分,例如风险态度、联系人或政策立场,无需完整重新设置。