agentsclimarketplace

Syncfusion dotnet excel

Skill syncfusion/document-sdk-skills/skills/syncfusion-dotnet-excel

This repository contains agent prompts for creating skills and organizing AI agent capabilities.

Install
npx -y skills add syncfusion/document-sdk-skills --skill syncfusion-dotnet-excel

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

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, or PDF conversion.

SKILL.md

9.9 KB, as published. Nobody here has run it

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)
  • 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".

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
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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.