ClaudeSuperPower

docx-contracts

Skill

Fill Word document templates (contracts, forms) with structured data using docxtpl. Use when user uploads a .docx template with {{variables}} and provides data to fill it, or requests contract/form generation from template.

Install

git clone https://github.com/artwist-polyakov/polyakov-claude-skills.git ~/.claude/skills/docx-contracts

What is docx-contracts?

Fill Word document templates (contracts, forms) with structured data using docxtpl. Use when user uploads a .docx template with {{variables}} and provides data to fill it, or requests contract/form generation from template.

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Inherit all session tools

Declares no tool restrictions — inherits every session tool

~56 tokens of context used while enabled, before you invoke anything

Documentation

README · ~1 min read

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

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.

Skillssimilar to this one

All skills