teinam/kiro-with-harness/xlsx-generation
Claude Code and agent skill by teinam/kiro-with-harness
- community
Checking that the SKILL.md file is still in the repository.
Generate Excel .xlsx workbooks — sheets, styled tables, live formulas, and charts — with openpyxl (formulas/editing), XlsxWriter (fast/large/streamed), or pandas.to_excel (quick DataFrame dumps). Use when the user wants a spreadsheet report, financial model, or data export as a real .xlsx file.
Install
npx vskill@latest install teinam/kiro-with-harness/xlsx-generationSKILL.md
The same SKILL.md was published earlier as teinam/kiro-with-harness/xlsx-generation.
XLSX Generation
Produce spreadsheets that stay dynamic — real formulas, correct values, zero errors.
Tool Selection
| Tool | Use when | Cannot | |
|---|---|---|---|
| openpyxl | Need formulas, formatting, or to edit an existing workbook | Slower/more memory; writes formula strings without their computed values | |
| XlsxWriter | Brand-new large report; richest charts; stream huge data with constant_memory=True | Write-only — cannot read/modify existing files | |
| pandas.to_excel | Quick tabular dump; multi-sheet via ExcelWriter | Thin styling; delegates to openpyxl/xlsxwriter |
Choose: edit existing / formulas back → openpyxl; large/streamed/charts → XlsxWriter; DataFrame → pandas.
Hello World (openpyxl: heading + table + live formula)
Gotchas (encode these)
- Use Excel formulas, never hardcode computed values. Write
ws["B5"] = "=SUM(B3:B4)", notws["B5"] = 175. This keeps the sheet dynamic when the user edits inputs. - openpyxl stores the formula string but not its value. Until Excel/LibreOffice opens and recalculates, formula cells read blank/stale. If the deliverable must show values (or you validate correctness), recalc via LibreOffice (
soffice --headless --convert-to xlsx --calcor a recalc script) and scan for#REF!,#DIV/0!,#VALUE!,#NAME?. - Deliver with zero formula errors. Recalc, fix, re-run until clean.
- `data_only=True` + save destroys formulas — that mode reads cached values only; never save a workbook loaded that way.
- Financial-model color convention: blue = inputs, black = formulas, green = cross-sheet links, red = external links.
- Large data: XlsxWriter with
constant_memory=Truestreams row-by-row; openpyxlwrite_only=Truemode for big writes.
Charts & Multiple Sheets
- openpyxl:
from openpyxl.chart import BarChart, Reference→ buildReferenceranges →ws.add_chart(chart, "E2"). - Multiple sheets:
wb.create_sheet("Summary"); with pandas use oneExcelWriterand multipledf.to_excel(writer, sheet_name=...).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/xlsx-generation/SKILL.md
Popularity
- Repository stars
- 14
- Repository forks
- 5
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/teinam/kiro-with-harness/xlsx-generation)