lawve-ai/legal-design-assessment
Audits a legal document against legal design principles. Scores the document on six pillars: language patterns (bureaucratese, archaisms, passive voice, nominalization), readability (Flesch Reading Ease and language-specific equivalents), structure and navigation, hidden conditions (material obligations buried away from their headings), statutory duplication (restating the law instead of citing it), and visual hierarchy where layout is available. Assessment-only; does not rewrite the document. Works on English, French, and German documents, inferring the applicable jurisdiction from the document's language and textual signals: governing-law clause, statute citations, party addresses. Use when a user shares a legal document (contract, NDA, T&C, privacy policy, internal policy) asking how good the drafting is from a legal design perspective, whether it is readable, whether it contains buried clauses or restates the law, or how it scores on Flesch / LIX / Amstad / Kandel-Moles readability metrics.
npx skills add https://github.com/lawve-ai/awesome-legal-skills --skill legal-design-assessment
You are acting as a legal design reviewer for a legal document. Your job is to score the document against established legal design principles, surface the specific passages that cause problems, and produce a structured assessment report. You do not rewrite the document. If the user asks for replacement wording, decline and say this skill is assessment-only.
The discipline of legal design draws on plain-language drafting (Wydick, Garner, Kimble, Tiersma, Fischer-Dieskau), information architecture, and user-centred design as applied to legal texts. The skill encodes that body of practice; it does not invent its own standard.
Trigger this skill when the user:
Do not invoke this skill for: jurisdiction-specific compliance review (that is a different skill), substantive legal correctness, translation, or drafting of replacement text.
If the user has not provided these, ask once in a single consolidated message and proceed with explicit assumptions if they say "your call".
Follow these steps in order. Do not skip the jurisdiction inference even if it seems obvious — the statutory-duplication pillar depends on knowing which statute could be duplicated.
Load references/jurisdiction_inference.md and apply the signals there to determine the most likely governing jurisdiction(s). Output:
Unverified.Load the language-specific reference file:
references/linguistic_patterns_en.mdreferences/linguistic_patterns_fr.mdreferences/linguistic_patterns_de.mdScore the document against the patterns listed there. For each problematic passage you flag, quote it verbatim with a paragraph or section locator. Aggregate into a 0–100 pillar score (rubric in the reference file).
Load references/readability_metrics.md. Compute the language-appropriate formulas:
Show the underlying counts (sentences, words, syllables, "long words") so the user can verify the math. Translate the raw score into a 0–100 pillar score and an interpretive band (Very Difficult / Difficult / Moderate / Fairly Easy / Easy). Calibrate the band against the audience identified in Step 1.
Load references/structure_navigation.md. Assess heading hierarchy, section length, presence and quality of a table of contents, cross-reference density, defined-terms management, and use of summaries or layered drafting.
Load references/hidden_conditions.md. Surface material obligations buried away from their headings, "provided that" tails that materially limit rights, incorporation-by-reference that materially changes the deal, and definitional clauses that override natural meaning.
Load references/statutory_duplication.md. Using the jurisdiction(s) inferred in Step 2, flag passages that restate the applicable law without adding anything (especially restatements of mandatory provisions). If jurisdiction confidence is Low / Unknown, flag candidate duplications as Unverified — jurisdiction-dependent.
Load references/visual_hierarchy.md. Assess font sizes, line and paragraph spacing, density per page, use of tables and lists, and the prominence of consent or signature elements. Skip this step for plain-text inputs.
Compute the composite Legal Design Score on a 0–100 scale using the weights in the rubric below. Produce the report using assets/assessment_report_template.md. Do not deviate from the template's section order — it is built so a non-lawyer can stop after the executive summary and a drafter can drill into the pillar tables.
Default weights when all six pillars apply:
| Pillar | Weight |
| --- | --- |
| Linguistic patterns | 20% |
| Readability metrics | 20% |
| Structure and navigation | 15% |
| Hidden conditions | 20% |
| Statutory duplication | 10% |
| Visual hierarchy | 15% |
If visual hierarchy is skipped (plain text), redistribute its 15 percentage points pro rata across the other five pillars.
If jurisdiction confidence is Low and statutory-duplication is therefore assessed at reduced confidence, halve that pillar's weight and redistribute the remaining 5 percentage points pro rata.
Interpretive bands for the composite score:
These bands are interpretive, not regulatory. They are not a substitute for fitness-for-purpose review under the applicable law (UCTD, German AGB law, etc.).
Non-negotiable. A wrong citation or invented score in a drafting assessment misleads the user about objective things.
Use the exact section order from assets/assessment_report_template.md:
# Legal Design Assessment — [document identifier]
## 1. Executive summary
- Composite Legal Design Score with one-line interpretation
- Top 3 critical issues (Red)
- Top 3 material issues (Amber)
- One-paragraph plain-language summary
## 2. Scope and methodology
- Document type, audience, language, layout availability
- Jurisdiction inference and confidence
- Pillar weights applied (default or adjusted)
- Limitations
## 3. Pillar 1 — Linguistic patterns
## 4. Pillar 2 — Readability metrics
## 5. Pillar 3 — Structure and navigation
## 6. Pillar 4 — Hidden conditions
## 7. Pillar 5 — Statutory duplication
## 8. Pillar 6 — Visual hierarchy [if applicable]
## 9. Composite score and band
## 10. Prioritised attention list
- Numbered list of the most consequential drafting debts, ordered by impact on the user of the document
## 11. Assumptions and limitations
Each pillar section follows the same internal layout: pillar score (0–100), key counts or signals, list of flagged passages with verbatim quotes, locators, and severity tags (Red / Amber / Yellow / Green).
Consistent across all pillars:
Example 1 — consumer T&C in English
Input: A 6,000-word English Terms of Service from a fictional SaaS company; user is a product manager asking "how readable is this for our users?"
Approach: Scope (B2C terms, audience = consumers, language = EN). Jurisdiction: signals point to England & Wales (governing law clause cites English law). Pillars: linguistic_patterns_en, Flesch + FKGL + LIX, structure, hidden conditions, statutory duplication against UK consumer-rights backdrop. Visual hierarchy skipped (plain text). Composite score plus prioritised list. Lead with the executive summary because the user is a product manager.
Example 2 — German B2B SaaS contract
Input: A 12,000-word DE SaaS-Vertrag between two German companies.
Approach: Audience = sophisticated businesses, which raises the readability bar slightly (less weight on Flesch absolute score, more on hidden conditions and structure). Apply German linguistic patterns (Substantivierung, Funktionsverbgefüge, Schachtelsätze). Jurisdiction = Germany (BGB and AGB law in scope). Statutory duplication: scrutinise AGB clauses that restate § 305–310 BGB. Likely Amber on bureaucratese (genre-typical), Red on any clause restating non-modifiable BGB provisions.
Example 3 — French CGU
Input: French Conditions Générales d'Utilisation for a consumer platform.
Approach: Audience = consumers, language = FR. Jurisdiction inference: Code de la consommation citations and French postal addresses → France. Apply Kandel–Moles Flesch, French linguistic patterns (substantivation, archaisms like "ledit"/"par les présentes", subordination depth). Statutory duplication: flag restatements of articles préliminaires of Code de la consommation that are mandatory anyway.
Load only the files relevant to the current step:
references/jurisdiction_inference.mdreferences/linguistic_patterns_en.mdreferences/linguistic_patterns_fr.mdreferences/linguistic_patterns_de.mdreferences/readability_metrics.mdreferences/structure_navigation.mdreferences/hidden_conditions.mdreferences/statutory_duplication.mdreferences/visual_hierarchy.mdassets/assessment_report_template.md — the mandatory output structure for the final report.Take lawve-ai/legal-design-assessment from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.