본문으로 건너뛰기
cccskills
무료GitHub에 공개

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(12)

  • SKILL.md14.5 KB
  • assets/assessment_report_template.md7.1 KB
  • README.md1009 B
  • references/hidden_conditions.md8.1 KB
  • references/jurisdiction_inference.md7.9 KB
  • references/linguistic_patterns_de.md9.6 KB
  • references/linguistic_patterns_en.md8.7 KB
  • references/linguistic_patterns_fr.md8.6 KB
  • references/readability_metrics.md8.8 KB
  • references/statutory_duplication.md10.2 KB
  • references/structure_navigation.md7.2 KB
  • references/visual_hierarchy.md6.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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.

When to invoke

Trigger this skill when the user:

  • Shares a legal document (contract, NDA, T&C, privacy policy, employee handbook, court filing, statute, internal policy) in English, French, or German, and asks how well it is drafted.
  • Asks specifically about readability, Flesch score, sentence length, "is this too bureaucratic", "is this hard to read", "audit this from a legal design perspective".
  • Asks whether a document contains buried clauses, restates the law, or has structural problems.
  • Mentions Wydick, Garner, Kimble, Tiersma, Adler, Passera, Haapio, Berger-Walliser, Bhatia, plain-language drafting, layered drafting, contract design, or legal design as a discipline.

Do not invoke this skill for: jurisdiction-specific compliance review (that is a different skill), substantive legal correctness, translation, or drafting of replacement text.

Inputs you need before starting

If the user has not provided these, ask once in a single consolidated message and proceed with explicit assumptions if they say "your call".

  1. The document text. Pasted text, attached file, or URL you can fetch. The audit is performed on the original-language text — never on a machine translation. If the document is in a language outside EN/FR/DE, stop and say the skill does not cover that language.
  2. Document type and audience. "B2C terms of service for end users" reads very differently from "M&A SPA between sophisticated parties". Audience-appropriateness changes the weight of the readability pillar (a consumer T&C scoring 30 on Flesch is a Red; an M&A SPA scoring 30 is the genre baseline).
  3. Layout, if relevant. If the document is a PDF or screenshot with layout, the visual hierarchy pillar applies. If it is plain text, that pillar is skipped (not zero-weighted — skipped, and the remaining five pillars are re-normalised).
  4. Output preference. Default is the full dual-layer report. If the user wants only the score and top three issues, comply.

Workflow

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.

Step 1 — Scope and language detection

  • Detect the document language. If mixed-language (a common case for cross-border contracts), pick the dominant language for the linguistic-pattern analysis and note which clauses are in the other language so they can be assessed in a second pass.
  • Classify the document type at a high level (consumer T&C / B2B contract / employee policy / NDA / privacy notice / court filing / statute / other).
  • Identify the audience (consumer, business, employee, court, general public, professional class).

Step 2 — Jurisdiction inference

Load references/jurisdiction_inference.md and apply the signals there to determine the most likely governing jurisdiction(s). Output:

  • Primary jurisdiction inference (with the signals used).
  • Confidence level: High / Medium / Low / Unknown.
  • If Low or Unknown: state that the statutory-duplication pillar will be assessed at reduced weight or flagged Unverified.

Step 3 — Linguistic patterns

Load the language-specific reference file:

  • English → references/linguistic_patterns_en.md
  • French → references/linguistic_patterns_fr.md
  • German → references/linguistic_patterns_de.md

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

Step 4 — Readability metrics

Load references/readability_metrics.md. Compute the language-appropriate formulas:

  • English: Flesch Reading Ease, Flesch–Kincaid Grade Level, LIX.
  • French: Kandel–Moles adaptation of Flesch (1958), LIX.
  • German: Amstad adaptation of Flesch (1978), Wiener Sachtextformel (Bamberger & Vanecek, 1984), LIX.

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.

Step 5 — Structure and navigation

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.

Step 6 — Hidden conditions

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.

Step 7 — Statutory duplication

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.

Step 8 — Visual hierarchy (if layout is available)

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.

Step 9 — Composite score and report

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.

Composite scoring rubric

Default weights when all six pillars apply:

PillarWeight
Linguistic patterns20%
Readability metrics20%
Structure and navigation15%
Hidden conditions20%
Statutory duplication10%
Visual hierarchy15%

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:

  • 85–100 — Excellent. Document is genuinely user-respecting; few drafting interventions would materially improve it.
  • 70–84 — Good. Document is readable and well-structured but has identifiable legal-design debt.
  • 55–69 — Mixed. Real legal-design problems present; a redrafting pass is warranted.
  • 40–54 — Poor. Document is hard to use; substantial redrafting recommended.
  • 0–39 — Very poor. Document is, in practice, an opacity device rather than a communication.

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

Anti-hallucination rules

Non-negotiable. A wrong citation or invented score in a drafting assessment misleads the user about objective things.

  1. Always quote the source text verbatim when flagging an issue. Quote in the original language; you may translate in parentheses if helpful. If the user has not provided the text and only gave a URL you cannot fetch, stop and request the text.
  2. Never invent a Flesch / LIX / Amstad / WSTF score. Compute it from the formula and the actual counts. Show the counts. If the document is too short for a meaningful score (under ~100 words), say so rather than producing a number.
  3. Never invent a statute citation. If you believe a passage restates a statute but you are not certain of the article, write "Likely restating [Jurisdiction] [Statute] provision on [topic] — verify". Do not produce a fabricated article number.
  4. Mark jurisdiction inference confidence explicitly on every statutory-duplication finding.
  5. Never produce a composite score without the pillar breakdown. The composite is meaningless without its components.
  6. Never score against a translation. If the document is in a language outside EN/FR/DE, stop. If you suspect machine-translated text within an EN/FR/DE document, flag the suspicion and assess at reduced confidence.
  7. No drafting. This skill is assessment-only. Decline any request to produce replacement text, redlines, or a "fixed" version. If the user insists, point them to a different workflow.
  8. Distinguish data from interpretation. Counts (sentence length, passive-voice instances, archaism occurrences) are facts. Pillar scores are interpretations of those facts. Keep them separately labelled in the report.

Output structure

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

Severity tags

Consistent across all pillars:

  • Red / Critical. Pattern is materially obstructing comprehension or hides a material obligation. In a B2C context, would plausibly attract attention under unfair-terms law in the relevant jurisdiction.
  • Amber / Material. Pattern is present and meaningfully degrades the document, but a sophisticated reader would still get through.
  • Yellow / Minor. Drafting habit worth fixing but does not by itself impair use.
  • Green / Compliant. Passage meets the standard.

Examples

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.

Reference files

Load only the files relevant to the current step:

  • references/jurisdiction_inference.md
  • references/linguistic_patterns_en.md
  • references/linguistic_patterns_fr.md
  • references/linguistic_patterns_de.md
  • references/readability_metrics.md
  • references/structure_navigation.md
  • references/hidden_conditions.md
  • references/statutory_duplication.md
  • references/visual_hierarchy.md

Asset files

  • assets/assessment_report_template.md — the mandatory output structure for the final report.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Public-safe preliminary screen for challenges to the impartiality of an AI evaluator, LLM-as-a-judge, decision-support agent, or adjudicative system based on prior outputs, suspected bias, unstable reasoning, or self-reinforcing memory. Use when asked whether an AI should be recused, disqualified, replaced, audited, or escalated. Does not decide real cases or claim that human judicial-recusal doctrine automatically applies.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lawve-ai/awesome-legal-skills8952026년 10월 20일 업데이트

Creates an Agent Authority Charter for enterprise or regulated AI agents before deployment. Use this Skill when a user needs to define what an AI agent is allowed to do, who delegated authority to it, what actions are permitted or prohibited, when human approval is required, what evidence must be preserved, and how the agent can be suspended, revoked, or escalated.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lawve-ai/awesome-legal-skills8952026년 10월 20일 업데이트

EU AI Act Knowledge Engine — authoritative regulatory Q&A grounded in 70 official EU source documents (including the 2026 Commission draft guidelines on Art. 6 high-risk classification — general principles, Annex I, Annex III). Answers any question about the AI Act with article-level citations from the full regulation text, Commission guidelines, EDPB/EDPS opinions, codes of practice, harmonised standards, FRIA guides, incident templates, and sector-specific guidance. This skill should be used when the user asks about the "EU AI Act", "AI Act regulation", "Regulation 2024/1689", "KI-Verordnung", asks to "explain an AI Act article", "what does Article X say", "AI Act requirements", "AI Act penalties", "AI Act timeline", "GPAI obligations", "high-risk AI", "prohibited AI practices", "AI Act and GDPR", "fundamental rights impact assessment", "AI Act standards", "AI Act national implementation", "AI literacy", "serious incident reporting", "Digital Omnibus", "AI regulatory sandbox", or any question about EU artificial intelligence regulation. Also triggers on German terms: "KI-Gesetz", "KI-Verordnung", "Hochrisiko-KI", "KI-Kompetenz", "Grundrechte-Folgenabschaetzung", "GPAI-Verhaltenskodex". For assessment workflows that produce a classification decision rather than a knowledge answer, offer to run a structured risk-tier classification in-session.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lawve-ai/awesome-legal-skills8952026년 10월 20일 업데이트

This skill builds a structured audit trail of an AI-assisted task: what the tool was asked to do, what materials it was given, what it produced, how the output was verified, and what was ultimately relied upon. It documents the workflow for supervision and later review without ruling on privilege or disclosure, so the record stays accurate rather than self-serving.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lawve-ai/awesome-legal-skills8952026년 10월 20일 업데이트

Use this skill when the user wants an AI governance, legal-risk, privacy, compliance, procurement, or vendor-risk review of an internal AI use case, an AI product feature, an LLM workflow, or a third-party AI vendor. The skill asks intake and clarifying questions first when facts or evidence are missing, identifies required documentation and missing evidence, maps the use case to AI governance frameworks and applicable legal domains, and produces a preliminary or final governance review with scorecards, findings, owners, remediation actions, and follow-up questions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lawve-ai/awesome-legal-skills8952026년 10월 20일 업데이트

Turn an interpretive-ambiguity audit of a legal text — contract, statute, regulation, or judicial opinion — into a polished deliverable. Produces a multi-page website (default), a single-page interactive site, a Microsoft Word document, a PowerPoint deck, or a LaTeX/PDF. Use whenever a user has a stress-test result, ambiguity audit, or "where will this be litigated" scenarios and wants to publish, present, or share them. Triggers on "publish the audit," "make a report from this," "turn this into a website / deck / brief / Word doc," "make a Netlify site," "build slides of these ambiguities," "render the scenarios," "package this stress test," "produce a LaTeX version," and similar. Pairs with the ambiguity-stress-test skill (the underlying analysis) but works on any structured or semi-structured ambiguity analysis. Visual design is opinionated but the user can override colors, fonts, and brand label. Most formats need Python and a writable filesystem; single-file HTML works where the host has neither.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lawve-ai/awesome-legal-skills8952026년 10월 20일 업데이트

lawve-ai의 스킬 모두 보기

이 스킬의 문제 신고