Generate Act of Completed Works
Follow the document-rules skill (${CLAUDE_PLUGIN_ROOT}/skills/document-rules/SKILL.md) and the document-generator skill (${CLAUDE_PLUGIN_ROOT}/skills/document-generator/SKILL.md): the first holds the mandatory rules, the second the generation process. Read both before Step 1.
Generate a professional Act of Completed Works with a services table, totals, and two-party signature blocks. Supports any language for all data values (company names, service descriptions, labels). The document language is determined by the language field in the input data.
Arguments
Format: <title> [--format <pdf|docx>]
- title: Document title or act number (required, e.g., "ACT-001")
- --format: Output format — pdf (default) or docx
Parse from "$ARGUMENTS".
Process
Plugin directory:
Scripts and templates live under ${CLAUDE_PLUGIN_ROOT} (Claude Code substitutes it with the installed plugin path). Use it as is; do not search for the plugin.
Check dependencies:
node "${CLAUDE_PLUGIN_ROOT}/scripts/check_deps.js"
If ready is false, show what is missing and ask permission to run the listed installCommands. (ready covers Node, the npm modules and the Playwright browser; pandoc and the PDF engines are optional extras listed in missing.)
Gather required data from user:
- Act number (e.g., ACT-001/2026)
- Date and city
- Reference to contract (optional, e.g., "Contract No. 001 dated 01.01.2026")
- Contractor (service provider): name, representative, title, registration number, address
- Customer (client): name, representative, title, registration number, address
- Services table: each row needs description, unit (hrs/pcs/service), quantity, unit price, total
- VAT rate (0 if not VAT payer, e.g., 20 for standard VAT)
- Currency symbol ($ default)
- Notes (optional)
Read template:
cat "${CLAUDE_PLUGIN_ROOT}/templates/act_template.json"
Build JSON input:
Use type "act" with playwright engine. Services is an array of rows. Write to .doc_input.json.
Generate document:
For PDF (default):
node "${CLAUDE_PLUGIN_ROOT}/scripts/generate_pdf.js" /absolute/path/.doc_input.json
For DOCX:
node "${CLAUDE_PLUGIN_ROOT}/scripts/generate_docx.js" /absolute/path/.doc_input.json
Deliver result:
Show file path and size. Remind user the act must be signed by both parties.
Example Usage
/document-generator-ops:generate-act "ACT-001"
/document-generator-ops:generate-act "ACT-002/2026" --format docx
Output filename
Pattern: act_{number}_{date}.pdf (e.g., act_akt-001_2026-03-19.pdf)
1---2name: generate-act3description: 'Generate an Act of Completed Works (PDF) Arguments: <title> [--format <pdf|docx>].'4metadata:5 source: https://skillmd.com/skills/agents-store/generate-act6---78# Generate Act of Completed Works910Follow the `document-rules` skill (`${CLAUDE_PLUGIN_ROOT}/skills/document-rules/SKILL.md`) and the `document-generator` skill (`${CLAUDE_PLUGIN_ROOT}/skills/document-generator/SKILL.md`): the first holds the mandatory rules, the second the generation process. Read both before Step 1.1112Generate a professional Act of Completed Works with a services table, totals, and two-party signature blocks. Supports any language for all data values (company names, service descriptions, labels). The document language is determined by the `language` field in the input data.1314## Arguments1516Format: `<title> [--format <pdf|docx>]`17- title: Document title or act number (required, e.g., "ACT-001")18- --format: Output format — pdf (default) or docx1920Parse from "$ARGUMENTS".2122## Process23241. **Plugin directory:**25 Scripts and templates live under `${CLAUDE_PLUGIN_ROOT}` (Claude Code substitutes it with the installed plugin path). Use it as is; do not search for the plugin.26272. **Check dependencies:**28 ```bash29 node "${CLAUDE_PLUGIN_ROOT}/scripts/check_deps.js"30 ```31 If `ready` is false, show what is missing and ask permission to run the listed `installCommands`. (`ready` covers Node, the npm modules and the Playwright browser; pandoc and the PDF engines are optional extras listed in `missing`.)32333. **Gather required data from user:**34 - Act number (e.g., ACT-001/2026)35 - Date and city36 - Reference to contract (optional, e.g., "Contract No. 001 dated 01.01.2026")37 - Contractor (service provider): name, representative, title, registration number, address38 - Customer (client): name, representative, title, registration number, address39 - Services table: each row needs description, unit (hrs/pcs/service), quantity, unit price, total40 - VAT rate (0 if not VAT payer, e.g., 20 for standard VAT)41 - Currency symbol ($ default)42 - Notes (optional)43444. **Read template:**45 ```bash46 cat "${CLAUDE_PLUGIN_ROOT}/templates/act_template.json"47 ```48495. **Build JSON input:**50 Use type "act" with playwright engine. Services is an array of rows. Write to `.doc_input.json`.51526. **Generate document:**53 For PDF (default):54 ```bash55 node "${CLAUDE_PLUGIN_ROOT}/scripts/generate_pdf.js" /absolute/path/.doc_input.json56 ```57 For DOCX:58 ```bash59 node "${CLAUDE_PLUGIN_ROOT}/scripts/generate_docx.js" /absolute/path/.doc_input.json60 ```61627. **Deliver result:**63 Show file path and size. Remind user the act must be signed by both parties.6465## Example Usage66```67/document-generator-ops:generate-act "ACT-001"68/document-generator-ops:generate-act "ACT-002/2026" --format docx69```7071## Output filename72Pattern: `act_{number}_{date}.pdf` (e.g., `act_akt-001_2026-03-19.pdf`)