lean-zhouchao

Excel Xlsx Zc

オフィス効率化v1.0.0
作者:lean-zhouchao更新日 2026-05-11excel-xlsx-zc@clawhub_lean-zhouchao/excel-xlsx-zc
表計算#CSV

AlphaMoatによると、2026-09時点でExcel Xlsx Zcのダウンロード数は1,432、スター数は0で、AIスキル全体5,078件中4,812位、オフィス効率化では435件中395位です。

インストール数
265
ダウンロード数
1432
スター数
-
総合順位
#4,812
全体の上位 95% · オフィス効率化の上位 91%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗221008--
SkillHub ↗2651432-—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

7 つの中核ルール:タスクに応じてツールを選ぶ——分析/整形/CSV 的処理は pandas、数式・スタイル・結合セル・ワークブック保持が重要なら openpyxl;日付は歴史的な癖のあるシリアル番号(1900 日付システムの架空のうるう日バグ、一部のワークブックは 1904 日付システムを使用);ワークブックを「生きた」状態に保つなら Python で計算した結果をハードコードせず数式をセルに書き込み、数式エラーゼロで納品(#REF!、#DIV/0!、#VALUE!、#NAME?、循環参照を残さない);データ型を保護——長い識別子・電話番号・先頭ゼロはテキストとして保存し、Excel は 15 桁を超える数値精度を静かに切り捨てる;内容変更の前にワークブック構造を保護(テンプレート優先、結合範囲は左上セルのみ値を保持、非表示行/列や名前付き範囲も数式に影響);納品前に再計算とレビュー(openpyxl は数式を保持するが計算はしない、値のみの読み込みモードで保存すると数式が静的値に潰れる);大きなファイルはストリーミング/チャンク読み込み。よくある罠リスト(型推論、外部参照、古いビューアでの動的配列関数の劣化など)付き。

資料公開日 2026-10-27

できること

  • pandas か openpyxl かを判断しタスクに合うワークフローを選ぶ
  • 数式をワークブックに書き込み再計算可能な生きたモデルを維持
  • 電話番号や先頭ゼロなどのデータ型を Excel の破壊から守る
  • 納品前に再計算・数式エラー確認・テンプレート構造の保持

使う場面

  • Excel/.xlsx/.xlsm/.csv が対象で、数式・書式・互換性が重要な場合
  • 編集後もファイルの信頼性(テンプレート保持・数式の正しさ)が必要な場合

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

この Excel テンプレートに書式を壊さず数式の列を追加して
ファイルを開いたら数式が固定値になったのはなぜ?
このワークブックに数式エラーがないか確認して

月次の推移

ダウンロード数1432
29990815162026-03 · ダウンロード数 3832026-05 · ダウンロード数 7702026-06 · ダウンロード数 8452026-07 · ダウンロード数 9972026-08 · ダウンロード数 11792026-09 · ダウンロード数 143226-0326-09
スター数-
0112026-03 · スター数 -2026-05 · スター数 -2026-06 · スター数 -2026-07 · スター数 -2026-08 · スター数 -2026-09 · スター数 -26-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-091432—-
2026-081179+18.3%-
2026-07997+18.0%-
2026-06845+9.7%-
2026-05770—-
2026-03383—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

6.8 KB・ClawHub v1.0.0
---
name: excel-xlsx-zc
slug: excel-xlsx
version: 1.0.2
homepage: https://clawic.com/skills/excel-xlsx
description: "Create, inspect, and edit Microsoft Excel workbooks and XLSX files with reliable formulas, dates, types, formatting, recalculation, and template preservation. Use when (1) the task is about Excel, `.xlsx`, `.xlsm`, `.xls`, `.csv`, or `.tsv`; (2) formulas, formatting, workbook structure, or compatibility matter; (3) the file must stay reliable after edits."
changelog: Tightened formula anchoring, recalculation, and model traceability after a stricter external spreadsheet audit.
metadata: {"clawdbot":{"emoji":"📗","requires":{"bins":[]},"os":["linux","darwin","win32"]}}
---
すべて表示(全 104 行)
## When to Use

Use when the main artifact is a Microsoft Excel workbook or spreadsheet file, especially when formulas, dates, formatting, merged cells, workbook structure, or cross-platform behavior matter.

## Core Rules

### 1. Choose the workflow by job, not by habit

- Use `pandas` for analysis, reshaping, and CSV-like tasks.
- Use `openpyxl` when formulas, styles, sheets, comments, merged cells, or workbook preservation matter.
- Treat CSV as plain data exchange, not as an Excel feature-complete format.
- Reading values, preserving a live workbook, and building a model from scratch are different spreadsheet jobs.

### 2. Dates are serial numbers with legacy quirks

- Excel stores dates as serial numbers, not real date objects.
- The 1900 date system includes the false leap-day bug, and some workbooks use the 1904 system.
- Time is fractional day data, so formatting and conversion both matter.
- Date correctness is not enough if the number format still displays the wrong thing to the user.

### 3. Keep calculations in Excel when the workbook should stay live

- Write formulas into cells instead of hardcoding derived results from Python.
- Use references to assumption cells instead of magic numbers inside formulas.
- Cached formula values can be stale, so do not trust them blindly after edits.
- Check copied formulas for wrong ranges, wrong sheets, and silent off-by-one drift before delivery.
- Absolute and relative references are part of the logic, so copied formulas can be wrong even when they still "work".
- Test new formulas on a few representative cells before filling them across a whole block.
- Verify denominators, named ranges, and precedent cells before shipping formulas that depend on them.
- A workbook should ship with zero formula errors, not with known `#REF!`, `#DIV/0!`, `#VALUE!`, `#NAME?`, or circular-reference fallout left for the user to fix.
- For model-style work, document non-obvious hardcodes, assumptions, or source inputs in comments or nearby notes.

### 4. Protect data types before Excel mangles them

- Long identifiers, phone numbers, ZIP codes, and leading-zero values should usually be stored as text.
- Excel silently truncates numeric precision past 15 digits.
- Mixed text-number columns need explicit handling on read and on write.
- Scientific notation, auto-parsed dates, and stripped leading zeros are common corruption, not cosmetic issues.

### 5. Preserve workbook structure before changing content

- Existing templates override generic styling advice.
- Only the top-left cell of a merged range stores the value.
- Hidden rows, hidden columns, named ranges, and external references can still affect formulas and outputs.
- Shared strings, defined names, and sheet-level conventions can matter even when the visible cells look simple.
- Match styles for newly filled cells instead of quietly introducing a new visual system.
- If the workbook is a template, preserve sheet order, widths, freezes, filters, print settings, validations, and visual conventions unless the task explicitly changes them.
- Conditional formatting, filters, print areas, and data validation often carry business meaning even when users only mention the numbers.
- If there is no existing style guide and the file is a model, keep editable inputs visually distinguishable from formulas, but never override an established template to force a generic house style.

### 6. Recalculate and review before delivery

- Formula strings alone are not enough if the recipient needs current values.
- `openpyxl` preserves formulas but does not calculate them.
- Verify no `#REF!`, `#DIV/0!`, `#VALUE!`, `#NAME?`, or circular-reference fallout remains.
- If layout matters, render or visually review the workbook before calling it finished.
- Be careful with read modes: opening a workbook for values only and then saving can flatten formulas into static values.
- If assumptions or hardcoded overrides must stay, make them obvious enough that the next editor can audit the workbook.

### 7. Scale the workflow to the file size

- Large workbooks can fail for boring reasons: memory spikes, padded empty rows, and slow full-sheet reads.
- Use streaming or chunked reads when the file is big enough that loading everything at once becomes fragile.
- Large-file workflows also need narrower reads, explicit dtypes, and sheet targeting to avoid accidental damage.

## Common Traps

- Type inference on read can leave numbers as text or convert IDs into damaged numeric values.
- Column indexing varies across tools, so off-by-one mistakes are common in generated formulas.
- Newlines in cells need wrapping to display correctly.
- External references break easily when source files move.
- Password protection in old Excel workflows is not serious security.
- `.xlsm` can contain macros, and `.xls` remains a tighter legacy format.
- Large files may need streaming reads or more careful memory handling.
- Google Sheets and LibreOffice can reinterpret dates, formulas, or styling differently from Excel.
- Dynamic array or newer Excel functions like `FILTER`, `XLOOKUP`, `SORT`, or `SEQUENCE` may fail or degrade in older viewers.
- A workbook can look fine while still carrying stale cached values from a prior recalculation.
- Saving the wrong workbook view can replace formulas with cached values and quietly destroy a live model.
- Copying formulas without checking relative references can push one bad range across an entire block.
- Hidden sheets, named ranges, validations, and merged areas often keep business logic that is invisible in a quick skim.
- A workbook can appear numerically correct while still failing because filters, conditional formats, print settings, or data validation were stripped.
- A workbook can be numerically correct and still fail visually because wrapped text, clipped labels, or narrow columns were never reviewed.

## Related Skills
Install with `clawhub install <slug>` if user confirms:
- `csv` — Plain-text tabular import and export workflows.
- `data` — General data handling patterns before spreadsheet output.
- `data-analysis` — Higher-level analysis that can feed workbook deliverables.

## Feedback

- If useful: `clawhub star excel-xlsx`
- Stay updated: `clawhub sync`

オフィス効率化の人気スキル

lean-zhouchaoのその他のスキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。