pptx
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k2,822 new stars in the last 7 days
Convert an Excel (.xlsx) print-form template into a 1C MXL layout via OfficeCLI structural inspection and 1c-metadata-manage mxl-compile, with a tabular data contract check.
Use this skill when a print form or report layout specification is supplied as an Excel file (.xlsx). Do not convert an .xlsx to a screenshot and fall back to img-grid-analysis by default — Excel already holds exact sheets, cells, merges, widths, borders, fonts, and number formats.
Verify officecli without triggering background updates (OFFICECLI_SKIP_UPDATE=1):
officecli from PATH or %LOCALAPPDATA%\OfficeCLI\officecli.exe (Windows) / ~/.local/bin/officecli (macOS/Linux).officecli --version with OFFICECLI_SKIP_UPDATE=1.officecli is not installed, ask the user whether to install it via content/commands/install-officecli.md (/install-officecli). Do not install silently and do not pretend an uninspected .xlsx was read.Inspect the workbook structure layer-by-layer using JSON output:
$env:OFFICECLI_SKIP_UPDATE = '1'
officecli get "template.xlsx" / --json
officecli get "template.xlsx" /Sheet1 --json
officecli get "template.xlsx" /Sheet1/A1:M60 --json
Extract and record before drafting MXL JSON DSL:
col, span, rowspan);[Param] / {Param} / demo values) and repeating row blocks (header, table header, table row, totals, footer).When visual confirmation of a complex block is genuinely needed, render a bounded preview with officecli view "template.xlsx" screenshot --range "Sheet1!A1:M40" -o preview.png.
Separate the visual scaffold from runtime 1C logic:
mxl-compile JSON DSL: grid, merges, column widths (columnWidths / columnSets), row heights, fonts, borders, fills, alignments, text wrap, number formats, static texts, parameters (param) and template strings (template).ПолучитьОбласть("Шапка"), "Строка", "Итого").Never claim that an imported or converted Excel sheet is a finished DCS (СКД) layout or a lossless Excel round-trip.
Template.xmlRoute all metadata and XML mutations through content/skills/1c-metadata-manage/SKILL.md (docs/mxl-manage.md and docs/template-manage.md) — never hand-write Template.xml:
add-template when it does not exist yet.areas top-to-bottom: Title / Header / TableHeader / Row / Total / Footer, styles, fonts, columnWidths).mxl-compile → validate via mxl-validate → inspect areas and parameters via mxl-info -WithText.verify_xml with object_type="Макет") when MCP is exposed.Visual fidelity does not prove data correctness. Before writing BSL fill code or DCS binding for the new layout, establish a concise data contract and confirm the underlying query/dataset (via 1c-data-mcp Gate 3a on a dev/test base when available):
| Layout parameter / column | Source field / expression | Empty / NULL rule | Row key / cardinality | Control total |
|---|---|---|---|---|
<ParamName> | <QueryField / Calc> | <required / 0 / ""> | <unique key, 1 or N> | <sum / count / n/a> |
Check six invariants on the dataset: (1) all fields exist with expected types, (2) row count matches active filters/period, (3) NULLs and empty refs handled, (4) no unintended duplicates by business key, (5) aggregate totals match independent query sums (not just sample rows), (6) sample boundary rows inspected. If no dev/test IB is available, record data-contract runtime verification as unverified under Risks.
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k2,822 new stars in the last 7 days
Create and edit Word docs with TOC, page numbers, headers and more.
ANanthropics/skills203k2,822 new stars in the last 7 days
Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills203k2,822 new stars in the last 7 days
Co-write specs, proposals and decision docs through a structured, iterative workflow.
ANanthropics/skills203k2,822 new stars in the last 7 days
Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.
ANanthropics/skills203k2,822 new stars in the last 7 days
Create posters and visual art as PNG or PDF, guided by a design philosophy.
ANanthropics/skills203k2,822 new stars in the last 7 days