Claude builds my work documents for me. Here's the whole system
| 1 | Materials repository | github.com |
-
1
00:00
The result
1 What to do
One line of prompt, and the report on the branded template is ready: header, table, numbers in place.
$claude -p "Собери отчёт об отгрузках Меридиан за август 2026 из data/shipments.csv, файл report-август-2026.docx" --setting-sources "project,local" --permission-mode auto --model claude-sonnet-5
-
2
00:51
Who I am
-
3
01:05
Why a template-based document is a pain
1 What to do
By hand, the same report takes about twenty minutes: export, transfer, reconcile, format.
-
4
02:17
A naive demo: what comes out without rules
1 What to do
I ask the model to make a report with no instructions and no template: it looks plausible, but it's not the right document.
$claude -p "Сделай отчёт об отгрузках в docx: компания Меридиан, август 2026, данные возьми из головы, суммы в долларах, названия клиентов без юридической формы. Сохрани как Отчёт.docx." --setting-sources "project,local" --permission-mode auto --model claude-sonnet-5
-
5
03:25
How the solution is built
1 What to do
A skill is a folder with three parts: instructions, a template, and a fill-in script; the model finds it by its description.
$claude -p "Собери отчёт об отгрузках Меридиан за август 2026 из data/shipments.csv, файл report-август-2026.docx" --setting-sources "project,local" --permission-mode auto --model claude-sonnet-5
-
6
05:26
Building it from scratch
1 What to do
The model writes SKILL.md and the script itself; I break a rule and fix it with a line in the instructions, not with code.
$claude -p "В этой папке лежит шаблон report-template.docx и данные data/shipments.csv (date,client,product,qty,amount_usd). Собери короткую аналитическую записку об отгрузках «Меридиан» за неделю: создай свой скилл в .claude/skills/shipment-digest/ (SKILL.md с правилами заполнения, свой шаблон и скрипт подстановки на python-docx), затем одной командой получи готовый файл weekly-report.docx." --setting-sources "project,local" --permission-mode auto --model claude-sonnet-5
-
7
07:44
A run on a real task
1 What to do
I call the finished skill again on the same data: a call, not a rebuild.
$claude -p "Скилл shipment-digest уже собран. Вызови его ещё раз на тех же данных и получи weekly-report.docx." --setting-sources "project,local" --permission-mode auto --model claude-sonnet-5
-
8
08:03
Where it breaks
1 What to do
On a template with merged cells, the model bypasses the skill with separate code: the document is correct, but there's no reusability.
$claude -p "Собери отчёт об отгрузках Меридиан за август 2026 из data/shipments.csv по шаблону report-template-break.docx, файл report-август-2026.docx" --setting-sources "project,local" --permission-mode auto --model claude-sonnet-5
-
9
09:59
Confidentiality: what you must not hand over
-
10
10:44
Homework and wrap-up
1 What to do
Your first skill: a regular document, a template and instructions in a folder, a ready file from a one-line prompt.