Syncfusion vue spreadsheet editor
Skill syncfusion/spreadsheet-editor-sdk-skills/skills/syncfusion-vue-spreadsheet-editor
This repository contains agent prompts for creating skills and organizing AI agent capabilities.
npx -y skills add syncfusion/spreadsheet-editor-sdk-skills --skill syncfusion-vue-spreadsheet-editorAssembled 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.
- 0 stars0 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
Use this skill for Vue apps needing Excel-like UI using the Syncfusion Spreadsheet Component. Trigger for creating, viewing, editing Excel (.xlsx, .xls, .xlsb) and CSV files; embedding spreadsheet editors; data binding from APIs/JSON; using formulas, charts, validation, filtering, or conditional formatting. Also trigger when users reference spreadsheet files ("open xlsx", "load Excel file", "add Syncfusion spreadsheet", "bind data to spreadsheet"). Do NOT trigger for standalone file processing without UI components.
SKILL.md
13.5 KB, ~2.7k tokens by cl100k_base, as published. Nobody here has run it
Syncfusion Vue Spreadsheet Editor
Overview
This skill helps developers generate Vue code for integrating the Syncfusion Spreadsheet Editor into their applications. It provides ready-to-use code snippets, API guidance, and best practices for building Excel-like functionality in Vue projects.
Key Capabilities
- File Operations: Import/export Excel files (
xlsx,xls,xlsb), CSV files, and PDF export - Data Management: Data binding, editing, sorting, filtering, and validation
- Cell Operations: Formatting (fonts, colors, borders, alignment), merge cells, wrap text
- Formulas & Calculations: Built-in Excel formulas, custom functions, named ranges
- Collaboration: Notes, comments, and threaded discussions
- Advanced Features: Charts, images, hyperlinks, conditional formatting, freeze panes, sheet protection, virtualization for large datasets
Quick Start Examples
Example 1: Generate Spreadsheet with Formatting
User: "Create a Spreadsheet with data and apply cell styles"
Result: A Vue code snippet is generated that loads provide data into the Spreadsheet and applies basic cell formatting.
Example 2: Generate Code for Loading a File
User: "Create a Spreadsheet and load an Excel file initially"
Result: A Vue code snippet is generated that initializes the Spreadsheet and programmatically opens an Excel file on startup.
Getting Started — Minimal Vue Code
Minimal Vue Spreadsheet setup for a plain web project:
<template>
<div class="control-section">
<ejs-spreadsheet ref="spreadsheet">
<e-sheets>
<e-sheet>
<e-rows>
<e-row>
<e-cells>
<e-cell value="Hello, Spreadsheet!" />
</e-cells>
</e-row>
</e-rows>
</e-sheet>
</e-sheets>
</ejs-spreadsheet>
</div>
</template>
<script>
import {
SpreadsheetComponent,
SheetsDirective,
SheetDirective,
RowsDirective,
RowDirective,
CellsDirective,
CellDirective
} from "@syncfusion/ej2-vue-spreadsheet";
export default {
components: {
"ejs-spreadsheet": SpreadsheetComponent,
"e-sheets": SheetsDirective,
"e-sheet": SheetDirective,
"e-rows": RowsDirective,
"e-row": RowDirective,
"e-cells": CellsDirective,
"e-cell": CellDirective
}
};
</script>
Generate Vue Code for the User's Project
Trigger keywords: "vue spreadsheet", "spreadsheet editor", "syncfusion spreadsheet", "excel component", "load excel file", "open excel file", "import excel", "export excel file", "save excel", "export to pdf", "export to csv", "view excel", "configure spreadsheet", "create spreadsheet", "add spreadsheet", "spreadsheet data", "cell formatting", "apply formulas", "insert chart", "data binding", "spreadsheet validation", "freeze panes", "protect sheet"
Workflow:
-
Identify the requested Spreadsheet feature (data binding, formulas, charts, export, etc.).
-
Read the relevant
references/*.mdfile(s) to understand the APIs and code patterns for the requested feature.- For create, initialize, render, package setup, CSS setup, or basic Spreadsheet requests, read
references/getting-started.mdfirst.
- For create, initialize, render, package setup, CSS setup, or basic Spreadsheet requests, read
-
STOP before generating code, installing packages, creating files, or modifying project files. Check if the user has already chosen a delivery mode.
-
If no delivery mode is chosen yet, you MUST ask the user first using this concise multiple-choice question:
"How would you like to receive the generated Spreadsheet code?"
- Option 1: Replace the code in a specific project file (you'll need to provide the file path and confirm)
- Option 2: Save the code in this skill's output folder at
{skill-root}/syncfusion-vue-spreadsheet-editor/output/app.vue - Option 3: Share the code directly in the chat window
-
If the user selects Option 1, validate the provided project file/folder path before generating or replacing code.
- If the provided path is an existing Vue project and contains
package.json, continue with the previous behavior. - If the provided path is an empty folder or does not contain a Vue project, do not edit files and do not end the chat.
- Explain that a Vue project is required before replacing project files.
- Ask whether the user wants to set up/install Vue first using
references/getting-started.md. - Do not create project files, install packages, or run setup commands automatically unless the user explicitly confirms.
- If the provided path is an existing Vue project and contains
-
Only after the user selects a delivery mode and Option 1 path validation is complete, proceed to generate Vue code using the APIs and snippets from
references/*.md, substituting concrete placeholders from the user's project. -
Do NOT make changes to workspace project files unless the user explicitly chose Option 1, provided a valid Vue project file/folder path, and gave permission.
-
If no Vue project or
package.jsonis detected, explain that a Vue project is required first and provide setup guidance fromreferences/getting-started.md. Do not create project files, install packages, or run setup commands automatically unless the user explicitly requested Vue app creation and provided permission. -
Create a new Vue application/project only when the user explicitly asks for it, such as:
- "create a Vue application and render Spreadsheet"
- "create a new Vue app with Spreadsheet"
- "create Vite/Vue app and add Spreadsheet"
If the user only asks to create, add, render, or configure the Spreadsheet component, do not scaffold a new Vue application. Treat it as Spreadsheet component/code generation for an existing Vue project.
-
When generating code for an existing Vue project, include required package and CSS setup guidance from
references/getting-started.md. -
Provide complete Vue snippets and concise integration steps after delivering the code.
Refer to ## Rules section for operational constraints (output directory, temporary files, allowed libraries, etc.)
Code References
All code snippets and examples are in the references/ folder. Each file contains:
- Minimal Vue Code — a working, ready-to-use snippet
- Placeholders — values the user must customize
- Notes — Vue best practices and constraints
| File | Topic |
|---|---|
| getting-started.md | Project setup, package installation, CSS references, basic rendering, and initial data binding |
| data-binding.md | Local arrays, JSON, remote (DataManager) |
| formulas.md | Formulas, aggregates, named ranges |
| formatting.md | Cell formatting, borders, wrap text |
| number-formatting.md | Number formatting, decimals, currency, date |
| conditional-formatting.md | Rules, highlights based on conditions |
| data-validation.md | Validation rules, invalid highlights |
| sorting-filtering.md | Sorting, filtering |
| find-replace.md | Find, replace |
| import-export.md | Save (XLSX/CSV/PDF), open, openFromJson |
| charts.md | Insert, edit, delete charts |
| images.md | Insert, modify pictures |
| hyperlink.md | Add, remove hyperlinks |
| comments.md | Threaded comments, replies, resolve threads |
| notes.md | Simple cell notes, sticky visibility, add/edit/delete |
| protection.md | Sheet protection, cell locking, permissions |
| edit-cell.md | startEdit, endEdit, updateCell, edit modes |
| freeze-panes.md | Freeze rows/columns, split panes |
| row-column.md | Insert, delete, resize rows/columns, hide |
| merge-cells.md | Merge, unmerge cells, spanning |
| print.md | Page setup, headers/footers, scaling, margins |
| misc-operations.md | Autofill, clear, sheet management, goTo |
| clipboard.md | Copy, cut, paste with different paste types |
| selection.md | Select cells/ranges, multi-select, getSelectedRange |
| scrolling-virtualization.md | Virtual scrolling, large datasets, performance |
| wrap.md | Text wrapping, multi-line display, row height |
| defined-names.md | Named ranges, define names, refersTo format |
| custom-functions.md | Custom calculation functions, addCustomFunction |
| ribbon-customization.md | Ribbon tabs, toolbar items, file menu customization |
| context-menu.md | Right-click context menu, contextMenuBeforeOpen |
| localization.md | Multi-language, locale, RTL, number/date formats |
| events.md | Event handling, event properties, event patterns |
| autofill.md | Autofill patterns, fill types, series |
Key Rules for Code Generation (Vue)
-
Vue first snippets — All examples and snippets must be written in vue and compile with the current
@syncfusion/ej2-vue-spreadsheetnpm package. If the user asks for providing vue, provide vue codes. -
No inline code in this manifest — Refer to
references/*.mdfor runnable snippets; keep this file as the concise policy and index. -
Reference file requirements — Each reference must include:
- Minimal Vue Code (complete, runnable)
- Placeholders (clearly marked values to replace)
- Notes (Vue integration steps and best practices)
-
License handling — Do not hardcode license keys; refer users to env variables or project config.
-
Preserve data integrity — Preserve existing formulas, references, and formatting when generating or editing sheets.
-
No hallucinated APIs — Use verified Syncfusion Spreadsheet Editor Component method names only.
-
Read references first — For any requested feature, always read the relevant
references/*.mdfile(s) first before generating code. -
Build strictly from references — Build Vue code strictly from the APIs, methods, properties, events, and snippets found in the reference files. Do NOT invent, guess, or suggest any API, method, property, or event not explicitly present in the reference files.
Rules
- Output files must go in
{skill-root}/syncfusion-vue-spreadsheet-editor/output/directory when user selects Option 2 - Only use Syncfusion Spreadsheet APIs — never recommend or use alternative spreadsheet libraries (e.g., vue-spreadsheet, handsontable, ag-grid)
- No temporary files — never create temporary scripts, intermediate files, or scaffolding outside the output directory
- Vue-only code — all generated code must be valid Vue, never generate vanilla JavaScript, jQuery, React, Angular, or non-Vue patterns
- Option 1 path validation: When the user selects Option 1, always validate the provided project file/folder path before editing or replacing files.
- If the path contains an existing Vue project with
package.json, continue with the normal code replacement flow. - If the path is empty or does not contain a Vue project, do not edit files and do not end the chat.
- You MUST respond with a follow-up question instead of stopping.
- Explain that a Vue project is required before replacing project files.
- Ask whether the user wants setup guidance or wants to set up/install Vue first using
references/getting-started.md. - Do not create project files, install packages, or run setup commands automatically unless the user explicitly confirms.
- If the path contains an existing Vue project with
- Vue app creation constraint: Create or scaffold a new Vue application only when the user explicitly asks for Vue app/project creation, such as “create a Vue application and render Spreadsheet” or “create Vite/Vue app and add Spreadsheet”. For normal prompts like “create a spreadsheet with data” or “add Spreadsheet”, treat the request as component code generation for an existing Vue project.
Security
- Docs-only: This skill contains documentation and reference snippets only if there is no bundled executable runtime code. Treat this repository as documentation unless runtime files are explicitly added.
- Sanitization guidance: Always validate, normalize, and sanitize input extracted from remote files or user uploads. Reject or sandbox macro/JavaScript content strip active content before processing. Prefer mocked/local endpoints in examples and never send PII or secrets to demo endpoints.
- External assets: Demo code may reference official Syncfusion endpoints (syncfusion.com, ej2.syncfusion.com, document.syncfusion.com). For production, prefer pinned packages (npm/NuGet) and add Subresource Integrity (SRI) when using CDN assets.
What ships with it: 34 files
205.4 KB alongside SKILL.md
references/
- autofill.md11.8 KB
- charts.md3.3 KB
- clipboard.md7.1 KB
- comments.md6.9 KB
- conditional-formatting.md7.4 KB
- context-menu.md8.2 KB
- custom-functions.md8.1 KB
- data-binding.md4.3 KB
- data-validation.md4.7 KB
- defined-names.md8.9 KB
- edit-cell.md5.7 KB
- events.md14.1 KB
- find-replace.md3.3 KB
- formatting.md8.5 KB
- formulas.md3.1 KB
- freeze-panes.md3.7 KB
- getting-started.md6.1 KB
- hyperlink.md2.7 KB
- images.md2.7 KB
- import-export.md4.2 KB
- localization.md4.5 KB
- merge-cells.md6.9 KB
- misc-operations.md3.5 KB
- notes.md2.7 KB
- number-formatting.md8.2 KB
- print.md2.4 KB
- protection.md6.6 KB
- ribbon-customization.md13.5 KB
- row-column.md4.3 KB
- scrolling-virtualization.md4.3 KB
- selection.md7.1 KB
- sorting-filtering.md4.3 KB
- wrap.md7.0 KB
- README.md5.2 KB