minimax-xlsx
यह क्या करती है
यह स्किल xlsx, xlsm और csv जैसी स्प्रेडशीट फ़ाइलें संभालती है, नई बनाने से लेकर मौजूदा डेटा के विश्लेषण तक। यह उन लोगों के लिए है जो स्प्रेडशीट, बजट और टेबल के साथ काम करते हैं।
कब इस्तेमाल करें
- ✓जब आप शून्य से नई Excel स्प्रेडशीट बनवाना चाहते हैं।
- ✓जब आपको मौजूदा स्प्रेडशीट का डेटा पढ़ना, विश्लेषण करना या सारांश बनाना है।
- ✓जब स्प्रेडशीट के टूटे फ़ॉर्मूले ठीक करने हैं।
Skill का लिंक
https://github.com/MiniMax-AI/skills/blob/main/skills/minimax-xlsx/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे Excel में एक बजट स्प्रेडशीट चाहिए, जिसमें हर महीने का कुल निकालने वाले फ़ॉर्मूले और साफ़ फ़ॉर्मेटिंग हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल हर काम को एक तरीके से जोड़ती है: Python टूल से डेटा पढ़ना, स्प्रेडशीट फ़ाइलें सीधे बनाना या बदलना, या फ़ॉर्मूले जाँचना। वह आपकी माँगी आउटपुट फ़ाइल लिखती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
MiniMax XLSX Skill
Handle the request directly. Do NOT spawn sub-agents. Always write the output file the user requests.
Task Routing
| Task | Method | Guide |
|---|---|---|
| READ — analyze existing data | xlsx_reader.py + pandas |
references/read-analyze.md |
| CREATE — new xlsx from scratch | XML template | references/create.md + references/format.md |
| EDIT — modify existing xlsx | XML unpack→edit→pack | references/edit.md (+ format.md if styling needed) |
| FIX — repair broken formulas in existing xlsx | XML unpack→fix <f> nodes→pack |
references/fix.md |
| VALIDATE — check formulas | formula_check.py |
references/validate.md |
READ — Analyze data (read references/read-analyze.md first)
Start with xlsx_reader.py for structure discovery, then pandas for custom analysis. Never modify the source file.
Formatting rule: When the user specifies decimal places (e.g. "2 decimal places"), apply that format to ALL numeric values — use f'{v:.2f}' on every number. Never output 12875 when 12875.00 is required.
Aggregation rule: Always compute sums/means/counts directly from the DataFrame column — e.g. df['Revenue'].sum(). Never re-derive column values before aggregation.
CREATE — XML template (read references/create.md + references/format.md)
Copy templates/minimal_xlsx/ → edit XML directly → pack with xlsx_pack.py. Every derived value MUST be an Excel formula (<f>SUM(B2:B9)</f>), never a hardcoded number. Apply font colors per format.md.
EDIT — XML direct-edit (read references/edit.md first)
CRITICAL — EDIT INTEGRITY RULES:
- NEVER create a new
Workbook()for edit tasks. Always load the original file. - The output MUST contain the same sheets as the input (same names, same data).
- Only modify the specific cells the task asks for — everything else must be untouched.
- After saving output.xlsx, verify it: open with
xlsx_reader.pyorpandasand confirm the original sheet names and a sample of original data are present. If verification fails, you wrote the wrong file — fix it before delivering.
Never use openpyxl round-trip on existing files (corrupts VBA, pivots, sparklines). Instead: unpack → use helper scripts → repack.
"Fill cells" / "Add formulas to existing cells" = EDIT task. If the input file already exists and you are told to fill, update, or add formulas to specific cells, you MUST use the XML edit path. Never create a new Workbook(). Example — fill B3 with a cross-sheet SUM formula:
python3 SKILL_DIR/scripts/xlsx_unpack.py input.xlsx /tmp/xlsx_work/
# Find the target sheet's XML via xl/workbook.xml → xl/_rels/workbook.xml.rels
# Then use the Edit tool to add <f> inside the target <c> element:
# <c r="B3"><f>SUM('Sales Data'!D2:D13)</f><v></v></c>
python3 SKILL_DIR/scripts/xlsx_pack.py /tmp/xlsx_work/ output.xlsx
Add a column (formulas, numfmt, styles auto-copied from adjacent column):
python3 SKILL_DIR/scripts/xlsx_unpack.py input.xlsx /tmp/xlsx_work/
python3 SKILL_DIR/scripts/xlsx_add_column.py /tmp/xlsx_work/ --col G \
--sheet "Sheet1" --header "% of Total" \
--formula '=F{row}/$F$10' --formula-rows 2:9 \
--total-row 10 --total-formula '=SUM(G2:G9)' --numfmt '0.0%' \
--border-row 10 --border-style medium
python3 SKILL_DIR/scripts/xlsx_pack.py /tmp/xlsx_work/ output.xlsx
The --border-row flag applies a top border to ALL cells in that row (not just the new column). Use it when the task requires accounting-style borders on total rows.
Insert a row (shifts existing rows, updates SUM formulas, fixes circular refs):
python3 SKILL_DIR/scripts/xlsx_unpack.py input.xlsx /tmp/xlsx_work/
# IMPORTANT: Find the correct --at row by searching for the label text
# in the worksheet XML, NOT by using the row number from the prompt.
# The prompt may say "row 5 (Office Rent)" but Office Rent might actually
# be at row 4. Always locate the row by its text label first.
python3 SKILL_DIR/scripts/xlsx_insert_row.py /tmp/xlsx_work/ --at 5 \
--sheet "Budget FY2025" --text A=Utilities \
--values B=3000 C=3000 D=3500 E=3500 \
--formula 'F=SUM(B{row}:E{row})' --copy-style-from 4
python3 SKILL_DIR/scripts/xlsx_pack.py /tmp/xlsx_work/ output.xlsx
Row lookup rule: When the task says "after row N (Label)", always find the row by searching for "Label" in the worksheet XML (`grep -n "Label" /tmp/xlsx_work/xl/worksheets/sheet
अक्सर पूछे जाने वाले सवाल
क्या मौजूदा फ़ाइल बदलने से उसकी फ़ॉर्मेटिंग खो जाएगी?
स्किल कहती है कि वह मौजूदा स्प्रेडशीट बिना फ़ॉर्मेटिंग खोए बदलती है।
क्या यह मेरे फ़ॉर्मूले जाँच सकती है?
हाँ। इसमें फ़ॉर्मूले जाँचने वाला सत्यापन चरण है।
क्या इसके लिए अतिरिक्त टूल चाहिए?
डेटा पढ़ने और विश्लेषण के लिए pandas वाला Python टूल इस्तेमाल होता है, इसलिए वह काम के लिए Python चाहिए।
जानकारी
लेखक का मूल विवरण
Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use when the user asks to create, build, modify, analyze, read, validate, or format any Excel spreadsheet, financial model, pivot table, or tabular data file. Covers: creating new xlsx from scratch, reading and analyzing existing files, editing existing xlsx with zero format loss, formula recalculation and validation, and applying professional financial formatting standards. Triggers on 'spreadsheet', 'Excel', '.xlsx', '.csv', 'pivot table', 'financial model', 'formula', or any request to produce
repo: MiniMax-AI/skills
लोकप्रियता
- GitHub स्टार
- 14k
- रैंकिंग में स्थान
- #11297
- लाइसेंस
- MIT
- अपडेट की गई
- 18/4/2026
कमेंट
- …
इस repository की और skills
design-style-skill
14kयह आपके एजेंट को स्लाइड के लिए एक एकसमान विज़ुअल स्टाइल चुनने में मदद करती है, तीखे और कॉम्पैक्ट से लेकर नरम, गोल या खुले तक, मेल खाते कोनों और spacing के साथ।
ppt-editing-skill
14kयह आपके एजेंट को मौजूदा PowerPoint फ़ाइल या टेम्पलेट सुरक्षित रूप से बदलने में मदद करती है, टेक्स्ट बदलकर, स्लाइड का क्रम बदलकर या हटाकर, और सही डेक दोबारा पैक करके।
ppt-orchestra-skill
14kयह आपके एजेंट को बनाने से पहले पूरे PowerPoint डेक की योजना बनाने में मदद करती है, हर स्लाइड को मानक पेज प्रकार में रखकर और विविधता व टेक्स्ट गुणवत्ता जाँचकर।
slide-making-skill
14kयह आपके एजेंट को JavaScript में PptxGenJS से एकल PowerPoint स्लाइड लिखने में मदद करती है, नेटिव .pptx फ़ाइलों के लिए लेआउट, टेक्स्ट, इमेज, चार्ट और फ़ॉन्ट सहित।
मिलती-जुलती skills
feishu-doc
394kयह आपके एजेंट को document टूल से Feishu क्लाउड दस्तावेज़ पढ़ने, बनाने और बदलने में मदद करती है, जिसमें टेक्स्ट, इमेज और टेबल शामिल हैं।
feishu-drive
394kयह आपके एजेंट को बॉट के साथ साझा किए गए Feishu क्लाउड फ़ोल्डर में फ़ाइलें देखने, व्यवस्थित करने और उन पर टिप्पणी करने देती है।
feishu-perm
394kयह आपके एजेंट को Feishu फ़ाइल तक किसकी पहुंच है, यह जांचने और बदलने देती है, और आपके अनुरोध के लिए सबसे छोटी अनुमति चुनती है।