xlsx
Fungsinya
Skill ini membantu AI membuat dan mengubah buku kerja Excel. Skill ini ditujukan untuk orang yang membutuhkan anggaran, pelacak, model keuangan sederhana atau lembar data yang berformat.
Kapan dipakai
- βSaat Anda meminta spreadsheet, buku kerja atau berkas Excel.
- βSaat Anda menginginkan model keuangan yang totalnya diperbarui ketika input berubah.
- βSaat Anda perlu mengedit berkas Excel yang sudah ada, misalnya menambahkan daftar pilihan atau rumus.
Link skill
https://github.com/spinabot/brigade/blob/main/skills/xlsx/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuat spreadsheet anggaran bulanan dengan pemasukan, pengeluaran dan total yang diperbarui otomatis saat saya mengubah angka.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI menulis rumus Excel yang sebenarnya, bukan hasil yang diketik langsung, sehingga totalnya tetap aktif. AI menyimpan angka sebagai angka, menerapkan format tampilan seperti mata uang, dan memberi gaya pada lembar. AI juga dapat memeriksa berkas dari error rumus.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
xlsx β professional spreadsheets & models
| Need | Path |
|---|---|
| Simple table / multi-sheet dump (headers + rows, optional per-column number format) | Path 1 β make_document tool |
| Live formulas, cell styling, conditional formatting, dropdowns, named ranges, freeze panes, merged cells, dates | Path 2 β script the exceljs library via brigade exec-node |
| Surgical edits to an existing workbook | Path 3 β edit_document tool |
| Guarantee no formula errors / get computed values | Path 4 β recalc-verify loop (optional soffice) |
The two non-negotiable rules (they separate a real model from a hack):
- Formulas, never hardcoded results. Write the Excel formula string (
=B5*(1+$B$6)), never compute the number in code and paste a literal β so the sheet stays live when inputs change. This applies to every total, percentage, ratio, and growth. - Numbers are numbers. Store
1200000, format for display ($#,##0) β never the string"$1.2M", or it won't sum or sort.
Path 1 β quick table (make_document tool)
make_document(format="xlsx", content={ sheets:[{ name, header, rows, numberFormats }] })
Cells may be string | number | {formula, numFmt}. Fine for a straight data table. For styling, validation, charts, or a model β Path 2.
Path 2 β full power: script the exceljs library
Brigade bundles exceljs. write a gen.cjs, then run brigade exec-node gen.cjs:
// gen.cjs β illustrative
const ExcelJS = require("exceljs");
const wb = new ExcelJS.Workbook();
const ws = wb.addWorksheet("Model", { views: [{ state: "frozen", ySplit: 1 }] }); // freeze header row
ws.columns = [
{ header: "Item", key: "item", width: 28 },
{ header: "FY24 ($)", key: "v", width: 16, style: { numFmt: "$#,##0" } },
];
ws.getRow(1).font = { bold: true };
ws.getRow(1).fill = { type: "pattern", pattern: "solid", fgColor: { argb: "FFD9E2F3" } };
// Assumptions block β blue font marks hardcoded INPUTS (banker convention)
ws.getCell("E1").value = "Growth"; ws.getCell("E2").value = 0.18;
ws.getCell("E2").numFmt = "0.0%"; ws.getCell("E2").font = { color: { argb: "FF0000FF" } };
wb.definedNames.add("Model!$E$2", "growth"); // named range
ws.addRow({ item: "Revenue", v: 1200000 });
ws.addRow({ item: "Next year", v: { formula: "B2*(1+growth)" } }); // FORMULA, references the named input
ws.getCell("B3").font = { color: { argb: "FF000000" } }; // black = formula
// dropdown + conditional formatting
ws.getCell("A6").dataValidation = { type: "list", allowBlank: false, formulae: ['"Low,Med,High"'] };
ws.addConditionalFormatting({ ref: "B2:B3", rules: [
{ type: "cellIs", operator: "lessThan", formulae: ["0"], style: { font: { color: { argb: "FFFF0000" } } } } ]});
wb.xlsx.writeFile(process.argv[2] || "out.xlsx").then(() => console.log("wrote"));
exceljs covers: number/date formats, font/fill/border/alignment, conditional formatting, data-validation dropdowns, named ranges, freeze panes, autofilter, merged cells, images, sheet protection, multi-sheet. Dates: pass a real new Date(...) and set a date numFmt (don't pass a string).
Path 3 β edit an existing workbook (edit_document tool)
set_cells {sheet?, cells:[{ref|row,col, value, numFmt?}]}β surgical edits; other sheets untouched.append_rows {sheet?, rows}β grow a table. When editing someone's workbook, match its existing conventions exactly (column order, units, formats) β the template always wins over the defaults here.
Path 4 β recalc-verify loop (the quality guarantee)
exceljs stores formula strings but does not evaluate them β a typo (#REF!, #DIV/0!) is invisible until the file is opened. If LibreOffice is present, force a recalc and inspect; otherwise hand-check ranges and keep formulas simple.
command -v soffice >/dev/null 2>&1 && soffice --headless --convert-to pdf --outdir /tmp out.xlsx # then read the PDF: no #REF!/#DIV/0! anywhere
Loop: build β recalc β if any error token appears, fix the formula β recalc again. Target: zero formula errors in the delivered file.
Conventions (banker-grade, optional but professional)
- Cell-color convention: blue font = hardcoded inputs, black = formulas, green = links to other sheets, red = links to external files; yellow fill = key assumptions.
- Isolate assumptions in their own cells and reference them **absolutel
Pertanyaan umum
Apakah total akan diperbarui ketika saya mengubah sebuah nilai?
Ya. Skill menulis rumus alih-alih hasil tetap, sehingga spreadsheet tetap aktif.
Bisakah menambahkan daftar pilihan?
Bisa. Skill dapat menambahkan daftar pilihan validasi data, rentang bernama, panel beku dan sel gabungan.
Bisakah mengedit spreadsheet yang sudah saya punya?
Bisa. Skill dapat membuat perubahan yang hati-hati dan terarah pada buku kerja yang sudah ada.
Detail
Deskripsi asli dari pembuat
Build and edit professional Excel (.xlsx) spreadsheets, workbooks, and simple financial models β live formulas, number/date/currency formats, cell styling, conditional formatting, data-validation dropdowns, named ranges, frozen panes, merged cells, multi-sheet. Use when the user asks Brigade to make, fill, update, model, or edit a spreadsheet, workbook, or .xlsx file.
repo: spinabot/brigade
Popularitas
- Bintang GitHub
- 11k
- Peringkat
- #11744
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
1password
11kMengajari agent Anda menyiapkan alat baris perintah 1Password dan masuk dengan aman, lalu membaca atau menyisipkan rahasia yang tersimpan saat dibutuhkan.
apple-reminders
11kMembantu agent Anda melihat, menambah, mengedit, menyelesaikan dan menghapus Apple Reminders dari terminal, termasuk daftar dan filter tanggal.
bluebubbles
11kMembantu agent Anda mengirim dan mengelola iMessage melalui BlueBubbles, termasuk pesan teks, lampiran, reaksi tapback, pengeditan dan pengaturan grup.
camsnap
11kMembantu agent Anda mengambil foto cepat, klip pendek atau memantau gerakan dari kamera keamanan jaringan yang sudah Anda siapkan.
Skill serupa
feishu-doc
394kMembantu agent Anda membaca, membuat, dan mengedit dokumen cloud Feishu, termasuk teks, gambar, dan tabel, dengan memakai alat dokumen.
feishu-drive
394kMemungkinkan agent Anda menelusuri, mengatur, dan memberi komentar pada file di folder cloud Feishu yang sudah dibagikan kepada bot.
feishu-perm
394kMembantu agent Anda memeriksa dan mengubah siapa yang dapat mengakses file Feishu, dengan memilih izin terkecil yang memenuhi permintaan Anda.