structured-element-extraction
БесплатноБез исполняемых скриптовНе проверенWhen the AI agent must systematically analyze a legal question, case facts, legal provision, or legal relationship, it must first decompose it into a…
от THUYRan★ 1 015 звёзд на GitHubОб этом скилле
Chinese source (authoritative):
../../skills/structured-element-extraction/SKILL.md
07 Structured Element Checklist
I. Overview Table
| Item | Content |
|---|---|
| Capability name | Structured Element Checklist |
| Capability type | Pre-analysis / Quality gate |
| Core function | Decompose a legal question into a complete, mutually exclusive, verifiable element checklist |
| Upstream input | Case facts, legal provisions, user questions, contract text, and other raw materials |
| Downstream output | Verified structured element checklist for legal reasoning, application of law, risk assessment, etc. |
| Key principles | Completeness first (prefer over-listing to omission); exhaust then prune; status-label each item |
| Quality standard | Enter the next stage only after passing the "triple completeness check" |
II. Legal Disclaimer
Important: This skill file is an operational guide for an AI agent and does not constitute legal advice. Extraction of a structured element checklist depends on accurate understanding of the constituent elements of the relevant legal field. In actual legal services, the checklist should be reviewed and confirmed by a licensed legal professional. When outputting an element checklist, the AI agent should clearly label confidence and prompt the user to manually review key elements.
III. Core Concepts
3.1 What Are "Structured Elements"
Structured elements are the result of breaking a legal question into minimal decidable units. Each element should satisfy:
- Atomicity: Cannot be further meaningfully subdivided
- Decidability: Can receive a clear judgment of "satisfied / not satisfied / to be verified"
- Independence: Elements do not logically contain one another (MECE)
- Traceability: Each element can be traced to a specific legal provision or doctrinal basis
3.2 Three Sources of Elements
| Source type | Explanation | Example |
|---|---|---|
| Statutory elements | Constituent requirements expressly provided in law | Four elements of tort under Civil Code Art. 1165 |
| Judicial-interpretation elements | Refinement or supplementation of statutory elements in judicial interpretations | SPC standards for recognizing "经营场所" (business premises) |
| Doctrinal / practice elements | Judgment standards formed in prevailing doctrine or adjudicative practice | Factors for judging "substantial modification" of a contract |
3.3 Element Status Labeling System
Each extracted element must be labeled with one of the following statuses:
| Status | Symbol | Meaning |
|---|---|---|
| Satisfied | ✅ | Existing materials sufficiently prove the element |
| Not satisfied | ❌ | Existing materials clearly show the element is not established |
| To be verified | ⚠️ | Existing materials insufficient to judge; information needed |
| Not applicable | ➖ | The element need not be examined on these facts |
| Disputed | 🔶 | Whether the element is satisfied admits different interpretations |
3.4 MECE in Legal Element Extraction
MECE = Mutually Exclusive, Collectively Exhaustive
- Mutually exclusive: No containment or overlap between any two elements at the same level
- Collectively exhaustive: Together, the elements cover all judgment dimensions of the legal question
Typical MECE violations:
- Listing "fault" and "intent" as same-level elements (containment)
- Omitting "causation" (not exhaustive)
- Mixing "questions of fact" and "questions of law" at the same level (inconsistent classification)
IV. Complete Workflow
Phase 1: Identify Problem Type and Fix the Element Framework
Step 1.1 → Identify the type of legal question
├── Contract disputes (formation, validity, performance, breach, termination)
├── Tort liability (general tort, special tort, product liability, etc.)
├── Crime composition (four-element / three-stratum systems)
├── Administrative acts (five elements of legality review)
├── Procedural matters (jurisdiction, limitation, standing)
└── Other types (by specific field)
Step 1.2 → Retrieve the corresponding standard element framework
- Prefer statutory constituent elements
- If statutory elements unclear, refer to judicial interpretations
- If neither is clear, refer to prevailing doctrine
Step 1.3 → Confirm hierarchical structure of the framework
- Level-1 elements: statutory constituent elements (must all be covered)
- Level-2 elements: refinements of level-1 elements
- Level-3 elements: concrete factual judgment points (optional, by complexity)
Phase 2: Extract and Fill Elements Item by Item
Step 2.1 → Against the framework, extract corresponding facts from raw materials
- Extract each element independently; do not skip
- Quote key sentences from raw
Установить structured-element-extraction в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл structured-element-extraction?
When the AI agent must systematically analyze a legal question, case facts, legal provision, or legal relationship, it must first decompose it into a structured element checklist. Trigger this skill when: - A description of case facts is received and all legal elements must be extracted before analysis - Determining whether a legal relationship is established (e.g., contract formation, tort composition, crime composition) - Comparing similarities and differences among two or more legal facts or provisions - As a pre-quality gate before downstream tasks such as legal reasoning, application of law, or legal advice - The user expressly asks to "list elements," "analyze item by item," or "check for omissions" Core goal: ensure element extraction is complete and without omission, forming a traceable, verifiable structured checklist before allowing the next stage of reasoning. It is the "quality gate" in the legal analysis chain.
Как установить скилл structured-element-extraction?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл structured-element-extraction запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic