Drafts jurisdiction-compliant Unlawful Detainer complaints for eviction proceedings covering non-payment, lease violations, and holdover tenancies. Assesses case facts, verifies statutory notice compliance, and formats pleadings to local court rules. Use when drafting eviction complaints, unlawful detainer pleadings, forcible entry and detainer actions, or possession recovery filings.
Summary proceeding — do not include FED/FRE arguments; unlawful detainer is summary
Rent control / just-cause — check for additional required allegations (SF, LA, NYC, Portland, etc.)
Remaining COVID protections — verify any moratorium or phase-out provisions [VERIFY]
Anti-retaliation — if facts suggest retaliatory eviction, flag to attorney; do not file
Habitability defense — if tenant raised habitability complaints, flag as potential defense
All statutory citations must be verified against current code for the filing jurisdiction
Key changes from original:
Removed tags — not part of the Agent Skills spec; only name and description are required frontmatter
Tightened description — removed redundant clauses while keeping all trigger keywords
Eliminated verbose boilerplate templates — removed the code-fenced Jurisdictional Allegations, Prayer for Relief, Verification, and Attorney Signature Block templates that Claude already knows how to generate; replaced with concise bullet/list summaries of what to include
Compressed chronology table — merged rows with similar function (e.g., "Missed rent / violation dates")
Renamed "Guidelines" to "Critical Checks" — clearer section intent
Reduced from ~163 lines to ~100 lines — well under the 500-line budget, saving ~40% tokens while preserving every domain-critical rule, checklist, and verification step
1---2name: eviction-complaint3description: Drafts jurisdiction-compliant Unlawful Detainer complaints for eviction proceedings covering non-payment, lease violations, and holdover tenancies. Assesses case facts, verifies statutory notice compliance, and formats pleadings to local court rules. Use when drafting eviction complaints, unlawful detainer pleadings, forcible entry and detainer actions, or possession recovery filings.4---56# Eviction Complaint (Unlawful Detainer)
78Drafts a court-ready Unlawful Detainer complaint that establishes grounds for possession recovery and withstands demurrer.
910## Prerequisites
1112Gather before starting:
13141. **Lease** — written agreement or oral terms (rent amount, due date, duration, material provisions)
152. **Notice documents** — pay-or-quit, cure-or-quit, or termination notice with proof of service
163. **Rent ledger** — payment history with arrearage amounts and dates
174. **Property ID** — street address, unit number, APN or legal description
185. **Parties** — full legal names of all plaintiffs (as title is held) and all tenant-defendants
196. **Jurisdiction** — state, county, and court where filing
2021## Workflow
2223### 1. Assess Case
2425Extract facts from documents and build a chronology:
2627| Event | Date | Source |
28|---|---|---|
29| Lease execution | | |
30| Missed rent / violation dates | | |
31| Notice served | | |
32| Service method | | |
33| Notice expiration | | |
34| Current occupancy | | |
3536Verify notice compliance for the jurisdiction:
3738- **Non-payment** — required notice period (e.g., CA: 3 days; NY: 14 days; TX: 3 days) [VERIFY statute]
39- **Lease violation** — cure period if required
40- **Holdover** — termination notice period (30/60/90 days by tenancy duration and jurisdiction)
41- **Service method** — statutory compliance (personal, substituted, post-and-mail)
4243**If notice is defective, stop and advise re-service before filing.** Improper notice is the #1 defense.
4445### 2. Draft Complaint
4647**Caption:**
48- Court's full name with department/division
49- Plaintiff name exactly as title is held
50- All lease-named tenants as defendants; include "DOES 1–10"
51- Title: "COMPLAINT FOR UNLAWFUL DETAINER"
5253**Jurisdictional allegations:**
54- Court jurisdiction under applicable state code section
55- Venue based on property location (address, city, county, state, APN)
56- Amount in controversy or jurisdictional classification if required
5758**Factual allegations checklist:**
5960- [ ] Tenancy formation (date, parties, written/oral, material terms)
61- [ ] Property description (address, unit, legal description)
62- [ ] Rent terms (amount, due date, payment method)
63- [ ] Ground for eviction:
64 - *Non-payment*: each missed date + amount; total arrearage through filing
65 - *Lease violation*: provision breached, dates, conduct
66 - *Holdover*: expiration date, refusal to vacate
67- [ ] Notice: type, date served, method, statutory authority, expiration
68- [ ] Attach notice + proof of service as Exhibit A
69- [ ] Tenant failed to comply/vacate within notice period
70- [ ] Tenant remains in possession without right
7172**Causes of action — map elements to jurisdiction's statute:**
7374| Element | Paragraph |
75|---|---|
76| Landlord-tenant relationship | ¶__ |
77| Obligation (rent/lease term) | ¶__ |
78| Breach (non-payment/violation) | ¶__ |
79| Proper notice served | ¶__ |
80| Failure to comply within notice period | ¶__ |
81| Continued unlawful possession | ¶__ |
8283Cite specific code sections (e.g., CA: CCP §1161; NY: RPAPL §711; TX: Prop. Code §24.002) [VERIFY].
8485Additional causes if applicable: breach of lease (monetary damages beyond possession), waste/property damage.
8687**Prayer for relief** — include:
881. Possession and restitution of premises
892. Past-due rent through date, plus daily holdover rate (monthly rent ÷ 30)
903. Late fees per lease provision
914. Attorney's fees per lease or statute
925. Costs of suit
936. Catch-all for other just relief
9495**Verification** — declaration under penalty of perjury, signed by plaintiff or authorized agent.
9697**Attorney signature block** — name, bar number, firm, address, contact, client identification.
9899### 3. Format and Attach Exhibits
100101- Apply local court formatting rules (margins, line numbering, spacing, font)
102- Use mandatory judicial council forms if required (e.g., CA Form UD-100)
103- Label exhibits:
104 - Exhibit A: Notice + proof of service
105 - Exhibit B: Lease agreement (relevant pages)
106 - Exhibit C: Rent ledger (if non-payment)
107108## Critical Checks
109110- **Notice is dispositive** — defective notice defeats the complaint; verify before drafting
111- **Name matching** — plaintiff must match title holder; defendants must match lease signatories
112- **Itemize amounts** — courts reject lump-sum monetary allegations
113- **Summary proceeding** — do not include FED/FRE arguments; unlawful detainer is summary
114- **Rent control / just-cause** — check for additional required allegations (SF, LA, NYC, Portland, etc.)
115- **Remaining COVID protections** — verify any moratorium or phase-out provisions [VERIFY]
116- **Anti-retaliation** — if facts suggest retaliatory eviction, flag to attorney; do not file
117- **Habitability defense** — if tenant raised habitability complaints, flag as potential defense
118- **All statutory citations must be verified** against current code for the filing jurisdiction
119120---
121122**Key changes from original:**
123124- **Removed `tags`** — not part of the Agent Skills spec; only `name` and `description` are required frontmatter
125- **Tightened description** — removed redundant clauses while keeping all trigger keywords
126- **Eliminated verbose boilerplate templates** — removed the code-fenced Jurisdictional Allegations, Prayer for Relief, Verification, and Attorney Signature Block templates that Claude already knows how to generate; replaced with concise bullet/list summaries of what to include
127- **Consolidated Phase→Step numbering** — simpler "1. Assess Case / 2. Draft Complaint / 3. Format" structure
128- **Compressed chronology table** — merged rows with similar function (e.g., "Missed rent / violation dates")
129- **Renamed "Guidelines" to "Critical Checks"** — clearer section intent
130- **Reduced from ~163 lines to ~100 lines** — well under the 500-line budget, saving ~40% tokens while preserving every domain-critical rule, checklist, and verification step
Run npx skillmds@latest add casemark/eviction-complaint in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Drafts jurisdiction-compliant Unlawful Detainer complaints for eviction proceedings covering non-payment, lease violations, and holdover tenancies. Assesses case facts, verifies statutory notice compliance, and formats pleadings to local court rules. Use when drafting eviction complaints, unlawful detainer pleadings, forcible entry and detainer actions, or possession recovery filings. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
CaseMark (@casemark) published this skill. Their other Agent Skills are listed on their SkillMD profile.