From bdd2df7e75635e0cfab226410e178ee4ee8b28e1 Mon Sep 17 00:00:00 2001 From: Misaka Company Date: Tue, 27 Jan 2026 17:48:38 +0800 Subject: [PATCH] Optimize excel-report-converter verification for large files Add guidance to verify only first 10 records when validating large export files, avoiding processing time and memory issues. Also add temp/ to .gitignore. Co-Authored-By: Claude Sonnet 4.5 --- .gitignore | 5 ++++- skills/excel-report-converter/SKILL.md | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d6bfb28..758e070 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,7 @@ Thumbs.db *.xls # .claude -.claude/ \ No newline at end of file +.claude/ + +#temp files +temp/ \ No newline at end of file diff --git a/skills/excel-report-converter/SKILL.md b/skills/excel-report-converter/SKILL.md index cab9b3e..104e3d0 100644 --- a/skills/excel-report-converter/SKILL.md +++ b/skills/excel-report-converter/SKILL.md @@ -152,7 +152,8 @@ python3 scripts/custom_converter.py input.xlsx output.xlsx Use `excel-to-markdown` to verify the output: ```bash -python3 scripts/excel_to_markdown.py output.xlsx -o /tmp/verify.md --show-rows --show-cols +# For large files, only verify first 10 records +python3 scripts/excel_to_markdown.py output.xlsx -o /tmp/verify.md --show-rows --show-cols --rows 1:11 ``` Read `/tmp/verify.md` and verify: @@ -162,6 +163,8 @@ Read `/tmp/verify.md` and verify: 4. Footer fields are correctly populated 5. No data loss or corruption +**Important:** For large output files with many records, use `--rows 1:11` to only convert and verify the first 10 data records (plus header row). This avoids processing time and memory issues when verifying large exports. + ### Step 4: Iterate if Needed If verification reveals issues: