npx skills add ...
npx skills add syncfusion/document-sdk-skills --skill syncfusion-dotnet-powerpoint
Create, edit, format, and convert PowerPoint (.pptx) presentations using Syncfusion Presentation for .NET. Use this skill for PowerPoint processing and presentation automation when the user asks to generate slides, modify PPTX content, insert text or images, build presentations programmatically, or convert PowerPoint to PDF using C# code or CSX execution.
npx skills add syncfusion/document-sdk-skills --skill syncfusion-dotnet-powerpoint
Create, edit and convert PowerPoint (.pptx) files using the Syncfusion Presentation Library. This skill supports two operational modes — generating C# code for the user’s project or executing tasks directly through a CSX script.
dotnet-script: dotnet tool install -g dotnet-scriptUser: "Show me how to create a PowerPoint presentation with a simple bar chart"
Result: C# code snippet displayed (no files created)
User: "Create a PowerPoint presentation with a simple bar chart at output/SalesChart.pptx"
Result: Physical file created at output/SalesChart.pptx with the chart embedded
Use this mode when the user wants to view, write, review, refactor, or modify C# code related to PowerPoint processing.
Trigger keywords: "show me how", "how to", "how can I", "how do I", "provide code", "provide an example", "give an example", "demonstrate", "code snippet", "sample code", "example", "sample", "give me", "show me", "Program.cs", "example code", "generate code for", "codesnippet" .
Workflow:
.csproj, web.config, App.config, Startup.cs, Program.cs, etc.) and use the detection signals table in references/nuget-packages.md to determine the application type.Do NOT invent, guess, or suggest any API, method, property, class, or namespace not explicitly present in the reference files.
references/*.md file(s) for the requested feature.Net.Core snippets.csx scriptUse this mode only when the user explicitly requests execution, file generation, or a fully produced output (such as a completed PPTX file).
Trigger keywords: "create a presentation", "make a presentation", "generate a presentation", "open", "edit", "modify", "change" a .pptx file, "without modifying my project", "run a csx script", or when the user provides a file path (e.g., output/report.pptx).
Workflow:
references/template.csx as the base{skill-root}/syncfusion-dotnet-powerpoint/scripts/temp-{uniqueId}.csx (e.g., skill-root = .codestudio/skills)temp-a3f7b2c1.csx); never create in workspace rootreferences/*.md file(s) and extract code snippetsdotnet script {skill-root}/syncfusion-dotnet-powerpoint/scripts/temp-{uniqueId}.csx.csx file after executionAll templates and snippets are in the references/ folder:
| File | Contents |
|---|---|
| template.csx | Base CSX script structure (Mode 2 only) |
| presentation-structure.md | Create/save/close presentation, slide layout, page size, document properties |
| slides.md | Add, remove, resize, and customize PowerPoint slides, print slides |
| layout.md | Access, customize, and create master slides and layout slides |
| paragraph.md | Add, format, and manage paragraphs in textboxes and shapes |
| sections.md | Create and Modify Sections in presentation |
| tables.md | Create and modify tables in presentation |
| shapes.md | Add, iterate, format, and remove shapes (AutoShapes, pictures, text boxes, group shapes) in a presentation |
| connectors.md | Add, edit, update, and remove connectors between shapes |
| image.md | Add, replace, crop, and remove images including SVG support |
| list.md | Create numbered, bulleted, picture, and multi-level lists |
| chart.md | Create and edit chart in presentation |
| animation-transition.md | Add, modify slide transition and annimation effect in presentation |
| comments.md | Add, Reply, Modify, Delete commments in presentation |
| header-footer.md | Add, edit, and remove headers and footers including slide numbers and dates |
| notes.md | Add, edit, format, and remove speaker notes in presentations |
| ole-objects.md | Insert, extract, and manage OLE objects (Excel, Word, Visio) in slides |
| conversions.md | Convert Presentation to image and Pdf |
| encrypt-decrypt.md | Security: Protect, encrypt, and decrypt during read or write access in presentations |
| find-and-replace.md | Find and Replace, Find and highlight in specific slide or in presentation |
| smartart.md | Create a SmartArt, Add, Edit, Remove nodes in SmartArt in a PowerPoint Presentation |
| hyperlinks.md | Add or Modify Web, Email, Bookmark, File, Image hyperlinks |
| macros.md | Load, Save, Remove and manage macros in presentations |
| markdown-conversion.md | Convert PowerPoint presentations to and from Markdown, customize image export paths, and configure Markdown encoding options |
./output/ directory.csx scripts must be created inside {skill-root}/syncfusion-dotnet-powerpoint/scripts/ — never in the workspace root or customer scripts/ folder.csx files after execution