Spreadsheet Engineer
Build and revise professional spreadsheets for Excel (XLSX) and Google Sheets. Prefer safe, incremental edits over rebuilds. Validate before considering the work done.
Workflow
- Clarify the platform, goal, audience, inputs, outputs, and must-preserve features.
- For existing spreadsheets, inspect before editing. Inventory sheets, ranges, formulas, formats, validations, controls, charts, and protection.
- Plan the workbook structure and sources of truth.
- Make the smallest reliable change. Prefer surgical edits over rebuilding sheets.
- Apply formulas, validation controls, formatting, and visualizations as required.
- Re-read or reopen the result and validate calculations, structure, controls, and presentation.
- Report what changed, how to use it, what was validated, and any limitations.
Reference routing
Read only the references relevant to the task:
- references/workbook-design.md — workbook architecture, tabular design, scalability, naming, and safe editing.
- references/visual-style.md — formatting, controls, conditional formatting, and dashboard presentation.
- references/formulas.md — formula construction, portability, extension, rounding, and validation.
- references/xlsx-engine.md — safe XLSX loading, inspection, validation, preservation, and openpyxl limitations.
- references/excel-desktop-qa.md — Microsoft Excel recalculation, PDF rendering, COM safety, and true rendered QA on Windows.
- references/visual-qa.md — PDF page rendering and required image-based inspection for visual validation.
- references/google-sheets.md — required workflow for creating or editing Google Sheets.
- references/google-sheets-api.md — official Google Sheets API authentication, read-only inspection, dependencies, and future write architecture.
For most new workbooks, read workbook design, visual style, and formulas. For XLSX implementation, inspection, or validation, also read the XLSX engine reference. When Microsoft Excel recalculation or PDF export is needed on Windows, read the Excel desktop QA reference. When rendered visual inspection is required, also read the visual QA reference. For Google Sheets tasks, read the Google Sheets workflow reference; when official API authentication, inspection, or future integration is relevant, also read the Google Sheets API reference. For a narrow edit, read only the references governing the affected features.
Core safety rules
- Never overwrite formulas with hardcoded values unless explicitly requested.
- Preserve unrelated formulas, formats, validations, checkboxes, conditional formatting, charts, named ranges, and protection.
- Do not clear or replace whole sheets when a targeted edit is sufficient.
- Do not use CSV or another lossy round-trip for a workbook that must retain spreadsheet features.
- Keep this skill instruction-first. Do not add scripts, APIs, integrations, or dependencies unless the user asks.
Validation gate
Do not consider a spreadsheet finished until relevant checks pass:
Fix issues before delivery. Briefly report what was validated.
Output to the user
When finishing a task, provide:
- File path or Sheet link/name
- How to use inputs vs what is calculated
- Notable formulas or rules added
- Validation summary (what was checked)
- Any platform limitations or follow-ups
1---2name: excel3description: Create, edit, improve, and validate professional Excel XLSX and Google Sheets spreadsheets—formulas, formatting, checkboxes, dropdowns, conditional formatting, charts, dashboards, and accounting tables. Use when building or revising spreadsheets, .xlsx files, Google Sheets, workbook formulas, data validation, or financial/accounting tables; or when the user asks to improve or validate an existing sheet without breaking formulas, formatting, or controls.4---56# Spreadsheet Engineer78Build and revise professional spreadsheets for Excel (XLSX) and Google Sheets. Prefer safe, incremental edits over rebuilds. Validate before considering the work done.910## Workflow11121. Clarify the platform, goal, audience, inputs, outputs, and must-preserve features.132. For existing spreadsheets, inspect before editing. Inventory sheets, ranges, formulas, formats, validations, controls, charts, and protection.143. Plan the workbook structure and sources of truth.154. Make the smallest reliable change. Prefer surgical edits over rebuilding sheets.165. Apply formulas, validation controls, formatting, and visualizations as required.176. Re-read or reopen the result and validate calculations, structure, controls, and presentation.187. Report what changed, how to use it, what was validated, and any limitations.1920## Reference routing2122Read only the references relevant to the task:2324- [references/workbook-design.md](references/workbook-design.md) — workbook architecture, tabular design, scalability, naming, and safe editing.25- [references/visual-style.md](references/visual-style.md) — formatting, controls, conditional formatting, and dashboard presentation.26- [references/formulas.md](references/formulas.md) — formula construction, portability, extension, rounding, and validation.27- [references/xlsx-engine.md](references/xlsx-engine.md) — safe XLSX loading, inspection, validation, preservation, and openpyxl limitations.28- [references/excel-desktop-qa.md](references/excel-desktop-qa.md) — Microsoft Excel recalculation, PDF rendering, COM safety, and true rendered QA on Windows.29- [references/visual-qa.md](references/visual-qa.md) — PDF page rendering and required image-based inspection for visual validation.30- [references/google-sheets.md](references/google-sheets.md) — required workflow for creating or editing Google Sheets.31- [references/google-sheets-api.md](references/google-sheets-api.md) — official Google Sheets API authentication, read-only inspection, dependencies, and future write architecture.3233For most new workbooks, read workbook design, visual style, and formulas. For XLSX implementation, inspection, or validation, also read the XLSX engine reference. When Microsoft Excel recalculation or PDF export is needed on Windows, read the Excel desktop QA reference. When rendered visual inspection is required, also read the visual QA reference. For Google Sheets tasks, read the Google Sheets workflow reference; when official API authentication, inspection, or future integration is relevant, also read the Google Sheets API reference. For a narrow edit, read only the references governing the affected features.3435## Core safety rules3637- Never overwrite formulas with hardcoded values unless explicitly requested.38- Preserve unrelated formulas, formats, validations, checkboxes, conditional formatting, charts, named ranges, and protection.39- Do not clear or replace whole sheets when a targeted edit is sufficient.40- Do not use CSV or another lossy round-trip for a workbook that must retain spreadsheet features.41- Keep this skill instruction-first. Do not add scripts, APIs, integrations, or dependencies unless the user asks.4243## Validation gate4445Do not consider a spreadsheet finished until relevant checks pass:4647- [ ] Every output matches the stated business rules on sample inputs48- [ ] No `#REF!`, `#VALUE!`, `#DIV/0!`, `#N/A` in normal paths (or errors are intentional and handled)49- [ ] Edge cases: empty inputs, zeros, negative amounts where relevant50- [ ] Dropdowns/checkboxes still work; new rows covered if applicable51- [ ] Conditional formats and charts still point at correct ranges52- [ ] Unrelated existing formulas/formats/validations unchanged53- [ ] Google Sheets writes were read back and verified through the API54- [ ] Print/layout sanity for tables meant to be shared55- [ ] When Excel desktop is available, XLSX opens in real Excel without repair, invalid-content, or compatibility warnings5657Fix issues before delivery. Briefly report what was validated.5859## Output to the user6061When finishing a task, provide:62631. File path or Sheet link/name642. How to use inputs vs what is calculated653. Notable formulas or rules added664. Validation summary (what was checked)675. Any platform limitations or follow-ups