Skill: Document Draftor
Generate legal agreements from templates with variable substitution and compliance validation.
When to activate
When user runs /draft-agreement or requests a new agreement be created from a template.
When NOT to use
- Do not use for novel legal structures or complex custom agreements.
- Do not draft agreements without explicit user request or regulatory validation.
- Do not bypass compliance checks — all drafts must pass compliance validation before release.
Instructions
Request agreement details:
- Agreement type (NDA, SLA, MSA, License, etc.)
- Parties (names, addresses, legal entities)
- Effective date
- Key terms (duration, fees, renewal, termination)
- Any special clauses or requirements
Select or request template:
- Use organization's standard template for agreement type
- If no template, request user provide one or confirm framework
- Document template source
Variable substitution:
- Replace all placeholders with actual values
- Format all dates as ISO 8601 (YYYY-MM-DD)
- Ensure consistency across all references (e.g., party names)
- Use proper legal formatting (section numbering, table of contents)
Add required compliance clauses:
- If data processing: GDPR Data Processing Agreement language
- If security-critical: SOC 2 Type II compliance clauses
- If information security: ISO 27001 controls reference
- Unsubscribe/opt-out language (if applicable)
Validate compliance:
- Run compliance check on draft before presenting
- Flag any regulatory gaps or required amendments
- Return compliance status: COMPLIANT / CONDITIONAL / NON-COMPLIANT
Format final draft:
- Professional legal document formatting
- Clear section numbering and cross-references
- Signature blocks for all parties
- Appendices for exhibits or schedules
Present for human review:
- Show draft with compliance status
- Highlight key terms and dates
- List any amendments or custom clauses
- Request human approval before release
Log to session-log.md with draft version and status.
Example
Input: Request NDA from template
/draft-agreement
Type: NDA
Party A: Example Corp (San Francisco, CA)
Party B: Vendor LLC (Austin, TX)
Effective: 2026-06-13
Duration: 2 years
Auto-Renewal: No
Output:
## Document Draft: Mutual NDA
**Parties:** Example Corp and Vendor LLC
**Effective Date:** 2026-06-13
**Term:** 2 years
**Auto-Renewal:** No
**Compliance Status:** COMPLIANT
---
# MUTUAL NON-DISCLOSURE AGREEMENT
This Mutual Non-Disclosure Agreement ("Agreement") is entered into as of June 13, 2026 ("Effective Date"), by and between Example Corp, a corporation organized in California ("Party A"), and Vendor LLC, a corporation organized in Texas ("Party B").
## 1. CONFIDENTIAL INFORMATION
1.1 "Confidential Information" means all non-public information disclosed by either party that is marked as confidential or reasonably understood to be confidential.
1.2 Exclusions:
- Information publicly available through no breach of this Agreement
- Information independently developed without reference to Confidential Information
- Information rightfully received from third parties without confidentiality obligations
## 2. OBLIGATIONS
2.1 Receiving party shall:
- Protect Confidential Information with reasonable care
- Limit access to employees with a need to know
- Not disclose to third parties without prior written consent
2.2 Permitted Disclosures:
- As required by law, with prior notice and opportunity to seek protective order
- To legal counsel, with appropriate confidentiality obligations
## 3. TERM AND TERMINATION
3.1 This Agreement is effective as of the Effective Date.
3.2 Confidential Information obligations:
- Survive termination of this Agreement
- Continue for 2 years after disclosure, or 3 years from Effective Date, whichever is longer
3.3 Either party may terminate this Agreement with 30 days written notice.
## 4. NO OBLIGATION
Neither party is obligated to disclose any Confidential Information or proceed with any transaction contemplated by this Agreement.
## 5. RETURN OR DESTRUCTION
Upon termination or request, Receiving Party shall:
- Return or certify destruction of all Confidential Information
- Retain one copy for legal/archival purposes if required by law
---
### Signatures
**EXAMPLE CORP**
By: _________________________ Date: _________________
Name: _______________________
Title: ________________________
**VENDOR LLC**
By: _________________________ Date: _________________
Name: _______________________
Title: ________________________
---
**Compliance Summary:** COMPLIANT
- GDPR: Not applicable (no data processing)
- Confidentiality: Fully addressed
- Termination: Clear renewal and exit provisions
- Data handling: Included return/destruction clause
**Ready for human review and signature.**
Related Skills
compliance-analyzer — Validate draft against regulatory frameworks
contract-reviewer — Extract and analyze key terms
version-controller — Track drafts and amendments
1---2name: document-draftor3description: Skill: Document Draftor4---5# Skill: Document Draftor67Generate legal agreements from templates with variable substitution and compliance validation.89---1011## When to activate1213When user runs `/draft-agreement` or requests a new agreement be created from a template.1415---1617## When NOT to use1819- Do not use for novel legal structures or complex custom agreements.20- Do not draft agreements without explicit user request or regulatory validation.21- Do not bypass compliance checks — all drafts must pass compliance validation before release.2223---2425## Instructions26271. **Request agreement details:**28 - Agreement type (NDA, SLA, MSA, License, etc.)29 - Parties (names, addresses, legal entities)30 - Effective date31 - Key terms (duration, fees, renewal, termination)32 - Any special clauses or requirements33342. **Select or request template:**35 - Use organization's standard template for agreement type36 - If no template, request user provide one or confirm framework37 - Document template source38393. **Variable substitution:**40 - Replace all placeholders with actual values41 - Format all dates as ISO 8601 (YYYY-MM-DD)42 - Ensure consistency across all references (e.g., party names)43 - Use proper legal formatting (section numbering, table of contents)44454. **Add required compliance clauses:**46 - If data processing: GDPR Data Processing Agreement language47 - If security-critical: SOC 2 Type II compliance clauses48 - If information security: ISO 27001 controls reference49 - Unsubscribe/opt-out language (if applicable)50515. **Validate compliance:**52 - Run compliance check on draft before presenting53 - Flag any regulatory gaps or required amendments54 - Return compliance status: COMPLIANT / CONDITIONAL / NON-COMPLIANT55566. **Format final draft:**57 - Professional legal document formatting58 - Clear section numbering and cross-references59 - Signature blocks for all parties60 - Appendices for exhibits or schedules61627. **Present for human review:**63 - Show draft with compliance status64 - Highlight key terms and dates65 - List any amendments or custom clauses66 - Request human approval before release67688. **Log to session-log.md** with draft version and status.6970---7172## Example7374Input: Request NDA from template7576```77/draft-agreement78Type: NDA79Party A: Example Corp (San Francisco, CA)80Party B: Vendor LLC (Austin, TX)81Effective: 2026-06-1382Duration: 2 years83Auto-Renewal: No84```8586Output:87```88## Document Draft: Mutual NDA8990**Parties:** Example Corp and Vendor LLC91**Effective Date:** 2026-06-1392**Term:** 2 years93**Auto-Renewal:** No94**Compliance Status:** COMPLIANT9596---9798# MUTUAL NON-DISCLOSURE AGREEMENT99100This Mutual Non-Disclosure Agreement ("Agreement") is entered into as of June 13, 2026 ("Effective Date"), by and between Example Corp, a corporation organized in California ("Party A"), and Vendor LLC, a corporation organized in Texas ("Party B").101102## 1. CONFIDENTIAL INFORMATION1031041.1 "Confidential Information" means all non-public information disclosed by either party that is marked as confidential or reasonably understood to be confidential.1051061.2 Exclusions:107- Information publicly available through no breach of this Agreement108- Information independently developed without reference to Confidential Information109- Information rightfully received from third parties without confidentiality obligations110111## 2. OBLIGATIONS1121132.1 Receiving party shall:114- Protect Confidential Information with reasonable care115- Limit access to employees with a need to know116- Not disclose to third parties without prior written consent1171182.2 Permitted Disclosures:119- As required by law, with prior notice and opportunity to seek protective order120- To legal counsel, with appropriate confidentiality obligations121122## 3. TERM AND TERMINATION1231243.1 This Agreement is effective as of the Effective Date.1251263.2 Confidential Information obligations:127- Survive termination of this Agreement128- Continue for 2 years after disclosure, or 3 years from Effective Date, whichever is longer1291303.3 Either party may terminate this Agreement with 30 days written notice.131132## 4. NO OBLIGATION133134Neither party is obligated to disclose any Confidential Information or proceed with any transaction contemplated by this Agreement.135136## 5. RETURN OR DESTRUCTION137138Upon termination or request, Receiving Party shall:139- Return or certify destruction of all Confidential Information140- Retain one copy for legal/archival purposes if required by law141142---143144### Signatures145146**EXAMPLE CORP**147148By: _________________________ Date: _________________149Name: _______________________150Title: ________________________151152**VENDOR LLC**153154By: _________________________ Date: _________________155Name: _______________________156Title: ________________________157158---159160**Compliance Summary:** COMPLIANT161- GDPR: Not applicable (no data processing)162- Confidentiality: Fully addressed163- Termination: Clear renewal and exit provisions164- Data handling: Included return/destruction clause165166**Ready for human review and signature.**167```168169---170171## Related Skills172173- `compliance-analyzer` — Validate draft against regulatory frameworks174- `contract-reviewer` — Extract and analyze key terms175- `version-controller` — Track drafts and amendments