phuetz/code-buddy/xlsx
Claude Code and agent skill by phuetz/code-buddy
- community
Checking that the SKILL.md file is still in the repository.
Create and edit Excel spreadsheets (.xlsx): multiple sheets, live formulas, professional formatting, and data tables. Use whenever the user asks to build, populate, or modify a spreadsheet/workbook/Excel file.
Install
npx vskill@latest install phuetz/code-buddy/xlsxSKILL.md
Create & edit Excel spreadsheets with openpyxl
Build real .xlsx files with the open-source openpyxl library (available as python3 -c "import openpyxl"). Work in visible steps and verify before you report done.
Workflow (one step at a time)
- Plan the sheet(s), columns, and any formulas/totals.
- Write a short Python script (a heredoc through the
bashtool) that builds
the workbook with openpyxl and saves it to the requested path.
- Verify: reopen with
load_workbook(path)andassertthe key cells and
formulas are present, then print(path).
- Report the saved path and a one-line summary.
Quality conventions
- Header row: bold, light fill (
PatternFill('solid', fgColor='D9EAF7')), thin borders. - Use formulas, never hardcoded totals: e.g.
ws['B5'] = '=SUM(B2:B4)'. - Number formats: currency
'$#,##0;($#,##0);-', percent'0.0%', multiples'0.0x'. - Financial color convention (optional, for models): blue font (
Font(color='0000FF'))
for hardcoded inputs, black for formulas, green for cross-sheet links.
- Size column widths to content;
ws.freeze_panes = 'A2'to keep headers visible. - Deliver zero formula errors (
#REF!,#DIV/0!,#VALUE!, …).
Example
Reading / editing existing files
- Read values/formulas:
load_workbook(path)(usedata_only=Truefor cached results). - Edit in place: modify cells/styles and
save()back to the same path; preserve the
existing layout and formatting conventions rather than imposing new ones.
- For data analysis on large sheets,
pandas.read_excelis also available.
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 repositoryCheckingcowork/.claude/skills/xlsx/SKILL.md
Popularity
- 7-day trend score
- 0
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/phuetz/code-buddy/xlsx)