legal-due-diligence
Skill0 starsChanged 4 months agoApache-2.0View on GitHub
Plan and perform source-linked legal due diligence across a transaction, vendor, financing, corporate, commercial, employment, IP, privacy, regulatory, litigation, or real-estate document corpus. Use for request lists, VDR inventories, document quality, gap analysis, issue extraction, cross-document checks, risk reports, and launch or closing readiness.
In this repository16 other files it gives its agents.
- ai-product-marketing-reviewSkill
- compliance-privacy-assessmentSkill
- contract-draftingSkill
- contract-obligationsSkill
- contract-redlining-and-negotiationSkill
- contract-reviewSkill
- legal-citation-auditSkill
- legal-intake-and-routingSkill
- legal-meeting-briefingSkill
- legal-quality-gateSkill
- legal-research-memoSkill
- legal-response-draftingSkill
- legal-risk-assessmentSkill
- litigation-draftingSkill
- litigation-preservation-and-discoverySkill
- nda-triageSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create a traceable picture of what is present, missing, inconsistent, risky, and decision-relevant.
- Distinctive: line 24
Check document quality: readability, full pages, signatures, exhibits, amendments, schedules, referenced policies, duplicates, superseded …
- Distinctive: line 27
Check across documents for inconsistent entities, capitalization, authority, ownership, rights, restrictions, consent/change-of-control …
- Very specific: line 32
Run $legal-quality-gate in a fresh review context before consequential deal reliance, disclosure, or closing recommendation.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Legal Due Diligence
Create a traceable picture of what is present, missing, inconsistent, risky, and decision-relevant. Never imply the review is complete beyond the stated scope and cutoff.
Before processing sensitive matter content, verify the configured model service and any required client or engagement AI-use permission. If the first message already contained sensitive content, disclose that the check could not prevent the initial transmission, avoid repeating the content, and stop or re-scope to an authorized redacted or synthetic record while any condition remains unresolved.
Apply the common standard
Read and follow:
- ../../references/legal-work-product-standard.md
- ../../references/authority-and-citation-standard.md for law-dependent conclusions
- references/diligence-framework.md
Workflow
- Confirm transaction or review purpose, represented side, entities, jurisdictions, workstreams, materiality/risk criteria, privilege and clean-team controls, data-room permissions, cutoff date, deliverables, and reviewers.
- Build a request-list and source inventory. Give every item a stable identifier, title, date/version, parties, workstream, execution status, completeness, source location, and access limitation.
- Check document quality: readability, full pages, signatures, exhibits, amendments, schedules, referenced policies, duplicates, superseded versions, inconsistent naming, and broken or inaccessible links.
- Classify request status using evidence: received, partially received, missing, not applicable, superseded, duplicate, unreadable, or clarification required. Do not treat an empty folder or silence as not applicable.
- Review each relevant document under its controlling workflow and capture issues with exact source locations, affected entity, consequence, confidence, owner, remediation, and deal impact.
- Check across documents for inconsistent entities, capitalization, authority, ownership, rights, restrictions, consent/change-of-control clauses, termination, exclusivity, liens, options, IP chain of title, employment/contractor status, privacy/security roles, disputes, and schedules.
- Separate legal risk, factual gap, document-quality defect, operational issue, and commercial decision. Apply
$legal-risk-assessmentwhere prioritization is needed. - Build a remediation and decision tracker for requests, consents, signatures, amendments, disclosures, specialist review, closing conditions, and post-close actions.
- Report scope, population, sampling if any, cutoff, search methods, excluded materials, unresolved access, and source saturation. Do not claim all documents or risks were reviewed unless verified.
- Propose file renaming, moving, index creation, Q&A publication, or VDR changes separately and require exact confirmation before any mutation.
- Run
$legal-quality-gatein a fresh review context before consequential deal reliance, disclosure, or closing recommendation.
Output
Provide the scope/cutoff, source inventory, request tracker, quality report, issue and risk register, cross-document conflicts, remediation/closing-readiness tracker, open questions, and review limitations.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

