/aif-skills:docx-code-formatterfrom aif-skills
Format terminal commands, script blocks, and inline technical identifiers in DOCX documents. Use when formatting code or commands inside Word documents.
Ships in aif-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.
Read when SKILL.md points to them; scripts run unread.
Format CLI commands, script blocks, and inline technical identifiers in Microsoft Word (.docx) files with the bundled Python script.
--output to write a separate formatted file unless the user explicitly authorizes an in-place edit.replacements rule to split it into prose and a command block.scripts/format_docx.py and visually inspect the output in Word or a DOCX renderer. Use --inline-only or --block-only when only one transformation is wanted.python scripts/format_docx.py --file "input.docx" --output "formatted.docx" --config "config.json"
The script requires python-docx. It recognizes common paths, XML tags, identifiers with underscores, selected file extensions, URLs, IPv4 addresses, and template placeholders as inline code. Add custom_keywords to the JSON configuration for domain-specific identifiers.
{
"custom_keywords": ["myCustomVariable"],
"replacements": [
{
"pattern": "Update packages: sudo apt update.",
"text": "Update packages:",
"commands": ["# sudo apt update"]
}
]
}
Each replacement supports exact matching by default, or "match_type": "startswith". To turn subsequent paragraphs into one command block, use collect_until_any (an array of stop prefixes) and optionally prepend_prompt.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub aifgrouplaos/ai-skills --plugin aif-skills41 skills in this plugin
/ask-mattAsk which skill or flow fits your situation. A router over the skills in this repo./cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
/cherry-pick-to-mainPrepare a feature branch created from `develop` for a selected target branch such as `main` or `uat`, creating a target-prefixed branch and cherry-picking only that feature's commits. Use when a feature needs a separate branch based on a chosen target./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-reviewReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X"./debug-mantraFour-mantra debugging discipline — reproduce, trace the fail path, falsify the hypothesis, cross-reference every breadcrumb. Recite the mantra block verbatim at the start of any debugging session, then apply the four steps in order before proposing any fix. Trigger on /debug-mantra and proactively whenever debugging starts — user reports a bug, says something is broken/throwing/failing, asks to debug/diagnose/investigate an issue, or pastes a stack trace or error log.