contract-generator

Generate legal contracts from DOCX templates with variable substitution and CSV batch processing.

86|18|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill contract-generator-dkyazzentwatwa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contract-generator
Source: https://github.com/dkyazzentwatwa/chatgpt-skills/tree/main/contract-generator
Command: npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill contract-generator-dkyazzentwatwa

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of legal contracts and agreements by populating pre-defined templates with specific variable data, streamlining the legal documentation process.

Core Features & Use Cases

  • Template-based generation: Utilizes DOCX templates for various legal documents like NDAs, employment agreements, and sales contracts.
  • Variable Substitution: Replaces placeholders within templates with provided data.
  • Batch Processing: Generates multiple contracts from a CSV file containing variable data.
  • Use Case: Generate 10 unique Non-Disclosure Agreements for different parties by providing a CSV file with their names, addresses, and effective dates.

Quick Start

Use the contract generator skill to create a new NDA document using the 'nda.docx' template and the variables provided in 'vars.json'.

Frequently Asked Questions about contract-generator

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

FAQPage Schema
How do I generate multiple legal contracts from a CSV file?

Yes, batch processing legal documents is supported by providing a CSV file with variable data. The system populates the DOCX template for each row, generating multiple unique contracts automatically.

Can I automate NDA generation from a DOCX template?

Automating NDA generation from a DOCX template is fully supported. The system substitutes placeholders with your provided variable data to produce a finalized Non-Disclosure Agreement.

Does the contract generator validate missing fields in legal documents?

Yes, the contract generator validates missing fields during the document creation process. It checks the provided variable data against the DOCX template to prevent incomplete legal documents.

Do I need python-docx to populate legal document templates?

Yes, python-docx is required to populate legal document templates. It provides the underlying functionality for variable substitution and conditional logic to generate DOCX output.

What is the best way to handle conditional logic in DOCX contract templates?

Handling conditional logic in DOCX contract templates is achieved through automated variable substitution. This allows the inclusion or exclusion of specific clauses based on your provided data.