docx
यह क्या करती है
यह स्किल AI को Microsoft Word फ़ाइलें लिखने और बदलने में मदद करती है। यह उन लोगों के लिए है जिन्हें रिपोर्ट, पत्र, अनुबंध या प्रस्ताव पॉलिश्ड Word फ़ॉर्मेट में चाहिए।
कब इस्तेमाल करें
- ✓जब आप रिपोर्ट, प्रस्ताव, पत्र या अनुबंध जैसा Word दस्तावेज़ माँगते हैं।
- ✓जब आप किसी मौजूदा .docx फ़ाइल को बदलना या उस पर मार्कअप करना चाहते हैं।
- ✓जब आपको विषय-सूची, फ़ुटनोट या टिप्पणियाँ जैसी उन्नत Word सुविधा चाहिए।
Skill का लिंक
https://github.com/spinabot/brigade/blob/main/skills/docx/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“दो पन्नों का एक प्रोजेक्ट प्रस्ताव Word में बनाइए, जिसमें विषय-सूची, स्टाइल वाली बजट टेबल और पेज हेडर हों।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
त्वरित ड्राफ़्ट के लिए AI एक सरल बिल्डर इस्तेमाल करता है। ज़्यादा विस्तार के लिए वह docx लाइब्रेरी के साथ एक स्क्रिप्ट लिखता है और फिर फ़ाइल खोलकर जाँचता है। मौजूदा ब्रांडेड फ़ाइलें उनकी शैली बदले बिना भरी जा सकती हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
docx — professional Word documents
Pick the lightest path that meets the need. Never declare a document done without opening/validating the result at least once (see Verify).
| Need | Path |
|---|---|
| Simple structured doc (headings, paragraphs, bullets, a basic table, an image) | Path 1 — make_document tool |
| Anything richer (custom styles, numbered/multi-level lists, merged/shaded table cells, headers/footers, TOC, hyperlinks, footnotes, inline bold/italic/color, tracked changes, comments) | Path 2 — script the docx library via brigade exec-node |
Fill / redline an EXISTING branded .docx without disturbing its styling |
Path 3 — OOXML round-trip |
| Markdown → branded Word inheriting a corporate template | Path 4 — pandoc (optional) |
Path 1 — quick structured doc (make_document tool)
make_document(format="docx", content={ title, sections:[{heading, level, paragraphs, bullets, table:{rows}, image:{path}}] })
Good for a fast first draft. It is deliberately limited (single-level bullets, string-only tables, no inline formatting). The moment you need more, go to Path 2 — don't fight the schema.
Path 2 — full power: script the docx library
Brigade bundles the docx library (dolanmiu/docx). Write a CommonJS script and run it with brigade exec-node, which makes Brigade's bundled libraries require()-able from anywhere (no install):
writea filegen.cjs.- Run:
brigade exec-node gen.cjs
// gen.cjs — illustrative; adapt to the content
const fs = require("node:fs");
const {
Document, Packer, Paragraph, TextRun, HeadingLevel, AlignmentType,
Table, TableRow, TableCell, WidthType, BorderStyle, ShadingType,
LevelFormat, Header, Footer, PageNumber, TableOfContents, ExternalHyperlink,
} = require("docx");
const doc = new Document({
styles: { default: { document: { run: { font: "Calibri", size: 22 } } }, // size is half-points (22 = 11pt)
paragraphStyles: [{ id: "Body", name: "Body", run: { size: 22 }, paragraph: { spacing: { after: 160 } } }] },
numbering: { config: [{ reference: "nums", levels: [{ level: 0, format: LevelFormat.DECIMAL, text: "%1.", alignment: AlignmentType.START }] }] },
sections: [{
properties: { page: { size: { width: 12240, height: 15840 } } }, // US Letter, in DXA (1440 = 1 inch)
headers: { default: new Header({ children: [new Paragraph("Acme Corp — Confidential")] }) },
footers: { default: new Footer({ children: [new Paragraph({ children: [new TextRun("Page "), new TextRun({ children: [PageNumber.CURRENT] })] })] }) },
children: [
new Paragraph({ text: "Q3 Business Review", heading: HeadingLevel.TITLE }),
new TableOfContents("Contents", { hyperlink: true, headingStyleRange: "1-3" }),
new Paragraph({ text: "Summary", heading: HeadingLevel.HEADING_1 }),
new Paragraph({ children: [ new TextRun("Revenue was "), new TextRun({ text: "$1.2M", bold: true }), new TextRun(" — up 18%.") ] }),
new Paragraph({ text: "First item", numbering: { reference: "nums", level: 0 } }),
new Paragraph({ children: [ new ExternalHyperlink({ children: [new TextRun({ text: "Full data", style: "Hyperlink" })], link: "https://example.com" }) ] }),
new Table({
columnWidths: [4680, 4680], // DXA, sum = content width
rows: [
new TableRow({ tableHeader: true, children: ["Metric","Value"].map((t) =>
new TableCell({ width: { size: 4680, type: WidthType.DXA }, shading: { type: ShadingType.CLEAR, fill: "D9E2F3" },
children: [new Paragraph({ children: [new TextRun({ text: t, bold: true })] })] })) }),
new TableRow({ children: ["Revenue","$1.2M"].map((t) =>
new TableCell({ width: { size: 4680, type: WidthType.DXA }, children: [new Paragraph(t)] })) }),
],
}),
],
}],
});
Packer.toBuffer(doc).then((buf) => { fs.writeFileSync(process.argv[2] || "out.docx", buf); console.log("wrote", process.argv[2] || "out.docx"); });
The docx library also supports: footnotes (FootnoteReferenceRun + footnotes), comments, tracked changes (InsertedTextRun/DeletedTextRun with author/date), multi-section layouts, page breaks, columns, internal bookmarks, and images inside table cells. Read its API as needed — anything Word can express, this can author.
Path 3 — fill / redline an EXISTING .docx (highest fidelity)
To f
अक्सर पूछे जाने वाले सवाल
क्या यह मौजूदा Word फ़ाइल बदल सकती है?
हाँ। यह मौजूदा ब्रांडेड फ़ाइल में भर सकती है या उस पर मार्कअप कर सकती है, और उसकी शैली बनी रहती है।
क्या यह फ़ाइल बनाने के बाद उसकी जाँच करती है?
हाँ। काम पूरा मानने से पहले स्किल दस्तावेज़ खोलकर उसकी वैधता जाँचती है।
क्या इसमें ट्रैक्ड बदलाव होते हैं?
हाँ। स्किल Word दस्तावेज़ में ट्रैक्ड बदलाव और टिप्पणियाँ जोड़ सकती है।
जानकारी
लेखक का मूल विवरण
Create and edit Microsoft Word (.docx) documents to a professional standard — reports, proposals, contracts, letters, memos — with custom styles, multi-level lists, styled/merged tables, headers/footers, table of contents, hyperlinks, footnotes, tracked changes and comments. Use when the user asks Brigade to make, write, draft, fill, redline, or edit a Word document or .docx file.
repo: spinabot/brigade
लोकप्रियता
- GitHub स्टार
- 11k
- रैंकिंग में स्थान
- #11717
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
1password
11kयह आपके एजेंट को 1Password कमांड लाइन टूल सेट करना और सुरक्षित तरीके से साइन इन करना सिखाती है, फिर ज़रूरत पर संग्रहीत सीक्रेट पढ़ने या डालने देती है।
apple-reminders
11kयह आपके एजेंट को टर्मिनल से Apple Reminders देखने, जोड़ने, बदलने, पूरा करने और हटाने देती है, जिसमें सूचियाँ और तारीख के फ़िल्टर भी शामिल हैं।
bluebubbles
11kयह आपके एजेंट को BlueBubbles के ज़रिए iMessage भेजने और संभालने देती है, जिसमें टेक्स्ट, अटैचमेंट, टैपबैक रिएक्शन, संपादन और ग्रुप सेटिंग्स शामिल हैं।
camsnap
11kयह आपके एजेंट को उन नेटवर्क सिक्योरिटी कैमरों से स्नैपशॉट, छोटी क्लिप लेने या मूवमेंट पर नज़र रखने देती है, जो आप पहले से सेट कर चुके हैं।
मिलती-जुलती skills
feishu-doc
394kयह आपके एजेंट को document टूल से Feishu क्लाउड दस्तावेज़ पढ़ने, बनाने और बदलने में मदद करती है, जिसमें टेक्स्ट, इमेज और टेबल शामिल हैं।
feishu-drive
394kयह आपके एजेंट को बॉट के साथ साझा किए गए Feishu क्लाउड फ़ोल्डर में फ़ाइलें देखने, व्यवस्थित करने और उन पर टिप्पणी करने देती है।
feishu-perm
394kयह आपके एजेंट को Feishu फ़ाइल तक किसकी पहुंच है, यह जांचने और बदलने देती है, और आपके अनुरोध के लिए सबसे छोटी अनुमति चुनती है।