Langsung ke konten
Skillpedia
PDF, Word & slide11k ยท #11717

docx

Fungsinya

Skill ini membantu AI menulis dan mengubah berkas Microsoft Word. Skill ini ditujukan untuk orang yang membutuhkan laporan, surat, kontrak atau proposal dalam format Word yang rapi.

Kapan dipakai

  • โœ“Saat Anda meminta dokumen Word seperti laporan, proposal, surat atau kontrak.
  • โœ“Saat Anda ingin mengedit atau memberi tanda pada berkas .docx yang sudah ada.
  • โœ“Saat Anda membutuhkan fitur Word yang lebih lanjut, seperti daftar isi, catatan kaki atau komentar.

Link skill

https://github.com/spinabot/brigade/blob/main/skills/docx/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/spinabot/brigade/blob/main/skills/docx/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œSusun draf proposal proyek dua halaman dalam Word, dengan daftar isi, tabel anggaran bergaya dan header halaman.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Untuk draf cepat, AI memakai pembuat sederhana. Untuk detail lebih banyak, AI menulis skrip dengan pustaka docx lalu membuka berkas untuk memeriksanya. Berkas bermerek yang sudah ada dapat diisi tanpa mengubah gayanya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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):

  1. write a file gen.cjs.
  2. 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

Pertanyaan umum

Bisakah mengedit berkas Word yang sudah ada?

Bisa. Skill dapat mengisi atau memberi tanda pada berkas bermerek yang sudah ada sambil mempertahankan gayanya.

Apakah berkas diperiksa setelah dibuat?

Ya. Skill membuka dan memvalidasi dokumen sebelum menyatakan pekerjaan selesai.

Apakah perubahan yang dilacak didukung?

Ya. Skill dapat menambahkan perubahan yang dilacak dan komentar ke dokumen Word.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
11k
Peringkat
#11717
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa