officecli-word-form
यह क्या करती है
यह स्किल AI एजेंट को ऐसे Word फ़ॉर्म बनाने में मार्गदर्शन देती है जिन्हें लोग भर सकें। यह HR टीमों, अनुबंध लिखने वालों और फ़ॉर्म, सर्वे या टेम्पलेट चाहने वाले किसी भी व्यक्ति के लिए है।
कब इस्तेमाल करें
- ✓जब आपको ऑनबोर्डिंग या HR इनटेक फ़ॉर्म चाहिए जिसे लोग Word में भरें।
- ✓जब आप अनुबंध या कार्य-विवरण का टेम्पलेट चाहें, जिसमें भरे जाने वाले फ़ील्ड हों।
- ✓जब आपको Word फ़ॉर्म चाहिए जिसमें केवल फ़ील्ड संपादित हो सकें।
Skill का लिंक
https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-word-form/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप भरे जाने योग्य Word ऑनबोर्डिंग फ़ॉर्म बना सकते हैं, जिसमें नाम, आरंभ तारीख और हाँ या नहीं का चेकबॉक्स हो, और बाकी सब लॉक हो?”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 30/10/2026
कमेंट
- …
इस repository की और skills
officecli
33kयह आपके एजेंट को officecli टूल से Word, Excel और PowerPoint फ़ाइलें बनाने, पढ़ने, जाँचने और संपादित करने देती है, बिना Office इंस्टॉल किए।
morph-ppt-3d
33kयह आपके एजेंट को 3D GLB मॉडल और स्लाइडों के बीच सहज Morph ट्रांज़िशन वाली PowerPoint डेक बनाने में मदद करती है।
morph-ppt
33kयह आपके एजेंट को सहज Morph ट्रांज़िशन वाली PowerPoint फ़ाइल बनाने में मदद करती है, जिसमें स्लाइडों के बीच आकृतियाँ चलें, बढ़ें या घूमें।
officecli-academic-paper
33kयह आपके एजेंट को उद्धरणों, समीकरणों और जर्नल-शैली लेआउट के साथ शोध पेपर, थीसिस या पांडुलिपि को Word फ़ाइल के रूप में फ़ॉर्मेट करने में मदद करती है।
मिलती-जुलती skills
feishu-doc
394kयह आपके एजेंट को document टूल से Feishu क्लाउड दस्तावेज़ पढ़ने, बनाने और बदलने में मदद करती है, जिसमें टेक्स्ट, इमेज और टेबल शामिल हैं।
feishu-drive
394kयह आपके एजेंट को बॉट के साथ साझा किए गए Feishu क्लाउड फ़ोल्डर में फ़ाइलें देखने, व्यवस्थित करने और उन पर टिप्पणी करने देती है।
feishu-perm
394kयह आपके एजेंट को Feishu फ़ाइल तक किसकी पहुंच है, यह जांचने और बदलने देती है, और आपके अनुरोध के लिए सबसे छोटी अनुमति चुनती है।