officecli-word-form
하는 일
이 스킬은 사람들이 작성할 수 있는 Word 양식을 만들도록 AI 에이전트를 안내합니다. 인사팀, 계약서 작성자, 양식이나 설문, 템플릿이 필요한 모든 사람을 위한 스킬입니다.
사용하는 경우
- ✓사람들이 Word에서 작성하는 입사 또는 인사 접수 양식이 필요할 때.
- ✓사람들이 내용을 채우는 계약서나 업무 기술서 템플릿이 필요할 때.
- ✓필드만 편집할 수 있는 Word 양식이 필요할 때.
스킬 링크
https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-word-form/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이름, 입사일, 예/아니오 체크박스가 있는 작성형 Word 입사 양식을 만들고, 나머지는 모두 잠가 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 문서에 콘텐츠 컨트롤, 체크박스, 메일 병합 필드를 추가한 뒤, 필드만 편집할 수 있도록 보호 기능을 켭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
OfficeCLI Word-Form Skill
This skill is INDEPENDENT, not a scene layer on docx. A form's payload — <w:sdt> controls, <w:ffData> legacy fields, <w:fldChar> mail-merge, documentProtection — is a distinct element class from docx's paragraph/heading/style primitives. Its QA is different too: docx's Delivery Gate cares about visual layout and live PAGE fields, this skill's cares about data plumbing (protection enforced / alias+tag / items injected / name ≤ 20 / no underscore anti-pattern). Reverse handoff: if the user's document has no fillable fields (report, letter, memo, thesis, proposal), route to officecli-docx or a docx scene skill — don't use this one.
BEFORE YOU START (CRITICAL)
If officecli is not installed:
macOS / Linux
if ! command -v officecli >/dev/null 2>&1; then
curl -fsSL https://d.officecli.ai/install.sh | bash
fi
Windows (PowerShell)
if (-not (Get-Command officecli -ErrorAction SilentlyContinue)) {
irm https://d.officecli.ai/install.ps1 | iex
}
Verify: officecli --version
If officecli is still not found after first install, open a new terminal and run the verify command again.
If the install command above fails (e.g. blocked by security policy, no network access, or insufficient permissions), install manually — download the binary for your platform from https://github.com/iOfficeAI/OfficeCLI/releases — then re-run the verify command.
Help-First Rule
This skill teaches what a real form needs, not every CLI flag. When a prop / alias / enum is uncertain, consult help BEFORE guessing: officecli help docx [element] [--json] (e.g. sdt, formfield, field). Help is pinned to the installed CLI version and is authoritative — when this skill and help disagree, help wins (the prop set on sdt in particular has grown over time; trust help docx sdt, not a hardcoded list).
Mental Model & Inheritance
A Word form is a .docx plus four OpenXML payload layers plain-docx skills do not touch: <w:sdt> content controls (types: text / richtext / dropdown / combobox / date / picture / group), <w:ffData> legacy FormField (still the only way to get a real checkbox — SDT type=checkbox is not implemented), <w:fldChar> complex fields (MERGEFIELD, REF, PAGEREF, SEQ, IF — template-time, not user-fill), and documentProtection (the lock that makes non-field text read-only in Word — and, on the CLI, protection=forms locks non-field content edits (those need --force or raw-set) but still allows form-field (SDT) edits, which is the point of forms protection).
No inheritance from docx v2. docx's Delivery Gate (cover-fill %, live-PAGE check) does NOT apply — form QA is view forms + query sdt alias+tag + protectionEnforced.
Reverse handoff to docx. Route back to officecli-docx for reports / letters / memos / thesis / pitch decks / any document with no editable fields. Use this skill when the document's purpose is data capture or template merge.
Shell & Execution Discipline
One command at a time. Read output before the next. OfficeCLI is incremental — every add / set / remove immediately mutates the file. All recipes below use FILE=form.docx as a shell variable.
Three shell-escape layers:
- Quote every path with
[N]— zsh/bash glob-expand brackets.officecli get "$FILE" /body/sdt[1]fails withno matches found. Correct:officecli get "$FILE" '/body/sdt[1]'. - Single-quote any prop containing
$—"Total: $50,000"becomes"Total: ,000"after$50variable expansion. Correct:'Total: $50,000'. --after find:<text>uses outer single quotes, never inner double quotes —--after find:"Client Signature:"makes the quotes part of the search string; match fails. Correct:--after 'find:Client Signature:'.
WARNING: UNSUPPORTED (exit 2) is a silently-wrong element. The CLI created the element without the rejected prop (exit 2 = ran with caveats; only when every prop is refused does --json report success: false). Any UNSUPPORTED in your build log means a prop name the current CLI does not accept on that element — stop, check help docx <element> for the right prop name (most SDT props such as items/format/lock ARE accepted now; maxlength is not), fix the command, and re-run. Do not ship on top.
protection=forms is the LAST structural command. Once it is set, protection=forms locks non-field content (tho
자주 묻는 질문
콘텐츠 컨트롤이란 무엇인가요?
텍스트 필드나 드롭다운처럼 사람들이 채울 수 있는 Word의 입력 상자입니다.
양식이 문서의 나머지 부분을 잠글 수 있나요?
네. 스킬은 채울 수 있는 필드만 바꿀 수 있도록 문서 보호를 다룹니다.
언제 이 스킬을 쓰지 않아야 하나요?
작성할 필드가 없는 보고서나 편지에는 일반 Word 스킬을 쓰라고 스킬이 말합니다.
상세 정보
작성자의 원본 설명
Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document', 'onboarding form', 'HR intake', 'survey template', 'contract / SOW template', 'mail-merge template', 'compliance checklist', 'medical intake questionnaire'. Output is a single .docx where specific fields are editable and the rest is locked. This skill is INDEPENDENT, not a scene layer
repo: iOfficeAI/OfficeCLI
인기도
- GitHub 스타
- 33k
- 순위
- #9136
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 30.
댓글
- …
이 저장소의 다른 스킬
officecli
33k에이전트가 officecli 도구로 Office를 설치하지 않고도 Word, Excel, PowerPoint 파일을 만들고, 읽고, 확인하고, 편집하도록 돕습니다.
morph-ppt-3d
33k에이전트가 3D GLB 모델과 슬라이드 사이의 부드러운 Morph 전환 효과를 넣은 PowerPoint 발표 자료를 만들도록 돕습니다.
morph-ppt
33k에이전트가 슬라이드 사이에서 도형이 움직이거나 커지거나 회전하는 부드러운 Morph 전환 효과가 있는 PowerPoint 파일을 만들도록 돕습니다.
officecli-academic-paper
33k에이전트가 인용, 수식, 저널 스타일 레이아웃을 갖춘 연구 논문, 학위논문, 원고를 Word 파일로 서식 지정하도록 돕습니다.
비슷한 스킬
feishu-doc
394k에이전트가 문서 도구를 사용해 텍스트, 이미지, 표를 포함한 Feishu 클라우드 문서를 읽고, 만들고, 편집하도록 돕습니다.
feishu-drive
394k에이전트가 봇과 공유된 Feishu 클라우드 폴더의 파일을 찾아보고, 정리하고, 댓글을 달도록 돕습니다.
feishu-perm
394k에이전트가 요청을 충족하는 가장 작은 권한을 골라, Feishu 파일에 누가 접근할 수 있는지 확인하고 바꾸도록 돕습니다.