gap-surfacer
Что он делает
Это справочник правил, на которых основаны инструменты пробелов и комментариев. Он гарантирует, что пробелы отслеживаются и передаются ответственным, а никому не пишут без подтверждения. Он нужен юридическим командам, которые ведут работу по пробелам в политиках.
Когда использовать
- ✓Когда агента просят показать открытые пробелы в политиках или их статус.
- ✓Когда пробел нужно назначить ответственному или напомнить ему.
- ✓Когда кто-то просит уведомить ответственных за пробелы в Slack.
Ссылка на скилл
https://github.com/anthropics/claude-for-legal/blob/main/regulatory-legal/skills/gap-surfacer/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Покажи все открытые пробелы в политиках и сообщи ответственным о просроченных.”
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
- Обновлён
- 29.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
ai-inventory
9.9kПомогает агенту вести опись ИИ-систем по каждой системе в рамках EU AI Act: роль, уровень риска и основание классификации.
aia-generation
9.9kПомогает агенту написать оценку влияния ИИ для сценария использования: риски, регуляторная классификация, соответствие политике и рекомендуемые условия.
cold-start-interview
9.9kПомогает агенту понять, как устроена ваша практика управления ИИ, проведя вводное интервью и собрав профиль практики из ваших документов по политике.
customize
9.9kПомогает агенту изменить одну часть профиля практики управления ИИ, например позицию по риску, контакты или позиции по политике, без полной настройки.
Похожие скиллы
graincrawl
394kПозволяет агенту искать в сохраненных заметках и расшифровках встреч Granola, проверять их свежесть и считать за период.
notcrawl
394kПозволяет агенту искать в сохраненной копии рабочего пространства Notion, находить страницы и базы данных и экспортировать страницы в файлы Markdown.
knowledge-entities
394kПомогает агенту определять людей, компании и проекты, а затем писать для них профили с источниками в вашем хранилище Knowledge.