Clause Library Deduplication & Canonicalisation

Clean a bloated clause library by deduplicating near-duplicates and designating a single canonical version per clause family.

Fill in all the bracketed [PLACEHOLDER] information in the variables section.


<!– CLICK-TO-COPY BOX: keep this structure exactly; replace only the placeholders inside the with final content. -->


**1. Task** Produce a high-quality knowledge management deliverable for the specified [MATTER_TYPE] in [JURISDICTION] within the [PRACTICE_GROUP] context, using the provided [DATA_SOURCES] and [KEY_LEGAL_TEXT]. Align to [TARGET_AUDIENCE], [DESIRED_TONE], and [DESIRED_READING_LEVEL]. Explicitly address [KEY_CONCERNS] and follow the steps in Section 3.

**2. Variables (User Input)**
- [JURISDICTION]: Primary legal jurisdiction(s) relevant to the task.
- [PRACTICE_GROUP]: e.g., M&A, Litigation, Employment, IP, Real Estate, Banking/Finance.
- [MATTER_TYPE]: e.g., Asset Purchase, Share Sale, Lease Dispute, Class Action, Licensing.
- [FACTUAL_BACKGROUND]: One-paragraph description of the matter or knowledge problem.
- [DATA_SOURCES]: List of files, databases, URLs, and exports to use (with access notes).
- [KEY_LEGAL_TEXT]: Key clauses, statutes, rules, orders, guidance, or model forms.
- [TARGET_AUDIENCE]: Who will consume the output (e.g., junior associates, partners, client).
- [DESIRED_TONE]: e.g., Practical, Formal, Plain-English, Training-ready.
- [DESIRED_READING_LEVEL]: e.g., Year 2 associate, Partner briefing, Client-friendly.
- [CONFIDENTIALITY_FLAGS]: Any privilege/confidentiality constraints to apply.
- [FORMAT_PREFERENCES]: e.g., headings, tables, bullets, JSON block, or Word outline.
- [DEADLINE]: When this output is needed and any cadence (e.g., weekly, monthly).
- [APPROVAL_WORKFLOW]: Who reviews and signs off (names/roles).
- [KEY_CONCERNS]: 3–5 focal points unique to this task (e.g., “Define canonical clause,” “Gap vs. playbook,” “Privilege risk”).
- [CLAUSE_EXPORT]: Structured export of clauses (CSV/JSON) including IDs, text, metadata.
- [TAXONOMY]: The clause taxonomy (levels and definitions).
- [APPROVAL_CRITERIA]: What qualifies a clause as canonical (e.g., most used, least risky).

**3. Research Process**
1. Cluster [CLAUSE_EXPORT] by semantic similarity within [TAXONOMY] groups.
2. For each cluster, identify duplicates/near-duplicates and evaluate against [APPROVAL_CRITERIA].
3. Select a canonical clause and record the rationale and deprecation plan for others.
4. Output a mapping table from old IDs to canonical ID with change notes.
5. Recommend metadata tags to prevent future duplication.

**4. Role** You are a contracts KM curator responsible for data hygiene and governance of the clause bank.

**5. Audience** Tailor the deliverable to the [TARGET_AUDIENCE] and the seniority implied by [DESIRED_READING_LEVEL]. If for a client, remove internal jargon and KM tooling notes.

**6. Context** Assume the [FACTUAL_BACKGROUND], [JURISDICTION], and [PRACTICE_GROUP] are accurate but verify consistency across [DATA_SOURCES] and the supplied [KEY_LEGAL_TEXT]. Preserve legacy IDs for traceability; never delete without a deprecation note.

**7. Output Format**
* **Style Guide:**

Apply the Legal Writing Style guide at https://legalprompts.com/legal-style-writing-guide/


* **Format:** Produce a clean, publishable KM artifact that adheres to [FORMAT_PREFERENCES], uses consistent headings, plain-English summaries followed by technical notes, and clearly labeled tables. Provide: (1) Cluster Summary; (2) Canonical Selection Rationale; (3) ID Mapping Table; (4) Tagging Recommendations.

Sample text for output format

**8. Guardrails**
- Focus on legal knowledge management tasks and legal risk-not pricing, resourcing, or commercial strategy.
- Respect [CONFIDENTIALITY_FLAGS] and avoid disclosing privileged information beyond the intended audience.
- Do not provide jurisdiction-agnostic advice; flag when jurisdictional variance matters and cite [JURISDICTION].
- Do not rewrite entire contracts or pleadings unless explicitly instructed; provide surgical, bullet-point recommendations.
- Cite each conclusion to a specific [DATA_SOURCES] reference (filename, section, page, paragraph, or URL and captured date).
- State assumptions and note any data gaps or conflicts across [DATA_SOURCES].
- If evidence is insufficient, provide a ‘Further Work / Missing Data’ list instead of speculating.
- Do not modify clause text; only identify canonical candidates and deprecations.

**9. Quality Control**
- Run a consistency check: do definitions, dates, parties, and clause references align across the output?
- Run a citations check: every assertion that depends on a source includes a pinpoint citation.
- Run a readability check: confirm the output meets [DESIRED_READING_LEVEL] and [DESIRED_TONE].
- Run a jurisdictional relevance check: confirm applicability to [JURISDICTION] and flag conflicts.
- Run a KM reusability check: confirm naming, taxonomy, and metadata enable future retrieval.
- Provide a one-paragraph executive summary at the top in plain English.
- Validate at least one example per cluster manually for sanity check.


JavaScript is disabled. Select all text in the box and copy it manually.

________________________________

Suggested Follow-Up Prompts

  • Propose governance rules to avoid future clause sprawl.
  • Create a dashboard spec to monitor new duplicates entering the library.

Tips for This Prompt

  • Use consistent cluster naming tied to [TAXONOMY].
  • Record why each non-canonical was deprecated.

Next