policy-diff
ما الذي تفعله
تجد هذه المهارة السياسات الداخلية التي يؤثر فيها تغيير تنظيمي، وما الذي تفتقده كل سياسة. وهي مخصصة لموظفي الامتثال الذين يتفاعلون مع قاعدة جديدة.
متى تستخدمها
- ✓عندما تتغير لائحة وتحتاج إلى معرفة السياسات التي تمسها.
- ✓عندما تنبّه متابعة تنظيمية إلى بند مهم يحتاج إلى مراجعة سياسة.
- ✓عندما يسأل أحد أي سياسة تؤثر فيها قاعدة جديدة.
رابط المهارة
https://github.com/anthropics/claude-for-legal/blob/main/regulatory-legal/skills/policy-diff/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“صدرت للتو قاعدة خصوصية جديدة في الولاية. أي سياساتنا تتأثر بها، وما الفجوة؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تقرأ المهارة فهرس مكتبة سياساتك، وتستخرج المتطلبات من اللائحة، وتطابق كل متطلب بالسياسة التي تغطيه. تعرض الفجوة لكل متطلب، وأي سياسة تحتاج إلى تحديث.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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
الأسئلة الشائعة
هل تحتاج إلى إعداد مكتبة السياسات؟
نعم. تقرأ فهرس مكتبة السياسات المحفوظ في ملف إعداداتك التنظيمية.
ماذا يتضمن الناتج؟
تحليل فجوات لكل متطلب، وملاحظة عن السياسة التي تحتاج إلى تحديث.
هل تغيّر سياساتي؟
لا. تعرض الفجوات ولا تعدّل مستندات السياسة.
التفاصيل
الوصف الأصلي من المؤلف
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.
الشعبية
- نجوم GitHub
- 9.9k
- الترتيب
- #12186
- الترخيص
- 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.