rodydavis/open_xml/open-xml-pptx

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

Install

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

SKILL.md

OpenXML Presentations (.pptx)

The open_xml package provides tools to generate, modify, and parse PowerPoint presentations.

Creating a Presentation

dart
import 'package:open_xml/open_xml.dart';
import 'package:file/local.dart';
Future<void> main() async {
const fs = LocalFileSystem();
final pres = await Presentation.create(fs);
// Add a slide
final slide = pres.addSlide();
await pres.save(fs.file('presentation.pptx'));
}

Modifying Slides

You can add titles, body text, notes, and shapes to a slide.

dart
final slide = pres.addSlide();
// Add Title
slide.addTitle('Company Overview');
// Add Text Content
slide.addText('We provide excellent services.');
// Add Speaker Notes
slide.addNote('Remember to smile when talking about services.');
Backgrounds

Slides can have custom backgrounds:

dart
// Solid color background
slide.addSolidBackground('FF0000'); // Red
// Image background
slide.addImageBackground(fs.file('assets/bg.jpg'));

Template Type Generation

One of the most powerful features of open_xml is using an existing .pptx template (like a corporate theme) to generate type-safe Dart bindings.

1. Generate Bindings:

bash
dart run open_xml:pptx_type_generator --input templates/theme.pptx --output lib/theme_bindings.dart --class-name ThemePresentation

2. Use Bindings in Code:

dart
import 'package:open_xml/open_xml.dart';
import 'lib/theme_bindings.dart';
void main() async {
final pres = await Presentation.open(fs.file('templates/theme.pptx'));
final myPres = ThemePresentation(pres);
// The generated method perfectly matches the 'Title and Content' layout
myPres.addTitleAndContentSlide(
title: 'Q1 Review'.toTextRun(),
content: 'All goals met!'.toTextRun(),
);
await pres.save(fs.file('generated_theme.pptx'));
}

Markdown to PPTX

Convert markdown structure (Headers denote new slides) into presentations:

dart
final markdown = '''
# Slide 1
This is the first slide.
# Slide 2
This is the second slide with some details.
''';
await pres.addMarkdown(markdown);

Examples

Security

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

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