policy-diff
Ce qu’il fait
Cette compétence identifie lesquelles de vos politiques internes sont touchées par un changement réglementaire, et ce qui manque à chacune. Elle s'adresse au personnel de conformité qui réagit à une nouvelle règle.
Quand l’utiliser
- ✓Quand une réglementation a changé et que vous devez savoir quelles politiques elle touche.
- ✓Quand un flux réglementaire signale un élément important qui nécessite une revue de politique.
- ✓Quand quelqu'un demande quelle politique une nouvelle règle concerne.
Lien du skill
https://github.com/anthropics/claude-for-legal/blob/main/regulatory-legal/skills/policy-diff/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Cette nouvelle règle sur la vie privée de l'État vient de sortir. Quelles politiques touche-t-elle, et quel est l'écart ?”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
La compétence lit l'index de votre bibliothèque de politiques, extrait les exigences de la réglementation et rattache chacune à la politique qui la couvre. Elle signale l'écart pour chaque exigence et indique quelle politique doit être mise à jour.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
/policy-diff
- Load
~/.claude/plugins/config/claude-for-legal/regulatory-legal/CLAUDE.md→ policy library index. - Use the workflow below.
- Extract requirements from the reg. Match to indexed policies.
- Output: per-requirement gap analysis, which policy needs updating.
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
A reg changed. You have policies. This skill finds which policies the change touches and what the gap is between "what the reg now requires" and "what the policy says."
Load context
~/.claude/plugins/config/claude-for-legal/regulatory-legal/CLAUDE.md → policy library index (policies, locations, owners).
Scope integrity
If the user asks you to exclude a policy section, requirement, or category from the diff:
- Do it — the user owns the scope.
- But flag it, loudly and permanently: "⚠️ SCOPE LIMITATION: Section [X] excluded at user request. This diff does not reflect the full policy. Gaps in the excluded area are NOT identified." Above the header, carried to every downstream artifact.
- Hand the flag to
gap-surfacer: "This diff was scope-limited. Do not represent it as a complete compliance picture." Include the scope-limitation banner verbatim on any gap tracker entry derived from this diff. - Note what the exclusion means: "Excluding vendor management means the diff will show 'no policy addresses vendor management' — which is worse than showing the gap."
A compliance artifact built on an undisclosed scope exclusion looks like concealment in discovery. The flag is the difference between "we scoped the review" and "we hid the problem."
Workflow
Step 0: Verify rule status before you diff
Before diffing a rule against policy, confirm the rule is actually in force. Red flags that the rule may not be in force:
- The applicability/compliance date has passed by more than 30 days but you have no confirmation it wasn't delayed
- The rule is more than 12 months old
- The rule is a politically contentious final rule (major rulemakings are frequently challenged)
When you see a red flag, check (via research MCP, web search if enabled, or the Federal Register docket) for: delays, stays, injunctions, rescission proposals, vacatur, or amendments. If you can check and the rule is confirmed in force, proceed. If you cannot verify (no tools connected), emit this banner ABOVE the header, before any content:
⚠️ RULE STATUS UNVERIFIED — I could not confirm this rule is currently in force. Final rules are frequently stayed, enjoined, delayed, or rescinded after publication. Do not treat any compliance date below as binding until you confirm the rule's status at the Federal Register docket or with outside counsel.
Tag every due date in the output: [due date per published rule — status unverified].
Rule-status uncertainty travels downstream. When handing off a gap to gap-surfacer, mark the item status_verified: false so it never gets routed to an Overdue bucket on the strength of a published date alone.
Step 1: Extract the new requirements
No silent supplement. If the regulatory change text is partial or ambiguous and the fuller rule isn't available from the indexed source, stop and ask. Do NOT fill the gap from web search or model knowledge without asking. Say: "I have [what you have]. To extract requirements accurately I'd need [what's missing]. Options: (1) paste the full text, (2) point me at the primary source, (3) search the web for the rule — results will be tagged [web search — verify] and should be checked against the issuing authority before relying, or (4) stop here. Which would you like?" A lawyer decides whether to accept lower-confidence sources; Claude does not decide for them.
Source attribution. Tag every citation — the regulatory citation, any cross-references, any policy excerpts — wi
Questions fréquentes
A-t-elle besoin de ma bibliothèque de politiques configurée ?
Oui. Elle lit l'index de la bibliothèque de politiques enregistré dans votre fichier de réglages réglementaires.
Que contient le résultat ?
Une analyse des écarts pour chaque exigence, et une note indiquant quelle politique doit être mise à jour.
Modifie-t-elle mes politiques ?
Non. Elle signale les écarts sans modifier les documents de politique.
Détails
Description originale de l’auteur
Diff a specific regulatory change against the indexed policy library. Use when a reg has changed and you need to know which policies it touches and what the gap is, when the user says "diff this reg against our policies", "which policy does this affect", or "gap analysis", or when reg-feed-watcher hands off a material item.
Popularité
- Étoiles GitHub
- 9.9k
- Position au classement
- #12186
- Licence
- Apache-2.0
- Mis à jour
- 29/10/2026
Commentaires
- …
Autres skills de ce dépôt
ai-inventory
9.9kAide votre agent à tenir un inventaire des systèmes d'IA selon l'EU AI Act : rôle, niveau de risque et justification de chaque système.
aia-generation
9.9kAide votre agent à rédiger une évaluation d'impact de l'IA pour un cas d'usage : risques, classement réglementaire, conformité et conditions.
cold-start-interview
9.9kAide votre agent à comprendre votre pratique de gouvernance de l'IA via un entretien de configuration, puis à bâtir un profil à partir de vos politiques.
customize
9.9kAide votre agent à modifier une partie du profil de gouvernance de l'IA, comme la posture de risque ou les contacts, sans tout refaire.
Skills similaires
graincrawl
394kPermet à votre agent de chercher dans vos notes et transcriptions de réunions Granola sauvegardées, de vérifier leur fraîcheur et de les compter sur une période.
notcrawl
394kPermet à votre agent de chercher dans une copie sauvegardée de votre espace Notion, de consulter pages et bases, et d'exporter des pages en Markdown.
knowledge-entities
394kAide votre agent à identifier des personnes, des entreprises et des projets, puis à rédiger pour eux des pages de profil sourcées dans votre coffre Knowledge.