statute-analysis

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
⚠️ 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.
SourceCreated ByAuthorityExample
ConstitutionSovereign/peopleSupremeU.S. Constitution, EU Treaties
StatuteLegislaturePrimary legislationGDPR, Clean Air Act, AI Act
RegulationExecutive agencyDelegated authorityFDA 21 CFR, FTC rules
RuleAgency or courtProcedural/interpretiveFederal Rules of Civil Procedure
GuidanceAgencyNon-binding, persuasiveFDA guidance documents, CNIL guides
Case lawCourtsBinding within jurisdictionSupreme Court precedent
Key principle: Higher sources override lower sources. Regulations cannot exceed statutory authority. Guidance cannot create new obligations not grounded in statute.

理解法律来源的层级是法规分析的基础。
来源制定主体权威性示例
宪法主权体/人民最高美国宪法、欧盟条约
成文法规立法机构一级立法GDPR、《清洁空气法》、《AI法案》
行政规章行政机关授权立法FDA 21 CFR、FTC规则
规程机关或法院程序/解释性《联邦民事诉讼规则》
指引文件行政机关无约束力,仅具说服力FDA指引文件、CNIL指南
判例法法院在管辖范围内具有约束力最高法院先例
核心原则: 高阶来源优先于低阶来源。行政规章不得超越法规授权。指引文件不得创设未基于法规的新义务。

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).

解读任何法规条款前,请完成以下检查:
  1. 验证时效性与效力状态 — 这是当前生效版本吗?检查修正案、废止条款或日落条款。使用官方来源(政府公报、EUR-Lex、congress.gov)。
  2. 理解监管生态 — 哪些规章、规程和指引文件是本法规的配套实施文件?梳理完整的层级关系。
  3. 浏览整体结构 — 在深入具体章节前,先阅读目录、定义部分、范围条款及过渡条款。
  4. 定位定义章节 — 几乎所有法规都会定义关键术语。这些定义优先于普通含义。
  5. 核查生效日期 — 不同条款可能有不同的生效日期。梳理合规时间线。
  6. 明确自身角色 — 法规会根据读者的角色施加不同义务(例如,欧盟《AI法案》中的“提供者”vs“部署者”,GDPR中的“控制者”vs“处理者”)。

Tools

工具

Statute Keyword Analyzer

法规关键词分析器

Scans statute text for operative keywords and classifies obligations, permissions, conditions, and exemptions.
bash
undefined
扫描法规文本,识别关键操作术语,并对义务、许可、条件及豁免进行分类。
bash
undefined

Analyze a statute file

分析法规文件

python scripts/statute_keyword_analyzer.py --input statute.txt
python scripts/statute_keyword_analyzer.py --input statute.txt

Analyze with JSON output

生成JSON格式输出

python scripts/statute_keyword_analyzer.py --input regulation.txt --json
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..."
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
undefined
python scripts/statute_keyword_analyzer.py --input statute.txt --output analysis.json
undefined

Requirement Classifier

要求分类器

Classifies statutory requirements by type, implementation team, enforcement mechanism, and penalty.
bash
undefined
按类型、实施团队、执行机制及处罚方式对法规要求进行分类。
bash
undefined

Classify requirements from a JSON list

对JSON列表中的要求进行分类

python scripts/requirement_classifier.py --input requirements.json
python scripts/requirement_classifier.py --input requirements.json

Classify with JSON output

生成JSON格式输出

python scripts/requirement_classifier.py --input requirements.json --json
python scripts/requirement_classifier.py --input requirements.json --json

Classify inline requirement

分析内联要求

python scripts/requirement_classifier.py --text "Controllers must provide data subjects with a privacy notice at the point of collection"
python scripts/requirement_classifier.py --text "Controllers must provide data subjects with a privacy notice at the point of collection"

Generate implementation matrix

生成实施矩阵

python scripts/requirement_classifier.py --input requirements.json --output matrix.json

---
python scripts/requirement_classifier.py --input requirements.json --output matrix.json

---

Core Interpretation Techniques

核心解读技巧

Definitions Analysis

定义分析

Statutory definitions control meaning. Pay attention to the verb used:
VerbTypeMeaningExample
"means"ExhaustiveThe definition is complete; no other meaning applies"'Personal data' means any information relating to an identified or identifiable natural person"
"includes"IllustrativeThe definition provides examples but is not limited to them"'Processing' includes collection, recording, organization, structuring..."
"does not include"ExclusionExplicitly carves out items from scope"'Consumer' does not include a natural person acting in a commercial or employment context"
"refers to"PointerIncorporates an external definition"'Harmonised standard' refers to a European standard as defined in Regulation (EU) No 1025/2012"
法规定义决定术语含义。注意定义中使用的动词:
动词类型含义示例
"means"穷尽式定义完整,无其他含义适用"'Personal data' means any information relating to an identified or identifiable natural person"
"includes"示例式定义仅提供示例,不限于所列内容"'Processing' includes collection, recording, organization, structuring..."
"does not include"排除式明确将某些内容排除在范围外"'Consumer' does not include a natural person acting in a commercial or employment context"
"refers to"指向式纳入外部定义"'Harmonised standard' refers to a European standard as defined in Regulation (EU) No 1025/2012"

Operative Keywords

关键操作术语

KeywordClassificationLegal Effect
shallMandatoryCreates an obligation; must be done
mustMandatorySame as "shall" in modern drafting
mayPermissiveCreates permission; optional
may notProhibitiveCreates a prohibition
andConjunctiveAll listed items required
orDisjunctiveAny listed item sufficient
unlessExceptionNegates the rule when condition is met
exceptExceptionCarves out specific items from the rule
subject toConditionalRule applies but another provision modifies it
notwithstandingOverrideThis provision prevails over conflicting provisions
provided thatConditionAdds a requirement that must be satisfied
if...thenConditionalTrigger condition and consequence
uponTemporal triggerAction required when event occurs
术语分类法律效力
shall强制性创设义务,必须执行
must强制性在现代立法中与“shall”含义相同
may许可性创设许可,可选择执行
may not禁止性创设禁令
and并列性所列所有项均需满足
or选择性满足所列任意一项即可
unless例外性当条件满足时,规则不适用
except例外性将特定内容从规则中排除
subject to条件性规则适用,但受另一条款修改
notwithstanding优先性本条款优先于冲突条款
provided that条件性添加必须满足的要求
if...then条件性触发条件及相应后果
upon时间触发事件发生时需采取行动

Conjunctive vs Disjunctive Analysis

并列与选择分析

This distinction determines whether ALL conditions must be met or ANY single condition suffices.
PatternReadingPractical Impact
"A, B, and C"All three requiredMust satisfy every element
"A, B, or C"Any one sufficientSatisfy any single element
"A, B, and/or C"AmbiguousFlag for clarification; analyze context
"both A and B"Explicitly conjunctiveMust satisfy both
"either A or B"Explicitly disjunctiveSatisfy one
Serial comma ambiguityContext-dependentApply whole-act rule for consistency

这一区别决定了是否需要满足所有条件,还是仅需满足任意单个条件。
模式解读方式实际影响
"A, B, and C"需满足全部三项必须符合每一项要素
"A, B, or C"满足任意一项即可只需符合其中一项要素
"A, B, and/or C"含义模糊标记待澄清,结合上下文分析
"both A and B"明确并列必须同时满足两项
"either A or B"明确选择满足其中一项即可
序列逗号歧义依赖上下文运用整体法案规则保持一致性

Canons of Construction

法律解释准则

See
references/canons_of_construction.md
for the complete 12-canon reference.
完整的12项准则参考请见
references/canons_of_construction.md

Quick Reference

快速参考

CanonCore RuleWhen to Apply
General-Terms CanonGeneral terms get general meaningDefault interpretation
Expressio UniusExpressing one thing excludes othersSpecific lists without catchall
Whole-Act RuleInterpret provisions consistentlyApparent conflicts between sections
Consistent UsageSame term = same meaning throughoutTerm appears multiple times
Meaningful VariationDifferent terms = different meaningsSimilar but distinct terms used
Surplusage CanonEvery word has meaning; no redundancyTempted to treat words as surplus
Noscitur a SociisWords known by their associatesAmbiguous term in a list
Ejusdem GenerisGeneral follows specific = limited"...and other similar" patterns
Against IneffectivenessPrefer reading that gives effectTwo possible readings
Avoiding AbsurdityReject absurd outcomesLiteral reading produces nonsensical result
Remedial StatutesConstrue liberallyConsumer protection, safety statutes
Rule of LenityAmbiguity favors the regulated partyCriminal or penalty provisions

准则核心规则适用场景
一般术语准则一般术语取普通含义默认解读方式
明示排除默示准则列明一项即排除其他无兜底条款的具体列表
整体法案规则解读条款需保持一致章节间存在明显冲突
一致用法规则同一术语含义始终一致术语多次出现
差异含义规则不同术语含义不同使用相似但有区别的术语
无冗余准则每个字词均有意义,无多余内容试图将某些字词视为冗余时
同类解释准则术语含义由其上下文关联项决定列表中存在模糊术语
同类延伸准则一般术语跟随特定术语,含义受限出现“……及其他类似”的表述
有效解读准则优先选择能赋予条款效力的解读存在两种可能的解读方式
避免荒谬准则拒绝荒谬的解读结果字面解读会产生无意义的结果
救济性法规宽松解读准则宽松解读救济性法规消费者保护、安全类法规
从宽解释准则模糊条款有利于被监管方刑事或处罚类条款

Interpretation Sources

解读依据

When statutory text is ambiguous, consult sources in this order:
PrioritySourceWeightWhere to Find
1Statutory text itselfControllingOfficial gazette, codified law
2Definitions sectionControllingUsually first articles/sections
3Legislative purpose (recitals, preamble)StrongPreamble, "Whereas" clauses
4Canons of constructionStrongLegal treatises, case law
5Case law interpreting the provisionStrong-to-moderateCourt databases
6Agency regulations implementing statuteModerateAgency websites, CFR
7Agency guidance and FAQsPersuasive onlyAgency websites
8Legislative historyWeak (varies by jurisdiction)Congressional record, Hansard
9Academic commentaryPersuasive onlyLegal journals

当法规文本存在歧义时,按以下优先级参考依据:
优先级来源权重获取渠道
1法规文本本身具有约束力官方公报、编纂法律
2定义章节具有约束力通常位于开篇条款
3立法目的(叙言、序言)权重高序言、“鉴于”条款
4法律解释准则权重高法律专著、判例法
5解读该条款的判例法权重高至中等法院数据库
6实施法规的行政规章权重中等机关网站、CFR
7行政指引及常见问题仅具说服力机关网站
8立法历史权重低(因司法管辖区而异)国会记录、Hansard
9学术评论仅具说服力法律期刊

Requirement Classification

要求分类

Every statutory requirement maps to an implementation category:
TypeDescriptionTypical OwnerExample
DisclosureInformation must be provided to someoneLegal / CompliancePrivacy notice requirements
OperationalProcess or procedure must existOperations / ComplianceRecord-keeping obligations
TechnicalSystem capability or safeguard requiredEngineeringEncryption, access controls
UI/DesignUser interface must include specific elementsProduct / DesignConsent mechanisms, opt-out buttons
OrganizationalGovernance structure or role requiredManagement / HRAppointing a DPO, board oversight
DocumentationWritten records must be maintainedLegal / ComplianceImpact assessments, audit trails
ReportingInformation must be submitted to authorityLegal / ComplianceBreach notification, annual reports

每项法规要求都对应一个实施类别:
类型描述典型负责方示例
披露需向特定对象提供信息法务/合规部隐私告知要求
运营需建立流程或程序运营/合规部记录留存义务
技术需具备系统能力或保障措施工程部加密、访问控制
UI/设计用户界面需包含特定元素产品/设计部同意机制、退订按钮
组织需建立治理结构或角色管理层/人力资源部任命DPO、董事会监督
文档需留存书面记录法务/合规部影响评估、审计轨迹
报告需向主管机关提交信息法务/合规部数据泄露通知、年度报告

Cross-Jurisdictional Analysis

跨司法管辖区分析

When requirements from multiple jurisdictions apply:
  1. Map applicable jurisdictions -- Where are your users, your entity, and your data?
  2. Identify overlapping requirements -- Many frameworks share common obligations.
  3. Find the highest common denominator -- Design for the strictest requirement that satisfies all jurisdictions.
  4. Flag conflicts -- Where requirements genuinely conflict, document the conflict and seek legal advice.
  5. Check preemption -- Federal law may preempt state law; EU regulations may preempt member state law.

当多个司法管辖区的要求同时适用时:
  1. 梳理适用的司法管辖区 — 你的用户、实体及数据位于何处?
  2. 识别重叠要求 — 许多框架共享通用义务。
  3. 找到最高共同标准 — 按最严格的要求设计,以满足所有司法管辖区。
  4. 标记冲突点 — 若要求确实存在冲突,记录冲突并寻求法律建议。
  5. 核查优先效力 — 联邦法律可能优先于州法律;欧盟规章可能优先于成员国法律。

Enforcement Analysis

执行分析

For each statutory requirement, assess enforcement risk:
FactorAssessment Questions
Enforcement authorityWhich agency enforces? How active are they?
Penalty typesCivil fines, criminal penalties, administrative sanctions?
Penalty severityFixed amounts, percentage of turnover, per-violation?
Cure periodsIs there a right to cure before penalties apply?
Private right of actionCan individuals sue for violations?
Enforcement historyHas this provision been actively enforced?
Regulatory guidanceHas the agency clarified enforcement priorities?

针对每项法规要求,评估执行风险:
因素评估问题
执行机关由哪个机关执行?其执行活跃度如何?
处罚类型是否有民事罚款、刑事处罚、行政制裁?
处罚严重程度固定金额、营业额百分比、按违规次数计算?
整改期处罚前是否有整改权利?
私人诉权个人能否因违规提起诉讼?
执行历史该条款是否被积极执行过?
监管指引机关是否明确了执行优先级?

Reference Guides

参考指南

GuidePathDescription
Canons of Construction
references/canons_of_construction.md
12 canons with definitions, examples, and misapplication warnings
Statutory Structure
references/statutory_structure.md
How statutes are organized, effective dates, preemption, enforcement

指南路径描述
法律解释准则
references/canons_of_construction.md
12项准则,含定义、示例及误用警示
法规结构
references/statutory_structure.md
法规的组织方式、生效日期、优先效力、执行机制

Workflows

工作流程

Workflow 1: First Reading of a New Statute

流程1:新法规初读

  1. Browse the full table of contents and structure.
  2. Read the definitions section and scope provisions.
  3. Check effective dates and transitional provisions.
  4. Identify your role under the statute.
  5. Run
    scripts/statute_keyword_analyzer.py
    on the full text.
  6. Review the obligation/permission/exception map.
  7. Identify provisions that apply to your role.
  8. Validation: Definitions cataloged, role identified, key obligations listed.
  1. 浏览完整目录及结构。
  2. 阅读定义章节及范围条款。
  3. 核查生效日期及过渡条款。
  4. 明确自身在法规中的角色。
  5. 对全文运行
    scripts/statute_keyword_analyzer.py
  6. 审查义务/许可/例外映射表。
  7. 识别适用于自身角色的条款。
  8. 验证: 已梳理所有定义、明确角色、列出关键义务。

Workflow 2: Requirement Extraction and Classification

流程2:要求提取与分类

  1. Extract all provisions containing "shall," "must," or mandatory language.
  2. For each requirement, identify: who (subject), what (action), when (trigger/deadline), how (standard).
  3. Run
    scripts/requirement_classifier.py
    on the extracted requirements.
  4. Review the implementation matrix.
  5. Assign each requirement to an implementation team.
  6. Prioritize by enforcement risk and deadline.
  7. Validation: Every mandatory provision classified, assigned, and prioritized.
  1. 提取所有包含“shall”“must”或强制性表述的条款。
  2. 针对每项要求,明确:主体(谁)、动作(做什么)、触发条件/截止日期(何时)、标准(怎么做)。
  3. 对提取的要求运行
    scripts/requirement_classifier.py
  4. 审查实施矩阵。
  5. 将每项要求分配给对应实施团队。
  6. 按执行风险及截止日期排序优先级。
  7. 验证: 所有强制性条款均已分类、分配并确定优先级。

Workflow 3: Cross-Reference Resolution

流程3:交叉引用解析

  1. Identify all cross-references in the target provision ("subject to Article X," "as defined in Section Y").
  2. Read each referenced provision in full.
  3. Determine whether the cross-reference modifies, limits, or supplements the target provision.
  4. Check for circular references or chains (A references B which references C).
  5. Document the complete picture -- the target provision as modified by all cross-references.
  6. Validation: All cross-references resolved; no orphan references.

  1. 识别目标条款中的所有交叉引用(“受第X条约束”“如第Y节所定义”)。
  2. 完整阅读每个被引用的条款。
  3. 确定交叉引用是否修改、限制或补充目标条款。
  4. 检查是否存在循环引用或链式引用(A引用B,B引用C)。
  5. 记录完整内容 — 即经所有交叉引用修改后的目标条款。
  6. 验证: 所有交叉引用均已解析,无孤立引用。

Troubleshooting

故障排查

ProblemLikely CauseResolution
Term not defined in statuteLegislature used ordinary meaningApply general-terms canon; check case law for judicial definitions
"And/or" ambiguityDrafting imprecisionCheck legislative history; apply whole-act rule; flag for legal review
Conflicting provisionsLater provision may override earlierCheck for "notwithstanding" clauses; apply later-in-time rule
Undefined thresholdDelegated to regulationCheck implementing regulations and agency guidance
Provision seems to have no effectMay be transitional or placeholderCheck effective dates and amendment history
Cross-reference to repealed sectionStatute not updated after amendmentCheck saving clauses; apply presumption against ineffectiveness

问题可能原因解决方案
法规中未定义某术语立法机构使用了普通含义运用一般术语准则;核查判例法中的司法定义
“And/or”含义模糊起草不够精准核查立法历史;运用整体法案规则;标记待法律审查
条款冲突后出台的条款可能优先于先出台的检查是否有“notwithstanding”条款;运用后法优先规则
阈值未定义授权给规章明确核查配套实施规章及机关指引
条款似乎无效力可能是过渡性或占位条款核查生效日期及修正案历史
引用已废止章节法规修订后未更新核查保留条款;运用避免无效解读的推定

Success Criteria

成功标准

CriterionTarget
All defined terms cataloged100% of definitions section mapped
Obligations extractedEvery "shall/must" provision identified
Requirements classifiedEach requirement has type, owner, enforcement, and priority
Cross-references resolvedNo unresolved references remain
Enforcement risk assessedEvery material obligation has enforcement analysis
Implementation matrix completeRequirements mapped to teams with timelines

标准目标
已梳理所有定义术语100%覆盖定义章节内容
已提取所有义务识别所有含“shall/must”的条款
已分类所有要求每项要求均有类型、负责方、执行方式及优先级
已解析所有交叉引用无未解决的引用
已评估所有执行风险所有重大义务均已完成执行分析
实施矩阵完整要求已映射至对应团队及时间线

Scope & Limitations

范围与局限性

In scope: Reading and interpreting statutory text, extracting requirements, classifying obligations, applying canons of construction, mapping enforcement risk.
Out of scope: Providing legal advice, predicting court outcomes, drafting legislation, interpreting case law holdings, constitutional analysis.
Disclaimer: This skill provides a structured methodology for statutory analysis. It does not constitute legal advice. Always consult qualified legal counsel for binding interpretations.

涵盖范围: 阅读与解读法规文本、提取要求、分类义务、运用法律解释准则、梳理执行风险。
不涵盖范围: 提供法律建议、预测法院判决结果、起草立法、解读判例法结论、宪法分析。
免责声明: 本技能提供法规分析的结构化方法,不构成法律建议。如需具有约束力的解读,请始终咨询合格的法律顾问。

Anti-Patterns

反模式

Anti-PatternWhy It FailsBetter Approach
Reading a section in isolationStatutes are interconnected; isolated reading misses cross-references, definitions, and scope limitationsAlways read definitions, scope, and cross-referenced provisions before interpreting
Treating guidance as lawAgency guidance is non-binding and can change; building compliance solely on guidance creates riskUse guidance to inform interpretation but anchor compliance to statutory text
Ignoring "what the statute doesn't say"Silence can mean permission, delegation, or an oversight; assuming the statute covers everything leads to compliance gapsAffirmatively check: does the statute address this scenario? If not, analyze why and what fills the gap
Applying one jurisdiction's interpretation to another"Personal data" in GDPR is not identical to "personal information" in CCPA; cross-pollinating definitions creates errorsAnalyze each statute independently using its own definitions and interpretive framework
Skipping the definitions sectionStatutory definitions override ordinary meaning; missing them leads to fundamental misreadingsAlways read the definitions section first, before any substantive analysis

反模式失败原因更佳方案
孤立阅读某章节法规条款相互关联;孤立阅读会遗漏交叉引用、定义及范围限制解读前始终先阅读定义、范围及交叉引用的条款
将指引文件视为法律行政指引无约束力且可能变更;仅基于指引构建合规体系会产生风险用指引辅助解读,但需以法规文本为合规核心
忽略“法规未提及的内容”沉默可能意味着许可、授权或疏漏;假设法规涵盖所有场景会导致合规缺口主动核查:法规是否涉及该场景?若未涉及,分析原因及填补缺口的依据
将一个司法管辖区的解读套用至另一个GDPR中的“Personal data”与CCPA中的“personal information”含义不同;交叉套用定义会引发错误独立分析每项法规,使用其自身定义及解读框架
跳过定义章节法规定义优先于普通含义;遗漏定义会导致根本性误读始终先阅读定义章节,再进行任何实质性分析

Tool Reference

工具参考

ToolInputOutputUse Case
statute_keyword_analyzer.py
Statute text file or inline textObligation/permission/exception mapFirst pass analysis of any legislative text
requirement_classifier.py
List of requirements (text or JSON)Implementation matrix with types, teams, enforcementConverting statutory obligations to actionable implementation tasks
工具输入输出使用场景
statute_keyword_analyzer.py
法规文本文件或内联文本义务/许可/例外映射表对任何立法文本进行初步分析
requirement_classifier.py
要求列表(文本或JSON格式)含类型、负责团队、执行方式的实施矩阵将法规义务转化为可执行的实施任务