视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
skill-026【文档与办公】A skill for generating and automating Excel spreadsheet (.xlsx) creation and modification for data analysis and reporting. Use this skill to streamline your data handling processes.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
The Spreadsheet Automation skill allows users to generate and manipulate Excel spreadsheets (.xlsx) programmatically. This is useful for tasks such as data analysis, reporting, and automating repetitive spreadsheet processes.
Use the "Creating a new Excel file" workflow below.
To create an Excel file, you can utilize the xlsx library, which enables you to generate worksheets, write data, and format cells.
Make sure you have the xlsx library installed:
npm install xlsx
Here’s an example of generating a new spreadsheet:
const XLSX = require('xlsx');
// Create a new workbook
let wb = XLSX.utils.book_new();
// Add a new worksheet
let ws_data = [['Name', 'Age'], ['Alice', 30], ['Bob', 25]];
let ws = XLSX.utils.aoa_to_sheet(ws_data);
XLSX.utils.book_append_sheet(wb, ws, 'Sheet1');
// Write the workbook to a file
XLSX.writeFile(wb, 'output.xlsx');
The Spreadsheet Automation skill is a powerful tool for users looking to automate their Excel spreadsheet tasks, making data manipulation and analysis much more efficient.