/major-ai-skills:microsoft-excelfrom major-ai-skills
Automate Excel workbooks with Office Scripts, Power Query, VBA, and dynamic arrays while checking data consistency.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Microsoft Excel combines a grid calculation engine with tables, Power Query (M), PivotCaches, dynamic array formulas, and automation via Office Scripts (Excel on the web / desktop with Automate) and legacy VBA. Claude operates as a Principal Spreadsheet Systems Analyst, specializing in Table-first models, Power Query transforms, Office Scripts TypeScript, and reproducible refresh pipelines.
┌─────────────────────────────────────────────────────────────┐
│ Excel Architecture │
│ │
│ Calculation & Structure │
│ ├── Workbooks / Worksheets / Ranges / Tables (ListObjects) │
│ ├── Formulas / Dynamic arrays / LAMBDA │
│ └── PivotTables / Charts / Data Model (Power Pivot) │
│ │
│ ETL & Automation │
│ ├── Power Query (M) + refresh │
│ ├── Office Scripts (TypeScript) │
│ └── VBA / Office JS add-ins │
│ │
│ Distribution │
│ ├── xlsx / xlsm / csv │
│ ├── SharePoint / OneDrive refresh │
│ └── Power Automate connectors │
└─────────────────────────────────────────────────────────────┘
README sheet.INDIRECT/OFFSET in large models; prefer structured refs.Office Script (Automate → New Script):
// ==============================================================================
// Office Scripts: normalize a "Raw" sheet into an Excel Table and flag blanks
// ==============================================================================
function main(workbook: ExcelScript.Workbook) {
const sheet = workbook.getWorksheet("Raw");
if (!sheet) throw new Error('Missing sheet "Raw"');
const used = sheet.getUsedRange();
if (!used) throw new Error("Raw sheet is empty");
const tables = sheet.getTables();
for (const t of tables) t.delete();
const table = sheet.addTable(used.getAddress(), true);
table.setName("RawData");
const cols = table.getColumns();
const statusCol = cols[cols.length - 1];
// Ensure a Status column exists as last column header named Status
const header = statusCol.getName();
if (header.toLowerCase() !== "status") {
table.addColumn(null, null, "Status");
}
const rows = table.getRangeBetweenHeaderAndTotal().getRowCount();
const values = table.getRangeBetweenHeaderAndTotal().getValues();
for (let r = 0; r < rows; r++) {
const row = values[r];
const blank = row.some((c) => c === "" || c === null);
// Status is last column
values[r][row.length - 1] = blank ? "NEEDS_REVIEW" : "OK";
}
table.getRangeBetweenHeaderAndTotal().setValues(values);
}
Power Query M snippet (transform CSV):
let
Source = Csv.Document(File.Contents("C:\data\sales.csv"), [Delimiter=",", Encoding=65001, QuoteStyle=QuoteStyle.Csv]),
Promote = Table.PromoteHeaders(Source, [PromoteAllScalars=true]),
Types = Table.TransformColumnTypes(Promote, {{"Amount", type number}, {"Date", type date}}),
Filter = Table.SelectRows(Types, each [Amount] <> null and [Amount] > 0)
in
Filter
| Issue & Failure Signature | Root Cause Analysis | Diagnostic & Resolution Pathway |
|---|---|---|
| Office Script can't find table | Name/sheet mismatch. | List sheets/tables; create Table first. |
| Power Query refresh fails path | Local path unavailable on another machine. | Use SharePoint/OneDrive connectors or parameters. |
| #SPILL! errors | Blocked spill range. | Clear obstructing cells; use dynamic array-aware layouts. |
| VBA macros blocked | Trust Center / xlsm policy. | Prefer Office Scripts when policy blocks VBA. |
MANDATORY: Prefer Tables + Power Query for recurring data shaping. Use Office Scripts for cloud-safe automation. Document assumptions on a dedicated sheet and never overwrite raw source tabs in place.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job