
Processing Excel Files
If you need to edit Excel files without destroying their formatting, this is the right tool. It wraps xlsx-populate to preserve merged cells, styles, and complex layouts while you update values or add formulas. Best for working with existing templates or reports where the structure matters. The skill emphasizes good practices like never overwriting source files and using Excel formulas instead of hardcoded calculations. Won't help with reading data (use the lighter xlsx library for that), but for modification work where you can't afford to break someone's carefully formatted spreadsheet, it handles the job cleanly.
- skills.sh installs
- 387
- GitHub stars
- 8
- last updated
- Jun 3, 2026
Install
$ npx -y skills add zgldh/xlsx-populate-skill --skill processing-excel-files --agent claude-codeInstalls into .claude/skills of the current project.
Files
Processing Excel Files
Edit and manipulate Excel files using the xlsx-populate library while perfectly preserving original formatting.
When to Use
- User wants to edit existing Excel files without destroying formatting
- Working with .xlsx files that have complex layouts or merged cells
- Need to add formulas, styling, or new worksheets to existing files
- Creating Excel reports from templates
When NOT to Use
- Only need to read data from Excel (use
xlsxlibrary instead for better performance) - Creating simple Excel files from scratch without formatting concerns
Quick Start
const XlsxPopulate = require('xlsx-populate');
// Load and edit
const workbook = await XlsxPopulate.fromFileAsync('input.xlsx');
workbook.sheet(0).cell('A1').value('Updated');
await workbook.toFileAsync('output.xlsx');
Installation
npm install xlsx-populate
Core Operations
1. Load and Preserve Formatting
const workbook = await XlsxPopulate.fromFileAsync('file.xlsx');
const sheet = workbook.sheet(0);
Sponsors
Details
- Repository
- github.com/zgldh/xlsx-populate-skill
- Category
- Office & Documents
- First seen
- Jun 3, 2026