coquill

Generate document drafts from templates via guided variable interviews.

46|25|Updated May 7, 2026
One-click install
npx skills add https://github.com/LegalQuants/lq-skills --skill coquill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coquill
Source: https://github.com/LegalQuants/lq-skills/tree/main/skills/coquill
Command: npx skills add https://github.com/LegalQuants/lq-skills --skill coquill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

CoQuill eliminates the repetitive work of choosing a document template, collecting required variable values, and producing a consistent drafted output, so practitioners can focus on review rather than manual assembly.

Core Features & Use Cases

  • Template-to-interview discovery: Matches your request to a pre-approved template and derives the variables, conditionals, and loops to collect.
  • Guided variable interview: Conversationally asks for required values, including repeating list items and conditional sections.
  • Multi-format rendering: Produces a working draft in .docx, .html, or .md, with an attached audit transcript for accountability.

Quick Start

Ask Claude to prepare an NDA document, then answer the template’s questions to generate your drafted output.

Frequently Asked Questions about coquill

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

FAQPage Schema
How do I automate document assembly from pre-approved docx templates?

Document assembly from pre-approved docx templates is automated by matching your request to existing templates, conducting a conversational interview for required variables, and deterministically rendering the output. This ensures clause and format consistency without manual drafting work.

What is template-based contract drafting support and how does it work?

Template-based contract drafting support works by discovering a pre-approved template, extracting required variables from its manifest, and conversationally collecting values for conditional sections and repeating lists. It then renders a working draft while validating that no placeholders remain unprocessed.

Does Jinja2 template rendering support conditional sections and repeating list structures?

Jinja2 template rendering supports conditional sections and repeating list structures within docx, HTML, and Markdown formats. The Skill derives these control tags from the template manifest and collects the necessary values through a guided variable interview before rendering.

How do I collect variable values for document templates conversationally?

You collect variable values for document templates through a guided conversational interview. The Skill derives required variables, conditionals, and repeating list items from the template's manifest, then asks targeted questions to gather the exact data needed for deterministic rendering.

Can I generate docx, HTML, and Markdown drafts from the same template?

You can generate working drafts in docx, HTML, and Markdown formats from approved templates. The multi-format rendering process applies Jinja2 and docxtpl to produce your chosen output, accompanied by an audit transcript for accountability and validation.

What happens if placeholders or control tags remain unprocessed in my drafted document?

If placeholders or control tags remain unprocessed in your drafted document, the output validation blocks delivery. This prevents incomplete drafts from being generated, ensuring that all conditional sections and repeating list structures are fully resolved before the final file is produced.