Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
artwist-polyakov avatar

Docx Contracts

  • 38 installs
  • 177 repo stars
  • Updated May 10, 2026
  • artwist-polyakov/polyakov-claude-skills

docx-contracts is a Claude skill that fills Word (.docx) contract and form templates containing {{variables}} with structured data using the docxtpl library.

About

This skill fills Word document templates such as contracts and forms with structured data using the docxtpl library. A developer uses it when a user uploads a .docx template with {{variables}} and provides data to populate it. It extracts the template's variable schema, gathers matching values, asks the user for any missing fields, then fills the template and delivers the output document.

  • Fills Word (.docx) contract and form templates from structured data using docxtpl
  • Extracts the template's variable schema, then fills a JSON of values
  • Asks for missing required fields rather than guessing values

Docx Contracts by the numbers

  • 38 all-time installs (skills.sh)
  • Ranked #396 of 688 Office & Documents skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

docx-contracts capabilities & compatibility

Use cases
documentation
Pricing
Free
From the docs

What docx-contracts says it does

Automated contract and form filling using docxtpl library.
SKILL.md
Ask user for missing data - never invent values
SKILL.md
npx skills add https://github.com/artwist-polyakov/polyakov-claude-skills --skill docx-contracts

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs38
repo stars177
Last updatedMay 10, 2026
Repositoryartwist-polyakov/polyakov-claude-skills

What it does

Fill Word contract and form templates that use {{variables}} with structured data using docxtpl and deliver the output.

Who is it for?

Users who need to generate contracts or forms from a .docx template and structured data

When should I use this skill?

The user uploads a .docx template with {{variables}} and provides data, or requests contract/form generation from a template

What you get

A completed .docx document with all required template fields filled from the provided data.

  • filled .docx document
  • template variable schema

By the numbers

  • 5-step workflow (extract schema, gather, handle missing, fill, deliver)

Files

SKILL.mdMarkdownGitHub ↗

docx-contracts

Automated contract and form filling using docxtpl library.

Workflow

Be shure, that you recieve docx file. Don't try to read it.

1. Extract schema: Run scripts/extract_schema.py <template.docx> to get variables list and JSON schema. Don't read file. Just launch script. 2. Gather data: Extract values from user message context, matching schema fields. Use Claude completion for extraction if needed 3. Handle missing data: If any required field is missing or uncertain, ask user directly. Do not guess 4. Fill template: Create JSON file with data, then run scripts/fill_template.py <template.docx> <data.json> <output.docx> 5. Deliver: Move result to /mnt/user-data/outputs/ and provide download link. Please don't read output file.

Key Points

  • Template must use Jinja2 syntax: {{VARIABLE_NAME}}
  • All required fields from schema must be filled
  • Ask user for missing data - never invent values
  • Install docxtpl if needed: pip install docxtpl --break-system-packages

Related skills

FAQ

What syntax must the template use?

Jinja2 syntax with {{VARIABLE_NAME}} placeholders, which docxtpl fills from the provided JSON data.

What happens if a required field is missing?

The skill asks the user directly for the missing data and never invents values.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.