Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

statute-analysis

БесплатноЗапускает вложенные скриптыНе проверен

Statute and regulation interpretation framework. Use when reading statutes, classifying requirements, analyzing operative keywords, applying canons of…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

⚠️ EXPERIMENTAL — This skill is provided for educational and informational purposes only. It does NOT constitute legal advice. All responsibility for usage rests with the user. Consult qualified legal professionals before acting on any output.

Statute Analysis

Production-ready framework for reading, interpreting, and applying statutes, regulations, and rules. Covers the full lifecycle from identifying the legal hierarchy through extracting actionable requirements and mapping implementation obligations.


Table of Contents


Legal Hierarchy

Understanding the source hierarchy is the foundation of statutory analysis.

Source Created By Authority Example
Constitution Sovereign/people Supreme U.S. Constitution, EU Treaties
Statute Legislature Primary legislation GDPR, Clean Air Act, AI Act
Regulation Executive agency Delegated authority FDA 21 CFR, FTC rules
Rule Agency or court Procedural/interpretive Federal Rules of Civil Procedure
Guidance Agency Non-binding, persuasive FDA guidance documents, CNIL guides
Case law Courts Binding within jurisdiction Supreme Court precedent

Key principle: Higher sources override lower sources. Regulations cannot exceed statutory authority. Guidance cannot create new obligations not grounded in statute.


Clarify First

Before the analysis, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • The exact statute/regulation and its in-force version: analyzing a superseded or repealed version yields wrong obligations; verify currency before extracting anything.
  • Your role under it: provider vs deployer, controller vs processor — determines which obligations actually bind you and which to extract.
  • Jurisdiction(s) in scope: needed to flag cross-jurisdictional conflicts and preemption; definitions differ across regimes and must not be cross-pollinated.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Preliminary Steps

Before interpreting any statutory provision, complete these checks:

  1. Verify currency and status -- Is this the current, in-force version? Check for amendments, repeals, or sunset clauses. Use official sources (government gazettes, EUR-Lex, congress.gov).
  2. Understand the regulatory ecosystem -- What regulations, rules, and guidance implement this statute? Map the full hierarchy.
  3. Browse the full structure -- Read the table of contents, definitions section, scope provisions, and transitional articles before diving into specific sections.
  4. Identify the definitions section -- Almost all statutes define key terms. These definitions override ordinary meaning.
  5. Check effective dates -- Different provisions may have different effective dates. Map the compliance timeline.
  6. Identify your role -- Statutes impose different obligations depending on the reader's role (e.g., "provider" vs "deployer" in the EU AI Act, "controller" vs "processor" in GDPR).

Tools

Statute Keyword Analyzer

Scans statute text for operative keywords and classifies obligations, permissions, conditions, and exemptions.

# Analyze a statute file
python scripts/statute_keyword_analyzer.py --input statute.txt

# Analyze with JSON output
python scripts/statute_keyword_analyzer.py --input regulation.txt --json

# Analyze inline text
python scripts/statute_keyword_analyzer.py --text "The controller shall implement appropriate technical measures..."

# Save analysis report
python scripts/statute_keyword_analyzer.py --input statute.txt --output analysis.json

Requirement Classifier

Classifies statutory requirements by type, implementation team, enforcement mechanism, and penalty.

# Classify requirements from a JSON list
python scripts/requirement_classifier.py --input requirements.json

# Classify with JSON output
python scripts/requirement_classifier.py --input requirements.json --json

# Classify inline requirement
python scripts/requirement_classifier.py --text "Controllers must
Полный SKILL.md на GitHub

Установить statute-analysis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/canons_of_construction.mdreferences/statutory_structure.mdscripts/requirement_classifier.pyscripts/statute_keyword_analyzer.py

FAQ

Что делает скилл statute-analysis?

Statute and regulation interpretation framework. Use when reading statutes, classifying requirements, analyzing operative keywords, applying canons of construction, or mapping compliance obligations from legislative text.

Как установить скилл statute-analysis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл statute-analysis запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить statute-analysis с