Skip to content
Productivity
Skill

/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.

From plugin
polyakov-claude-skills
23623 skills1 command

Claude Code

$ npx -y skills add artwist-polyakov/polyakov-claude-skills --skill docx-contracts --agent claude-code

SKILL.md

docx-contracts.SKILL.md
name: docx-contracts
description: 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.

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`
@artwist-polyakov
Ships withpolyakov-claude-skills

Набор скиллов для Claude Code.

Stars on GitHub

Momentum

stars in total
236
Star history of artwist-polyakov/polyakov-claude-skills on GitHub, a chart by star-history.com

Other skills on polyakov-claude-skills.

agent-deck

agent-deck

Управление сессиями AI агентов через agent-deck CLI. Триггеры (RU): "запусти агента", "запусти саб-агента", "создай сессию",…

blogger-ads-skill

blogger-ads-skill

Сопровождает рекламную сделку в Telegram на стороне блогера, рекламодателя или агентства: условия, отдельные DOCX договора и…

crawl4ai-seo

crawl4ai-seo

SEO-краулер сайтов на базе Crawl4AI. Полный аудит страниц: title, meta, H1, canonical, breadcrumbs, навигация, внутренние ссылки.…

genome-analizer

genome-analizer

Анализирует генетические данные пользователя из VCF файла. Используй когда пользователь спрашивает о своей генетике,…

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

pm-skills11d28k
@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about docx-contracts.

Which coding agents can use docx-contracts?
docx-contracts installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.