| name | spanish-legal-drafting |
| description | Draft Spanish legal documents including contracts, court submissions, and legal opinions. Triggered when the user needs a contract, demanda, escrito, informe jurídico, or any formal legal document under Spanish law. Follows mandatory law compliance, proper court submission structure, and CCAA-specific formatting where applicable. |
Spanish Legal Drafting
Objective
Draft precise, enforceable legal documents under Spanish law. Ensure compliance with mandatory provisions (Art. 6 CC, Art. 1255 CC, Art. 1101 CC), proper structural conventions, and court-specific formatting requirements.
Document Types
1. Contracts (Contratos)
Standard structure:
- Partes — Identification of parties (name, DNI/NIE/CIF, domicilio)
- Objeto — Subject matter and purpose
- Obligaciones — Mutual obligations and duties
- Precio — Price, payment terms, and modalities
- Plazos — Deadlines, duration, and renewal terms
- Garantías — Warranties, securities, and guarantees
- Responsabilidad — Liability clauses, limitation of liability, force majeure (fuerza mayor)
- Resolución — Termination conditions and effects
- Ley aplicable y jurisdicción — Governing law and dispute resolution (jurisdicción / arbitraje / mediación)
- Firma — Signatures, date, and place
Mandatory law compliance:
- Art. 6 CC: Contracts must comply with mandatory law (normas imperativas).
- Art. 1255 CC: Freedom of contract within legal bounds.
- Art. 1101 CC: Liability for breach of contract (responsabilidad contractual).
- Art. 1895 CC: Limitation of liability clauses subject to good faith (buena fe).
2. Court Submissions (Escritos / Demandas)
Standard structure (LEC):
- Encabezamiento — Court, parties, procedural identification
- Hechos — Statement of facts in chronological order
- Fundamentos de Derecho — Legal arguments with statutory and case law citations
- Pretensiones — Specific relief sought (condena, declaración, etc.)
- Prueba — Evidence offered (documental, testifical, pericial)
- Conclusión — Summary request and signature
Key rules:
- Art. 399 LEC: Content requirements for the demanda
- Art. 401 LEC: Facts must be specific, clear, and concise
- Citations must be verifiable (STS, SAP, BOE references)
3. Legal Opinions (Informes Jurídicos)
Standard structure:
- Encargo y alcance — Engagement and scope
- Hechos — Summary of relevant facts
- Cuestiones jurídicas — Legal questions presented
- Análisis jurídico — Detailed analysis with legislation and case law
- Conclusión — Clear legal position and recommendations
- Advertencia — Disclaimer and limitations
CCAA-Specific Formatting
- Cataluña (CT): Documents may be filed in Catalan; reference DOGC for CCAA regulations
- País Vasco (PV): Foral civil law references where applicable; BOPV citations
- Galicia (GA): Galician language option; DOGA citations
- Navarra (NC): Derecho Civil Navarro references; BON citations
Citation Formatting During Drafting
Integrate citations seamlessly:
- Statutes: "en virtud del artículo 1255 del Código Civil"
- Case law: "conforme a la doctrina del Tribunal Supremo en STS [Sala] [Date] [Ref]"
- Official gazettes: "publicado en el BOE de [Date], núm. [Number]"
Quality Standards
Output Format
# [Document Type] — [Subject]
**Jurisdiction:** [State / CCAA]
**Date:** [YYYY-MM-DD]
**Disclaimer:** This document is a draft for discussion purposes. Review by a Spanish abogado colegiado is required before execution or filing.
## [Document Body]
[Properly structured document with all required sections]
## Notes for Counsel
- [Verification items]
- [CCAA-specific considerations]
- [Filing deadlines and formalities]