Individual skill
fill-protocol
Use when an institutional Word form (.doc/.docx IRB protocol, ethics application, grant template) must be filled without breaking its styles, tables, fonts or page layout. Renders content drafted by /write-protocol into the template; CJK-aware.
skills/fill-protocol/SKILL.md
Source commit cc462bc2069064b557c2fea12a1f83ed1fe67f66
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 373
- Repository last updated
- Nov 2, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- biostatistics Repository topic
- claude-code Repository topic
- claude-skills Repository topic
- clinical-research Repository topic
- diagnostic-accuracy Repository topic
- literature-review Repository topic
- manuscript Repository topic
- medical-ai Repository topic
- medical-research Repository topic
- meta-analysis Repository topic
- writing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 7,117 bytesSKILL.mdcore · 7,117 bytesSKILL.mdcore · 7,117 bytesSKILL.mdcore · 7,117 bytesSKILL.mdcore · 7,117 bytesSKILL.mdcore · 7,117 bytesSKILL.mdcore · 7,117 bytesSKILL.mdcore · 7,117 bytesSKILL.mdcore · 7,117 bytesSKILL.mdcore · 7,117 bytesexamples/example_irb_template.yamlasset · 2,063 bytesreferences/best_practices.mddoc · 7,145 bytesscripts/doc_to_docx.pyruns · 3,586 bytesscripts/fill_form.pyruns · 31,811 bytesscripts/inspect_template.pyruns · 1,853 bytessetup.shruns · 4,292 bytesskill.ymlasset · 1,481 bytestests/test_fill_form.shruns · 3,660 bytestests/test_fill_form_integrity.shruns · 9,962 bytestests/test_fill_form_newlines.shruns · 5,977 bytes
Read excerpt
# Fill-Protocol Skill
## Core Principles (Do Not Violate)
1. **Open the existing template — never create from scratch.** Use `Document(template_path)`, not
`Document()`: rebuilding loses the header logo, custom margins, footer placeholders and page
numbering. Replace cell/paragraph text in place; never a single `cell.text = "value"`
assignment, which erases run-level styles (bold, color, eastAsia font).
2. **Convert .doc → .docx via LibreOffice headless** before any editing. `pandoc -f doc` is not
supported; `textutil` corrupts table structure (merged cells dropped).
3. **Match cells by left-label text**, not row/column coordinates such as `table.cell(2, 1)`.
Templates evolve and coordinate matching breaks silently.
4. **Apply `cantSplit` to every filled row** so a row never breaks across pages.
5. **For CJK languages, set the `eastAsia` font attribute**, not just `run.font.name`, or