MCPInstall

syncfusion-dotnet-excel

Create, edit, and convert Excel workbooks (.xlsx/.xls) using Syncfusion XlsIO. Supports two modes — generate C code for the user's project, or execute a temporary CSX script. Use when the user mentions Excel, xlsx, workbook, template markers, Syncfusion XlsIO, PDF conversion, or custom fonts for Excel-to-PDF or Excel-to-Image conversion.

Installs
134
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/document-sdk-skills --skill syncfusion-dotnet-excel
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-dotnet-excel automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Excel (XLSX / XLS) Document Processing

Overview

Create, edit, and convert Excel (.xlsx, .xls) files using the Syncfusion Excel Library. This skill supports two operational modes — generating C# code for the user's project or executing tasks directly through a CSX script.

Key Capabilities

  • Create & Edit: Workbooks, worksheets, cells, rows, columns, cell formatting, styles, formulas, names ranges, charts, shapes, images, hyperlinks, comments, data validation, conditional formatting
  • Advanced Features: Template markers and mail merge, data binding (DataTable, collections, objects), pivot tables, pivot charts, slicers, auto-fill, fill series, what-if analysis scenarios, custom XML, drawing objects (text boxes, checkboxes, shapes), VBA macros
  • Data Management: Import data (CSV, DataTable, collections, nested objects, XML, HTML tables), export data (ranges, tables, named ranges), find/replace with regex, advanced filtering (top10, custom, color, icon filters), freeze panes, show/hide rows/columns/sheets
  • Conversion: Excel to PDF, Excel to JSON, Excel to CSV (import/export), custom font registration for PDF and image conversion
  • Security: Password encryption/decryption, document protection, permission settings
  • Page Setup: Margins, headers/footers, print areas

Prerequisites

Quick Start Examples

Example 1: Generate Code (Mode 1)

User: "Show me how to create an Excel workbook with a table" Result: C# code snippet displayed (no files created)

Example 2: Execute Task (Mode 2)

User: "Create an Excel spreadsheet with sales data at output/report.xlsx" Result: Physical file created at specified path

Two Modes — Choose Based on User Intent

Before choosing a mode, infer what the user wants to accomplish:

Mode 1: Generate C# Code for the User's Project (default)

Use this mode when the user wants to view, write, review, refactor, or modify C# code related to Excel processing.

Trigger keywords: "code", "snippet", "how to write", "Program.cs", "show me", "sample", "example code", "generate code for", "NuGet", "add to project", "integrate", "implementation", "usage example", "API example", "learn", "teach", "how do I", "I want to", "I need to", "help me implement", "library", "package", "ASP.NET", "Blazor", "WPF", "WinForms", "MAUI", "console app", "sort", "sorting", "sorted", "chart to image", "export chart", "chart as image", "hyperlink", "link", "links", "find replace", "replace", "filter", "filtering", "pivot", "template", "marker", "formula", "function", "custom font", "font registration", "FontManager", "missing font".

Workflow:

Step 1 — Detect the Application Type and Suggest the Correct NuGet Package(s)

  • Inspect the workspace project files (.csproj, web.config, App.config, Startup.cs, Program.cs, etc.) and use the detection signals table in references/nuget-packages.md to identify the application type.

  • Look up the correct package(s) from references/nuget-packages.md based on the detected app type and tell the user to install them before generating any code.

Step 2 — Generate Code from Reference Files Only

Do NOT invent, guess, or suggest any API, method, property, class, or namespace not explicitly present in the reference files.

  • Read the relevant references/*.md file(s) for the requested feature
  • Build C# code strictly from the APIs and snippets found in those files
  • Select the correct snippet variant based on the app type detected in Step 1:
    • Windows-specific apps (WinForms, WPF, .NET Framework Console, ASP.NET MVC4/5, UWP) → use Windows-specific snippets
    • Cross-platform apps (ASP.NET Core, .NET Core/.NET 5+ Console, Blazor, MAUI, Xamarin) → use cross-platform / .Net.Core snippets
  • Do not create or run any .csx script

Mode 2: Execute via CSX Script (does not touch project files)

Use this mode only when the user explicitly requests execution, file generation, or a fully produced output (such as a completed XLSX file).

Trigger keywords: "create a workbook", "create an Excel file", "generate a spreadsheet", "make a spreadsheet", "generate a file", "open", "edit", "modify", "change" an .xlsx file, "without modifying my project", "run a csx script", "just create it", "build me", "export to excel", "save as", "output", "result", "export", "convert", "transform", "file path", or when the user provides a file path (e.g., output/report.xlsx, ~/Documents/sales.xlsx, /tmp/data.xlsx).

Workflow:

Step 1 — Create Temp CSX Script

  • Start with references/template.csx as the base
  • Create at: {skill-root}/syncfusion-dotnet-excel/scripts/temp-{timestamp}.csx (e.g., skill-root = .codestudio/skills)
  • Use Unix timestamp for unique filename; never create in workspace root

Step 2 — Build Script from Reference Files

  • Do NOT invent APIs/methods not in reference files
  • Read relevant references/*.md file(s) and extract code snippets
  • Replace all placeholders: file paths, sheet names, cell values, data, field names, etc.

Step 3 — Execute Script

  • Run: dotnet script {skill-root}/syncfusion-dotnet-excel/scripts/temp-{timestamp}.csx
  • Verify successful execution and capture any errors

Step 4 — Clean Up and Report

  • Delete the temp .csx file after execution
  • Report SUCCESS/ERROR with output file path(s) and any error messages with fixes

Code References

All templates and snippets are in the references/ folder:

FileContents
nuget-packages.mdNuGet package mappings by application type (Mode 1)
template.csxBase CSX script structure and license registration
document-structure.mdCreate/save/close workbook, add/rename/delete/move sheets
template-markers.mdTemplate marker binding: variables, DataTable, lists, DataSet
cell-formatting.mdCell formatting, number formats, styles, autofit
cell-values.mdCell values and operations: set/read text, numbers, formulas, dates, booleans, detect type
cell-access-manipulation.mdAccess cells relatively, discontinuous ranges, migrant range, precedent/dependent cells, clear content
formulas-advanced.mdCross-sheet references, array formulas, external references, named ranges, calculated columns, calculation modes, formula auditing
charts.mdCreate and configure charts
excel-csv.mdImport/export CSV
excel-to-json.mdConvert worksheets or ranges to JSON
excel-to-pdf.mdConvert workbook to PDF using renderer
custom-fonts.mdRegister .ttf/.otf fonts with FontManager for Excel-to-PDF and Excel-to-Image conversion
export-data.mdExporting tables, ranges and named ranges
import-data.mdImport CSV, DataTable, and other data sources into sheets
import-data-advanced.mdImport HTML tables, XML, arrays, collections, nested collections, DataColumn, DataView, grid controls
data-validation.mdAdd and manage data validation rules and dropdowns
comments.mdAdd, edit, and remove cell comments/notes
conditional-formatting.mdApply conditional formatting rules and color scales
freeze-panes.mdFreeze rows, columns, split panes, and unfreeze worksheet sections
show-hide.mdShow/hide rows, columns, sheets, grid lines, headers, tabs, and zoom level
row-column-insert-delete.mdInsert, delete, and move rows and columns with formatting options
row-column-sizing.mdResize, autofit, group, and subtotal rows and columns
auto-fill.mdAuto fill series, patterns, and trends in cell ranges
fill-series.mdFill series with linear, growth, datetime, and auto fill options
find-all-replace.mdFind all by type (text, numbers, formulas, values, comments), replace with options, entire workbook
filtering-advanced.mdTop10 filters, custom conditions, combination (text/datetime), dynamic, color, icon filters, advanced filters
page-setup.mdPage setup, margins, headers/footers, print areas
pictures.mdInsert, position, resize, align pictures and images, external links, SVG images
pivot-table.mdCreate and configure pivot tables
pivot-table-advanced.mdAdvanced pivot operations: cell formatting, layouts, sorting/filtering, grouping, calculated fields
pivot-chart.mdCreate and configure pivot charts from pivot table data
table-listobject.mdCreate and manage Excel tables (ListObjects)
what-if-analysis.mdCreate and manage scenarios with what-if analysis for testing input values
slicer.mdCreate and manage table slicers for UI-based filtering
security.mdPassword protection, encryption, and permission settings
drawing-objects.mdCreate and manage drawing objects including text boxes, checkboxes, shapes, and comments
macros.mdCreate, edit, and manage VBA macros in Excel workbooks
custom-xml.mdAdd and read custom XML parts to store arbitrary XML data in workbooks
worksheet-move-copy.mdMove and copy worksheets, rows, columns, and cell ranges
markdown-conversion.mdConvert Excel workbooks/worksheets to Markdown format and import Markdown files into Excel

Rules

  • Output files go in ./output/ directory
  • Temp .csx scripts must be created inside {skill-root}/syncfusion-dotnet-excel/scripts/ — never in the workspace root or customer scripts/ folder
  • Use license key from SyncfusionLicense.txt at workspace root or env var SYNCFUSION_LICENSE_KEY
  • Never use Python libraries (e.g., openpyxl, pandas)
  • Never leave temp .csx files after execution

FAQ

What does the syncfusion-dotnet-excel skill do?

Create, edit, and convert Excel workbooks (.xlsx/.xls) using Syncfusion XlsIO. Supports two modes — generate C code for the user's project, or execute a temporary CSX script. Use when the user mentions Excel, xlsx, workbook, template markers, Syncfusion XlsIO, PDF conversion, or custom fonts for Excel-to-PDF or Excel-to-Image conversion.

How do I install syncfusion-dotnet-excel?

Run npx skills add https://github.com/syncfusion/document-sdk-skills --skill syncfusion-dotnet-excel in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-dotnet-excel/ (personal) or .claude/skills/syncfusion-dotnet-excel/ (project).

Which AI agents can use syncfusion-dotnet-excel?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-dotnet-excel safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-dotnet-excel?

It is published by syncfusion in syncfusion/document-sdk-skills. It has 134 recorded installs.

More from syncfusion/document-sdk-skills

View all →

syncfusion-dotnet-word

syncfusion/document-sdk-skills

Open the skill to read its SKILL.md instructions.

Backend & APIs354 installs

syncfusion-dotnet-powerpoint

syncfusion/document-sdk-skills

Open the skill to read its SKILL.md instructions.

Backend & APIs148 installs

syncfusion-dotnet-pdf

syncfusion/document-sdk-skills

Open the skill to read its SKILL.md instructions.

Backend & APIs142 installs

syncfusion-java-word

syncfusion/document-sdk-skills

Create, edit, and convert Word documents (.docx) using Syncfusion DocIO. Supports to generate java code for the user's project. Use when the user mentions docx, Word processing, document generation, Syncfusion DocIO, or syncfusion java word.

Docs & Writing111 installs

syncfusion-javascript-pdf

syncfusion/document-sdk-skills

Provides comprehensive guidance for implementing the Syncfusion JavaScript PDF library (@syncfusion/ej2-pdf) to create and manipulate PDF documents programmatically across TypeScript, JavaScript, Angular, React, Vue, and ASP.NET platforms. Use this when working with PDF creation, tables, lists, form filling, annotations, encryption, document merging/splitting, text or image extraction, or digital signatures.

Docs & Writing100 installs

syncfusion-dotnet-pdf-to-image

syncfusion/document-sdk-skills

Open the skill to read its SKILL.md instructions.

Backend & APIs98 installs

Popular data & databases skills

View category →

Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pgcron, pgmq), vector/semantic search (pgvector), and restoring dumps (pgrestore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.

OfficialData & Databases462.2K installs

prisma-client-api

prisma/skills

Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on "prisma query", "findMany", "create", "update", "delete", "$transaction".

OfficialData & Databases393.5K installs

Deprecated compatibility name for prisma-orm-setup. Use only when a user or existing integration explicitly invokes prisma-database-setup; otherwise select prisma-orm-setup.

OfficialData & Databases392.3K installs

prisma-cli

prisma/skills

Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows. Covers prisma init, generate, migrate, db, dev, studio, and mcp. For setup, connection repair, or Prisma 8, use prisma-orm-setup; not the Prisma Platform CLI.

OfficialData & Databases390.8K installs

prisma-postgres

prisma/skills

Deprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.

OfficialData & Databases384.4K installs

Required reference for Prisma ORM 7 SQL driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter, Transaction, savepoint, result mapping, or DriverAdapterError behavior. Covers current transaction lifecycle, optional savepoint hooks, original database-error preservation, and verification.

OfficialData & Databases378.9K installs