rodydavis/open_xml/open-xml-xlsx

Claude Code and agent skill by rodydavis/open_xml

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Guide and examples for using OpenXML Xlsx features in the open_xml package.

Install

npx vskill@latest install rodydavis/open_xml/open-xml-xlsx

SKILL.md

OpenXML Spreadsheets (.xlsx)

The open_xml package provides robust support for generating, editing, and parsing Excel Workbooks.

Creating a Workbook

To create a new Workbook and add a Sheet:

dart
import 'package:open_xml/open_xml.dart';
import 'package:file/local.dart';
Future<void> main() async {
const fs = LocalFileSystem();
final workbook = await Workbook.create(fs);
// Add a new worksheet
final sheet = workbook.addSheet('Sales Report');
await workbook.save(fs.file('sales.xlsx'));
}

Adding Data (Rows and Cells)

You can add rows to a sheet and insert cells of various types.

dart
// Header Row
sheet.addRow()
..addCell('Product')
..addCell('Price')
..addCell('Quantity')
..addCell('Total');
// Data Row (String, Double, Int)
sheet.addRow()
..addCell('Apples')
..addCell(1.20)
..addCell(50)
..addCell('', formula: 'B2*C2');
Formulas

The formula parameter on addCell computes values dynamically within Excel.

Converting Data Formats to Xlsx

The package provides utility patterns commonly found in examples/xlsx/ to convert standard data shapes to Excel sheets.

JSON to Excel

If you have a JSON list:

dart
final List<Map<String, dynamic>> jsonData = [
{"id": 1, "name": "Alice"},
{"id": 2, "name": "Bob"}
];
final sheet = workbook.addSheet('Users');
// Add Header
sheet.addRow()
..addCell('ID')
..addCell('Name');
// Add Rows
for (final row in jsonData) {
sheet.addRow()
..addCell(row['id'])
..addCell(row['name']);
}
CSV/SQLite to Excel

Similar looping mechanisms can be used to convert CSV arrays or SQLite streams directly into Excel cells dynamically.

Internal Links and Hyperlinks

You can add internal links (linking to other cells or sheets within the same workbook) and external hyperlinks.

dart
// Internal Link to Cell A1 on another sheet
sheet.addRow().addCell(
'Go to Sheet 2',
hyperlink: '#\'Sheet 2\'!A1'
);
// External Web Hyperlink
sheet.addRow().addCell(
'Visit Website',
hyperlink: 'https://example.com'
);

Parsing Xlsx Files

You can open existing Excel workbooks and read row data.

dart
final workbook = await Workbook.open(fs.file('data.xlsx'));
for (final sheet in workbook.sheets) {
for (final row in sheet.rows) {
for (final cell in row.cells) {
print(cell.value);
}
}
}

Examples

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
56
Repository forks
11
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 14 May 2026, 5 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rodydavis/open_xml/open-xml-xlsx/badge)](https://verified-skill.com/skills/rodydavis/open_xml/open-xml-xlsx)

Something wrong with this skill or its page? Tell us.