edit-excel
Edit XLSX workbooks: append rows (preserving existing styles), add or replace sheets, or preview changes. Specify file path and action.
Instructions
Edit an existing XLSX workbook. Actions: 'append-rows' (add rows to a sheet, preserves existing styles), 'append-sheet' (add a new sheet — fails if name exists), 'replace-sheet' (overwrite a sheet's data), 'preview' (show what would change). Use read-doc first if you don't know the sheet structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Rows to append (required for append-rows). | |
| tags | No | Tags for registry search and discovery. | |
| style | No | Optional style overrides (zebraColor, etc.). | |
| action | Yes | Edit action. | |
| docType | No | Tone and depth of the documentation. | |
| category | No | Document category for registry update. | |
| filePath | Yes | Absolute or project-relative path to the existing XLSX file. | |
| sheetData | No | Sheet definition (required for append-sheet and replace-sheet). | |
| sheetName | No | Target sheet name (required for append-rows and replace-sheet). | |
| stylePreset | No | Style preset. 'claude-like' (modern blue-accented professional) is the default for general-purpose docs. 'professional' is the executive serif look. Auto-selected from category if omitted. |