/artcraft-skills:wordcraft-documentsfrom artcraft-skills
Creates and edits Word-style documents via the WordCraft MCP server. Covers letters, reports, resumes, contracts, and more with full formatting support including styles, tables, headers/footers, TOC, footnotes, tracked changes, and .docx/.pdf export.
Ships in artcraft-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
WordCraft is an open-source Word clone (styles, lists, tables, sections, headers/footers, fields,
TOC, footnotes, comments, track changes, equations, shapes, charts). Its native format is .docx
(it also reads/writes .doc, .odt, .rtf, .md, .tex, .html, .txt and exports .pdf/.png). You drive it
through the wordcraft MCP server; this skill says what to build, in what order, and how to verify it.
MCP tools (deferred: load schemas first with ToolSearch, e.g. +wordcraft, max_results 30):
new_document, open_document, save_document, type_text, select_text, execute, batch,
list_commands, inspect_document, get_text, render_page, parity, plus desktop-only
screenshot, click, key, ui_inspect (they need the app attached; the default MCP session is
headless and has no window).
execute {command, params}, or batch {commands:[{command,params}], keepGoing?};
batch stops at the first error). Command ids are dotted: text.insert, para.style,
format.bold, insert.table... type_text is an MCP tool, not a command id: inside batch
use text.insert.list_commands {query} returns the full catalog (643 commands,
~160k chars unfiltered: always pass a narrow query such as "table.", "para.spacing",
"insert.chart"). Trust its param docs over memory.{story:"body", path:[block, (row, cell, block)...], off: offset}. Every command returns the new
selection; use it to know where you are.select_text {text, occurrence} (select the n-th occurrence of a string) or
select.range {anchor, focus} with explicit positions (e.g. path:[4], off:0), select.all,
select.paragraph, edit.goto.format.* applies to the selection, or to what you type next if it is collapsed;
para.* applies to the paragraph(s) of the selection."RRGGBB" hex without #. Sizes/spacing are in points (1 in = 72 pt; Letter
is 612x792, A4 595x842)."Heading 1" or "Heading1").type_text / command call is one undo step; edit.undo / edit.redo / edit.undoTo {count}..docx/.pdf. If the brief is thin, propose
a concrete structure and proceed; ask only what blocks the work.new_document {template} with blank|letter|resume|report|sample, or
open_document {path} for an existing file (then inspect_document first, and reuse its
styles). Set page setup early: layout.size {name:"A4"}, layout.margins {preset:"normal"}.Scale to the request: a one-page letter does not need a TOC; a 20-page report does.
Order of operations that works:
new_document {template:"blank"}
batch [
{command:"para.style", params:{style:"Title"}},
{command:"text.insert", params:{text:"Quarterly Report"}},
{command:"text.newParagraph"},
{command:"para.style", params:{style:"Heading 1"}},
{command:"text.insert", params:{text:"Summary"}},
{command:"text.newParagraph"},
{command:"para.normal"},
{command:"text.insert", params:{text:"Body text..."}},
{command:"text.newParagraph"}, ...]
para.style, para.normal,
para.heading1) right after each text.newParagraph. Built-in style ids: Normal, Title,
Subtitle, Heading1..9, Quote, IntenseQuote, ListParagraph, Caption, NoSpacing, TOC1-9, Header,
Footer, FootnoteText, Hyperlink, TableGrid and Grid/List/Plain table styles.type_text {text, paragraphs:true} splits \n-separated lines into real paragraphs in one undo
step (otherwise \n is a line break inside one paragraph). Good for bulk prose; then restyle with
select_text + para.style. No AutoCorrect/AutoFormat runs on it.select_text {text:"phrase"} then execute format.bold (format.italic,
format.underline, format.color {color:"1F5C4A"}, format.highlight, format.size, format.font).
To format while typing: format.bold, text.insert, format.bold (toggle off).para.bullets / para.numbering {kind:"numbered|lowerLetter|lowerRoman|..."} on a
paragraph; para.listLevel {level} or para.demote/para.promote for nesting;
para.restartNumbering; custom/multilevel: list.define, list.multilevelPreset {preset:"headings|article|outlineHeadings|chapter"} (numbered headings).insert.table {rows, cols, style:"Table Grid"} leaves the caret in cell (0,0). Fill
cells with text.insert and move with text.tab (a literal tab character typed with
type_text stays in the same cell!). table.style, table.look {headerRow, bandedRows, ...},
table.shading {color} (affects the cell(s) at the caret/selection only: select
the whole table first with table.selectTable), table.borders, table.columnWidth {width},
table.autofit, table.cellAlign, table.repeatHeader, table.insertRowBelow, table.merge.
After a table, the next paragraph is the block after it: select.range to {path:[n], off:0}
of that paragraph (read the index with inspect_document) to keep typing.insert.picture {path, width, alt} (always give alt); picture.size,
picture.crop, picture.altText, picture.style. Put the caret on its own paragraph first.
No third-party logos or stock photos without the user's files.insert.chart {type, data:{categories, series:[{name, values}]}, title, legend}, insert.shape, insert.smartArt, insert.equation {latex}, insert.textBox.references.toc {levels, title} (requires heading styles; update with
references.updateToc after edits), references.footnote {text}, references.caption {label, text}, insert.link {url, text}, insert.bookmark, insert.crossReference,
references.citation/bibliography.insert.pageNumber {position:"bottom", align:"center", format:"x of y"}, insert.header {text}, insert.footer {text}, layout.differentFirstPage.
After editing a header/footer call insert.closeHeader to return to the body.review.trackChanges {value:true} before editing someone else's text;
review.newComment {text} on the selection; review.acceptAll/rejectAll; review.wordCount.
get_text returns the body text with tracked deletions omitted.edit.replaceAll {text, with, matchCase?}; edit.find.Set these once through styles (styles.modify {style, chr:{font,size,color,bold}, para:{spaceBefore, spaceAfter, lineSpacing, align}}), so every paragraph stays consistent; use design.themeFonts {heading, body} / design.themeColors for a whole-document look, design.styleSet,
design.paragraphSpacing.
para.lineSpacing {value:1.25}), 6-10 pt space
after, left-aligned (justify only when asked and with hyphenation layout.hyphenation).
Line length ~60-90 characters: with 11 pt text and 72 pt margins on Letter/A4 this is already right.para.keepNext) on headings, para.keepLines on short blocks.font.list {all:true} and prefer an installed family chosen for the reader (e.g. a less default
humanist sans or text serif the machine has, such as Source Sans 3 or Source Serif 4); Carlito and
Liberation are metric fallbacks, not a choice. Use at most two families. font.add {path} loads a TTF/OTF.design.themeFonts/design.themeColors, and let spacing and hierarchy carry the character.layout.margins), A4 or Letter (layout.size), orientation
layout.orientation; columns layout.columns {count}; page breaks text.pageBreak; sections
layout.break {kind:"nextPage"} for different orientation or numbering.para.spacing to separate blocks; NoSpacing style for address blocks.insert.coverPage {title, subtitle, author}), TOC, numbered headings,
captions on figures/tables, footnotes, page numbers, header with the title.new_document {template:"resume"} as a skeleton, restyle it; one page, restrained colour.para.alignRight in the cells), cell padding via the table style, repeat header row on long tables.table.altText), colour contrast >= 4.5:1, descriptive link text, file.accessibility
and review.issues (spelling/grammar) before delivering.open_document {path} (.docx .doc .odt .rtf .md .tex .html .txt .json; password if protected).
inspect_document for structure (blocks with styles, runs, lists, tables, sections, headers,
comments, pages), get_text for text. Edit in place with select_text/edit.replaceAll and
keep the existing styles; turn on review.trackChanges when the user wants to see the edits. Do not
overwrite the original: save_document {path} to a new name unless told otherwise.
After each major step:
inspect_document: check block order, style of each block (headings really are headings),
table cells content, list structure, pages count, sections[].props (page size, margins,
headers/footers). Look for empty paragraphs used as spacing, stray styles, text in the wrong
cell.render_page {page, scale} and look at it (scale 1 = 612x792 px; use 1.5-2 for detail):
alignment, rhythm, clipped tables, orphan headings at page bottom, wrong fonts, contrast. Render
every page of the final document (the pages count is in inspect_document and in the render result).edit.undo for a bad step.get_text for typos and numbers, run references.updateFields {all:true} (page
numbers, TOC, cross-references), then render every page again.save_document {path}: format from the extension: .docx (native, default choice), .pdf,
.odt, .rtf, .html, .md, .tex, .txt, .png (page image). Omit path to save in place
(only if opened from a file). Also file.saveAs, file.exportPdf {path}, file.exportPng {path, page, scale}, file.save {password} for encryption.offer-letter.docx). Report the full absolute path.file.properties {title, author} for deliverables.type_text with \t does not move between table cells; use text.tab. \n is a soft line
break unless paragraphs:true.batch, ids are command ids (text.insert), not tool names (type_text fails with "unknown command").para.normal / para.style.para.bullets {off:true}.table.shading, table.cellAlign etc. act on the selected cell(s): select the table/column first.insert.table leaves a trailing empty paragraph after the table; reuse it or delete it, do not
stack empty paragraphs as spacing.#. format.color {color:"auto"} resets.list_commands with no filter overflows the output; always filter.insert.closeHeader afterwards.references.updateToc, references.updateFields.save_document with no path saves in place: only valid for documents opened from a file.render_page of every page.Every document ends here, after the verify loop. The headless wordcraft MCP session has no
window, so the user cannot see the document until you save it and open the real app on it.
.docx with save_document {path} into the project directory (the
current working directory) or the path the user named, with a descriptive name. Note the full
absolute path.setsid wordcraft /abs/path/document.docx >/dev/null 2>&1 &
(wordcraft [--sample] [--control PORT] [FILE...] is the desktop app, /usr/bin/wordcraft;
.docx is its native format, also associated via ai.storyteller.wordcraft.desktop, so
setsid xdg-open /abs/path/document.docx >/dev/null 2>&1 & works when WordCraft is the default
handler.) If the app is already open and bridged on this document, do not launch a second copy.
Do not use --control unless the user wants live agent control.open_document {path}, because their edits live in the file, not
in your session), re-run the verify loop for what changed, save_document again, reopen/refresh
WordCraft on the file, and ask again. Repeat until the user accepts. If the user saved changes
in the app, load their version before editing so you do not overwrite it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dnviti/artcraft-skills --plugin artcraft-skills16 skills in this plugin
/artcraft-routerSelector for the ArtCraft skills: picks which ArtCraft skill(s) to load for a request and loads nothing else itself. Use when a creative request spans several ArtCraft apps (FigCraft, VectorCraft, DesignCraft, DeckCraft, PhotoCraft, LightCraft, FilmCraft, EffectCraft, SoundCraft, WordCraft, GridCraft, PdfCraft, CadCraft, SolidCraft) or when it is unclear which one fits: brand identity, landing page with custom icons, video with narration or animated titles, podcast from a script, magazine with retouched photos, report or deck with data, part plus drawing. Skip it when one skill clearly matches./cadcraft-drawingsDraft, dimension, annotate and plot 2D technical drawings in CadCraft (ArtCraft's AutoCAD-class 2D drafting app, driven through the `cadcraft` MCP server, tools mcp__cadcraft__*, or through `cadcraft-cli`). Use whenever the user mentions CadCraft or the cadcraft MCP tools, or asks for a 2D technical drawing: floor plan, site or room layout, elevation or section, mechanical/part drawing with dimensions, schematic or detail sheet, title block, layers, blocks, hatching, dimensions and annotations, plot or print to PDF at a scale (1:50, 1:100), or to open, inspect, fix, convert (DXF to DWG, SVG, PDF, PNG) or measure DXF/DWG files. Covers units and scale planning, layers, geometry, dimension styles, layouts and viewports, the render-and-verify loop, save/export and the mandatory show-and-approve phase. 3D parts (solid modelling, STEP/STL) belong to solidcraft-cad, vector artwork to vectorcraft-illustration, multi-page print layout to designcraft-layout./deckcraft-presentationsBuild and edit slide decks in DeckCraft (ArtCraft's PowerPoint-style presentation app, driven through the `deckcraft` MCP server, tools mcp__deckcraft__*). Use whenever the user mentions DeckCraft or the deckcraft MCP tools, or asks to create, design, restyle or edit a presentation, slide deck, pitch deck, keynote/talk, training or sales deck, or report-as-slides in/with DeckCraft (slides, layouts, themes, text, shapes, charts, tables, images, SmartArt, speaker notes, transitions, animations, .deckcraft/.pptx/.pdf output). Covers the outline, theme and layout choices, build, render-and-verify, save/export and the mandatory show-and-approve workflow. Not for cases where the user explicitly asked for another format or tool (a .pptx made with python-pptx, Google Slides, a Claude Slides artifact, PDF editing in PdfCraft, UI design in FigCraft)./designcraft-layoutLay out magazines, books, brochures, flyers, catalogues, designed annual reports and other multi-page print documents in DesignCraft (ArtCraft's InDesign-class layout app, via the `designcraft` MCP server or `designcraft-cli`). Use whenever the user mentions DesignCraft or the designcraft MCP tools, or asks for page layout or desktop publishing work: a magazine or book layout, spreads with facing pages, parent (master) pages, running heads and page numbers, columns and grids, paragraph/character styles, text flow across threaded frames, image placement, tables, table of contents, footnotes, bleed and crop marks, preflight, print-ready PDF/X, IDML/InDesign import/export, EPUB. Covers setup, parents, styles, content flow, render-and-verify and the mandatory show-and-approve phase. Single-flow documents (letters, reports, contracts) belong to wordcraft-documents, vector artwork and logos to vectorcraft-illustration, editing an existing PDF to pdfcraft-documents, UI design to figcraft-design./effectcraft-motionBuild motion graphics, animated titles, lower thirds, logo stings, kinetic typography, compositing and visual effects in EffectCraft (ArtCraft's After Effects-class compositor, via the `effectcraft` MCP server (mcp__effectcraft__*) or `effectcraft-cli`). Use whenever the user mentions EffectCraft or the effectcraft MCP tools, or asks for an animated composition, motion graphics, animated title/intro/lower third, keyframes, expressions, text animators, shape layers, particles, glow/blur/distortion, green-screen keying, rotoscoping, motion tracking, stabilizing, 3D cameras/lights, Lottie export, or to render a comp to MP4/ProRes/WebM/GIF/PNG sequence (with alpha); also .ecproj files. Covers comp, layers, keyframes, effects, frame-preview verify, render and the mandatory show-and-approve phase. Cutting/assembling footage on a timeline and colour grading belong to filmcraft-video, audio-only work to soundcraft-audio, still images to photocraft-images, static vector artwork to vectorcraft-illustration./figcraft-designDesign UI in FigCraft (ArtCraft's Figma-class design app, driven through the `figcraft` MCP server) and turn FigCraft designs into frontend code. Use whenever the user mentions FigCraft or the figcraft MCP tools, or asks to design a screen, app screen, mobile screen, landing page, dashboard, UI mockup, wireframe, design system, design tokens, color/text styles, variables, Light/Dark themes, components with variants, a clickable prototype or user flow; asks for a distinctive, unique, non-generic or 'not AI-looking' UI, a new product-UI visual direction, several divergent design directions to choose from or an art-director critique; or to implement, build, code up or hand off a FigCraft design (design to code, React, Tailwind, CSS variables, export assets/icons). Covers brief → divergent directions → tokens → anchor component → screens → screenshot-verify → adversarial review → prototype, with distinctive (non-generic) design as the default, and pixel-faithful implementation in the user's stack.Other plugins' skills for the same job