contract-gen

Generate complete contract text with custom terms and DOCX export.

159|20|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/zh-xx/legal-assistant-skills --skill contract-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contract-gen
Source: https://github.com/zh-xx/legal-assistant-skills/tree/main/contract-gen
Command: npx skills add https://github.com/zh-xx/legal-assistant-skills --skill contract-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of comprehensive and legally robust contracts, saving legal professionals and businesses significant time and effort in drafting.

Core Features & Use Cases

  • Automated Contract Drafting: Generates full contract text based on user-provided details, type, and desired party stance.
  • Customizable Terms: Adapts to specific contract types and applies legal stance (e.g., buyer-favorable, seller-favorable) within legal boundaries.
  • Use Case: A startup needs a Service Agreement. They provide the service details, parties involved, and specify a buyer-favorable stance. The Skill generates a complete, legally reviewed Service Agreement in Markdown, ready for export to DOCX.

Quick Start

Use the contract-gen skill to draft a sales contract between 'TechCorp' and 'Innovate Ltd.' for the sale of 1000 units of 'Model X' at a price of $50 per unit, with TechCorp as the buyer.

Frequently Asked Questions about contract-gen

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

FAQPage Schema
How do I generate a legally sound contract automatically?

To generate a legally sound contract automatically, provide the contract type, background, parties, and business model. The tool drafts a complete agreement tailored to your specified legal stance and adapts to custom terms.

Can I draft a buyer-favorable service agreement without manual legal review?

Yes, you can draft a buyer-favorable service agreement by specifying the desired party stance. The generation process applies your chosen legal stance within legal boundaries, producing a complete Markdown document ready for export.

Does contract generation support exporting to DOCX format?

Contract generation supports exporting to DOCX format via a Node.js script. The drafted agreement is initially generated in Markdown, which the script then converts into a downloadable DOCX file.

What details do I need to provide for automated contract drafting?

For automated contract drafting, you need to provide the contract type, background information, involved parties, business model, and desired legal stance. Supporting custom terms and legal framework adaptation requires these inputs.

What is the best way to automate agreement creation for specific business models?

The best way to automate agreement creation for specific business models is to input the model details and party stance into the generator. It produces a legally robust, customized contract text reflecting the exact business context.

Are there limitations when adapting legal frameworks during contract generation?

Limitations include adapting legal frameworks strictly within legal boundaries to ensure soundness. While it supports custom terms and specific stances like buyer-favorable, it does not replace formal legal review for highly specialized jurisdictions.