मुख्य सामग्री पर जाएँ
Skillpedia
PDF, Word और स्लाइड33k · #9137

officecli-xlsx

यह क्या करती है

यह स्किल AI एजेंट को officecli टूल से .xlsx स्प्रेडशीट फ़ाइलों के साथ काम करने में मार्गदर्शन देती है। यह स्प्रेडशीट बनाने, जाँचने या अपडेट करने वाले लोगों के लिए है।

कब इस्तेमाल करें

  • ✓जब आप अपने डेटा से नई स्प्रेडशीट, ट्रैकर या वित्तीय टेबल बनवाना चाहें।
  • ✓जब आपको Excel फ़ाइल में फ़ॉर्मूला, चार्ट या pivot tables जोड़ने हों।
  • ✓जब आप CSV फ़ाइल को ठीक से फ़ॉर्मेट की गई Excel वर्कबुक में आयात करना चाहें।

Skill का लिंक

https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-xlsx/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-xlsx/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप खर्चों की इस CSV को योग और मासिक चार्ट वाली Excel वर्कबुक में बदल सकते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आपका एजेंट डेटा आयात करता है, फ़ॉर्मूला और फ़ॉर्मेटिंग जोड़ता है, चार्ट बनाता है, और officecli से वर्कबुक जाँचता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

OfficeCLI XLSX Skill

Setup

If officecli is missing:

  • macOS / Linux: curl -fsSL https://d.officecli.ai/install.sh | bash
  • Windows (PowerShell): irm https://d.officecli.ai/install.ps1 | iex

Verify with officecli --version (open a new terminal if PATH hasn't picked up). If install fails, download a binary from https://github.com/iOfficeAI/OfficeCLI/releases.

⚠️ Help-First Rule

This skill teaches what good xlsx looks like, not every command flag. When a property name, enum value, or alias is uncertain, consult help BEFORE guessing.

officecli help xlsx                         # List all xlsx elements
officecli help xlsx <element>               # Full element schema (e.g. pivottable, chart, cf)
officecli help xlsx <verb> <element>        # Verb-scoped (e.g. add chart, set cell)
officecli help xlsx <element> --json        # Machine-readable schema

Help reflects the installed CLI version. When this skill and help disagree, help is authoritative.

Shell & Execution Discipline

Shell quoting (zsh / bash). Excel paths contain [], and number formats contain $. Both are shell metacharacters. Rules:

  • ALWAYS quote element paths: "/Sheet1/row[1]", not /Sheet1/row[1].
  • Use single quotes for any prop value containing $: numFmt='$#,##0'.
  • For formulas with cross-sheet ! references, use batch with a <<'EOF' heredoc (see Known Issues).
  • \n and \t in a prop value ARE interpreted by the CLI — \n is a real in-cell line break (pair with --prop wrapText=true), \t a tab — consistent across xlsx / docx / pptx. Double them (\\n) for a literal backslash-n (rarely wanted). ($ is the shell layer above — single-quote it.)

Incremental execution. Run commands one at a time and read each exit code. officecli mutates the file on every call; a 50-command script that fails at command 3 will cascade silently. One command → check output → continue.

Requirements for Outputs

Before reaching for a command, know what a good xlsx looks like. These are the deliverable standards every workbook MUST meet.

All Excel files

Zero formula errors. Every delivered workbook MUST have ZERO #REF!, #DIV/0!, #VALUE!, #NAME?, #N/A. No exceptions — guard denominators with IFERROR or IF(x=0,...).

Formulas, not hardcoded values. If a number can be computed from other cells, it is a formula. Hardcoding 5000 where =SUM(B2:B9) belongs breaks the contract that the workbook stays live when inputs change. This is the single most important rule in this skill.

Professional font. Use one consistent, professional font across the workbook (Arial / Calibri / Times New Roman). Don't mix four fonts because one sheet came from CSV.

Explicit widths. There is no auto-fit. Any column the user will read MUST have width set — default 8.43 chars clips everything. Sensible starts: labels 20-25, numbers 12-15, dates 12, short codes 8-10.

Preserve existing templates. When editing a file that already has a look, match it. Existing conventions override these guidelines.

Visual delivery floor (applies to EVERY workbook)

Before you declare done, run officecli view "$FILE" html and Read the returned HTML path to confirm all of these:

  • No ### in any cell. ### means a column is too narrow for its widest value. Every column the user reads needs an explicit width. ### in a delivered file is unfinished work, never "a small visual nit".
  • No truncated titles. Sheet titles, section headers, long labels must fit. Widen the column or apply wrapText=true on the cell.
  • No placeholder tokens rendered as data. $fy$24, {var}, <TODO>, xxxx must never appear in a cell, chart title, series name, or legend. These are build-time tokens that escaped replacement.
  • Pie / doughnut slices have distinct fill colors. If the slices render same-colored, switch to bar / column or set colors=... explicitly.
  • No empty trailing pages / empty chart anchors. anchor=D2:J18 over empty source cells looks like a broken chart.

If any of the above fails, STOP and fix before declaring done.

Print layout. Any sheet the user may print or send as a board pack needs page setup. Default portrait + no fit-to-page splits wide tables and charts mid-way. Pick the fit mode by sheet shape:

# Summary / chart / dashboard sheet (small, ≤ ~40 rows): fit to a single page.
officecli set "$FILE" "/Summary" --prop orientation=landscap
अक्सर पूछे जाने वाले सवाल

क्या मुझे Excel इंस्टॉल चाहिए?

नहीं। स्किल कहती है कि officecli बिना किसी Office इंस्टॉलेशन के चलता है।

क्या यह शीट के बीच फ़ॉर्मूला संभाल सकती है?

हाँ। स्किल शीट के बीच के फ़ॉर्मूला और उन्हें सुरक्षित रूप से लिखने का मार्गदर्शन शामिल करती है।

कौन-से फ़ॉर्मेट कवर हैं?

यह .xlsx वर्कबुक और CSV या TSV डेटा आयात को कवर करती है।

जानकारी

लेखक का मूल विवरण

Use this skill any time a .xlsx file is involved -- as input, output, or both. This includes: creating spreadsheets, financial models, dashboards, or trackers; reading, parsing, or extracting data from any .xlsx file; editing, modifying, or updating existing workbooks; working with formulas, charts, pivot tables, or templates; importing CSV/TSV data into Excel format. Trigger whenever the user mentions 'spreadsheet', 'workbook', 'Excel', 'financial model', 'tracker', 'dashboard', or references a .xlsx/.csv filename.

repo: iOfficeAI/OfficeCLI

लोकप्रियता

GitHub स्टार
33k
रैंकिंग में स्थान
#9137
लाइसेंस
Apache-2.0
अपडेट की गई
30/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

officecli

33k

यह आपके एजेंट को officecli टूल से Word, Excel और PowerPoint फ़ाइलें बनाने, पढ़ने, जाँचने और संपादित करने देती है, बिना Office इंस्टॉल किए।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

morph-ppt-3d

33k

यह आपके एजेंट को 3D GLB मॉडल और स्लाइडों के बीच सहज Morph ट्रांज़िशन वाली PowerPoint डेक बनाने में मदद करती है।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

morph-ppt

33k

यह आपके एजेंट को सहज Morph ट्रांज़िशन वाली PowerPoint फ़ाइल बनाने में मदद करती है, जिसमें स्लाइडों के बीच आकृतियाँ चलें, बढ़ें या घूमें।

लेखन और डॉक्यूमेंटPDF, Word और स्लाइड

officecli-academic-paper

33k

यह आपके एजेंट को उद्धरणों, समीकरणों और जर्नल-शैली लेआउट के साथ शोध पेपर, थीसिस या पांडुलिपि को Word फ़ाइल के रूप में फ़ॉर्मेट करने में मदद करती है।

लेखन और डॉक्यूमेंटलेखन

मिलती-जुलती skills