Back to Skills

contract-generator

majiayu000
Updated Yesterday
58
9
58
View on GitHub
Metaword

About

This skill generates legal contracts and agreements from templates with variable substitution and formatting. It handles documents like employment agreements, service contracts, and leases, producing professional outputs. Use it when developers need to automate the creation of standardized legal documents with conditional sections and validation.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/contract-generator

Copy and paste this command in Claude Code to install this skill

Documentation

Contract Generator

Generate professional legal contracts and agreements from templates with variable substitution, formatting, and validation.

Purpose

Contract generation for:

  • Employment agreements and NDAs
  • Service contracts and SOWs
  • Sales and purchase agreements
  • Lease and rental contracts
  • Partnership and operating agreements

Features

  • Template System: Pre-built contract templates
  • Variable Substitution: Replace placeholders with actual values
  • Conditional Sections: Include/exclude based on variables
  • Formatting: Professional DOCX output
  • Validation: Check for missing required fields
  • Batch Generation: Create multiple contracts from CSV

Quick Start

from contract_generator import ContractGenerator

# Generate from template
generator = ContractGenerator()
generator.load_template('templates/nda.docx')
generator.set_variables({
    'party1_name': 'Acme Corp',
    'party2_name': 'John Smith',
    'effective_date': '2024-03-14',
    'jurisdiction': 'California'
})
generator.save('nda_acme_smith.docx')

CLI Usage

# Generate single contract
python contract_generator.py --template nda.docx --vars vars.json --output contract.docx

# Batch generate from CSV
python contract_generator.py --template nda.docx --csv parties.csv --output-dir contracts/

Limitations

  • Templates must be in DOCX format
  • Not a substitute for legal review
  • Does not provide legal advice
  • Complex conditional logic may require custom templates

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/contract-generator

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

cloudflare-turnstile

Meta

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

View skill

llamaindex

Meta

LlamaIndex is a data framework for building RAG-powered LLM applications, specializing in document ingestion, indexing, and querying. It provides key features like vector indices, query engines, and agents, and supports over 300 data connectors. Use it for document Q&A, chatbots, and knowledge retrieval when building data-centric applications.

View skill

canvas-design

Meta

The canvas-design skill generates original visual art in PNG and PDF formats for creating posters, designs, and other static artwork. It operates through a two-step process: first creating a design philosophy document, then visually expressing it on a canvas. The skill focuses on original compositions using form, color, and space while avoiding copyright infringement by never copying existing artists' work.

View skill