What problem does it solve?
Provide a deterministic, safe, production-ready workflow for creating, reading, editing, repairing, and validating Excel and spreadsheet files without corrupting advanced workbook features (macros, pivots, charts), and ensure formulas remain live and auditable.
Core Features & Use Cases
- Formula-First Creation: Build new xlsx workbooks from XML templates where every computed value is an Excel formula, not a hardcoded number.
- Surgical Editing: Unpack → XML-edit → repack flow that preserves VBA, pivot tables, sparklines, and other advanced objects while making minimal, targeted changes.
- Validation & Recalc: Static validation with formula_check.py plus optional LibreOffice headless recalculation to surface runtime errors before delivery.
- Financial Formatting: Apply a consistent color-and-number-format system (blue inputs, black formulas, green cross-sheet refs) and append-only styles to avoid global breakage.
- Use Case Example: Fill template inputs, add a computed column of percentages, update totals, validate all formulas, and return a production-ready output.xlsx.
Quick Start
Ask the skill to open or create an .xlsx, apply the requested edits or formulas using the XML template path, run validation, and return the final output.xlsx file.