Legal · overview
Legal Domain Overview
A five-phase Legal Lifecycle Framework with 35 skills for legal document generation, compliance, and governance.
The Legal plugin follows the Legal Lifecycle Framework in five phases: assess, draft, review, comply and govern. It assesses risk, drafts documents such as terms of service and NDAs, reviews contracts and tracks obligations over time. Each phase writes a numbered file to .singularskills/legal/<topic>/.
The Five Phases
| Phase | Command Prefix | Purpose |
|---|---|---|
| Assess | /legal-legal-audit, etc. | Audit, risk assessment, regulatory mapping, jurisdiction analysis |
| Draft | /legal-terms-of-service, etc. | Generate legal documents — contracts, policies, agreements |
| Review | /legal-contract-review, etc. | Analyze contracts, detect red flags, prepare for negotiation |
| Comply | /legal-gdpr-compliance, etc. | Ensure regulatory compliance — GDPR, CCPA, SOC 2, accessibility |
| Govern | /legal-contract-tracker, etc. | Track contracts, monitor compliance, maintain legal playbooks |
The Legal Lifecycle
The methodology follows a structured legal operations lifecycle:
Assess (Phase 0): Understand the current legal landscape — audit existing documents, assess risks, map regulations, and analyze jurisdictional requirements before any drafting.
Draft (Phase 1): Generate legal documents — terms of service, privacy policies, NDAs, SaaS agreements, employment contracts, and other key documents.
Review (Phase 2): Analyze drafted or existing contracts — review clauses, detect red flags, prepare negotiation strategies, and check IP and compliance concerns.
Comply (Phase 3): Ensure regulatory compliance — implement GDPR and CCPA requirements, create data processing agreements, and prepare for audits.
Govern (Phase 4): Maintain ongoing legal operations — track contracts, monitor compliance changes, stay current on regulatory updates, and train teams.
Artifact Flow
Each phase reads from previous phases and writes to .singularskills/legal/<topic>/:
.singularskills/legal/product-launch/
00-assess.md ← Assess phase output
01-draft.md ← Draft phase output
02-review.md ← Review phase output
03-comply.md ← Comply phase output
04-govern.md ← Govern phase outputUtility Skills
Four utility skills work across all phases without prerequisites:
/legal-legal-research— Research legal precedents and regulatory frameworks/legal-clause-library— Maintain a reusable library of legal clauses/legal-decision-memo— Document legal decisions and rationale/legal-legal-glossary— Generate glossaries of legal terms for stakeholders
Quality Gates
The skills enforce phase ordering:
- Gates: each later phase's skill runs its
scripts/gate.shfirst and stops if a required earlier artifact (such as the Assess artifact) is missing - You can bypass with
--skip-checkswhen needed (logged as askippedevent in.singularskills/log.jsonl) - Utility skills have no prerequisites
Important Disclaimer
All content generated by the Legal plugin is AI-generated and intended for informational and drafting assistance purposes only. It does not constitute legal advice. Always have qualified legal counsel review any documents before use in production or legal proceedings.