rodydavis/open_xml/open-xml-package

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 Package features in the open_xml package.

Install

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

SKILL.md

OpenXML Core Guide

The open_xml package is a comprehensive Dart library for generating, parsing, and verifying Office Open XML (OOXML) documents (.docx, .xlsx, .pptx). It uses package:file extensively to abstract away the file system, ensuring compatibility across different platforms (e.g. mobile, desktop, web, or memory-based file systems).

File System Abstraction

All core document types in open_xml (WordDocument, Workbook, and Presentation) require a FileSystem instance from package:file to interact with files.

Usage Example (Local File System)
dart
import 'package:file/local.dart';
import 'package:open_xml/open_xml.dart';
Future<void> main() async {
const fs = LocalFileSystem();
// Create Documents using fs
final doc = await WordDocument.create(fs);
final wb = await Workbook.create(fs);
final pres = await Presentation.create(fs);
}
Usage Example (Memory File System)

For environments like tests or the web, you can use the memory file system:

dart
import 'package:file/memory.dart';
import 'package:open_xml/open_xml.dart';
Future<void> main() async {
final fs = MemoryFileSystem();
// Creates files entirely in memory
final doc = await WordDocument.create(fs);
await doc.save(fs.file('in_memory.docx'));
}

Opening Existing Files

The API allows you to open existing Office documents.

dart
final existingDoc = await WordDocument.open(fs.file('path/to/existing.docx'));

High Level Architecture

The core of open_xml handles:

  1. Archive/ZIP: All office documents are zipped archives of XML files.
  2. Relationships: Managing internal connections between XML parts (e.g., slide to slide layout, document to images).
  3. Namespaces: Handling verbose OOXML namespaces correctly.
  4. Validation: The package integrates checks to ensure the generated structure conforms to valid OOXML standards.

For detailed usage, refer to the document-specific guides:

Examples

OUT Examples
XLSX Examples
PPTX Examples
DOCX Examples

Security

  • Security scanPassed, 90 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-package/badge)](https://verified-skill.com/skills/rodydavis/open_xml/open-xml-package)

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