legal-writer

Draft legal documents with citations and DOCX output.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/yethikrishna/humble --skill legal-writer-yethikrishna
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legal-writer
Source: https://github.com/yethikrishna/humble/tree/main/core/kortix-master/opencode/skills/GENERAL-KNOWLEDGE-WORKER/legal-writer
Command: npx skills add https://github.com/yethikrishna/humble --skill legal-writer-yethikrishna

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Drafting complex legal documents by hand is time-consuming and error-prone. This skill provides a structured, end-to-end workflow to generate publication-quality DOCX documents with built-in verification, citations, and defined terms.

Core Features & Use Cases

  • End-to-end drafting pipeline: scaffold, research, write, verify, and finalize documents (memos, briefs, contracts, complaints, opinions, and more).
  • Authority lookups & formatting: integrates CourtListener for case law and eCFR for regulations, plus Bluebook citations and DOCX output.
  • Template-driven compliance: enforces per-section structure, cross-references, placeholders, and boilerplate checks to ensure professional quality.
  • Quick example: generate a services agreement with a defined date, parties, and governing law, then export a final DOCX.

Quick Start

Provide a legal document prompt, and the skill will scaffold, research, draft per-section content, verify, and generate the final DOCX.

Frequently Asked Questions about legal-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I draft a legal document and export it as a DOCX file with Bluebook citations?

Draft a legal document and export a DOCX file by providing a prompt, which scaffolds the structure, researches case law, drafts per-section content, formats Bluebook citations, and verifies boilerplate compliance before final output.

Can I use CourtListener and eCFR to verify case law and regulations during contract drafting?

Yes, you can use CourtListener and eCFR to verify case law and regulations during contract drafting, as the workflow integrates these authorities directly into the research and per-section drafting pipeline.

What is the best way to structure a legal memo with defined terms and cross-references?

The best way to structure a legal memo with defined terms and cross-references is using a template-driven workflow that enforces per-section structure, manages defined terms, and validates cross-references before finalizing the document.

Does this legal writing workflow handle per-section drafting for complaints and discovery requests?

Yes, this legal writing workflow handles per-section drafting for complaints and discovery requests, applying structured scaffolding and boilerplate checks to ensure professional publication-quality output.

Do I need python-docx installed to generate publication-quality legal documents?

Yes, you need python-docx installed to generate publication-quality legal documents, as it is the required dependency for rendering the final DOCX output with cross-references and placeholders.

What types of legal documents can I generate using an automated drafting pipeline?

You can generate memos, briefs, contracts, complaints, opinions, and discovery requests using an automated drafting pipeline that provides end-to-end scaffolding, research, verification, and DOCX export.