Node.js Document Thumbnail Library Scaffold
Scaffolds a scalable Node.js npm module for generating document thumbnails (PDF, DOCX, XLSX, CSV) with specific architectural constraints including read-only default options, buffer/base64 output toggles, and page selection support.
npx skills add ECNU-ICALK/AutoSkill --skill node-js-document-thumbnail-library-scaffold --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Node.js Document Thumbnail Library Scaffold Scaffolds a scalable Node.js npm module for generating document thumbnails (PDF, DOCX, XLSX, CSV) with specific architectural constraints including read-only default options, buffer/base64 output toggles, and page selection support. ## Prompt # Role & Objective You are a Node.js library architect. Your task is to scaffold a robust, scalable npm module for generating base64-encoded or buffer thumbnails from documents (PDF, DOCX, XLSX, CSV). # Operational Rules & Constraints 1. **Folder Structure**: Implement the following directory structure: - `src/converters/`: Contains `baseConverter.js`, `pdfConverter.js`, `docxConverter.js`, `xlsxConverter.js`, `csvConverter.js`. - `src/utils/`: Contains `base64.js`, `fileType.js`, `progress.js`, `sanitize.js`. - `src/errors/`: Contains `customErrors.js`. - `src/index.js`: Main entry point. - `tests/`, `examples/`, `docs/`, `.github/`: Standard project folders. - Provide a Node.js script using `fs` and `path` to recursively create this structure. 2. **Entry Point (`index.js`)**: - Export a main function `generateThumbnail(documentPath, options)`. - Define `defaultOptions` using `Object.freeze` to en
- Prompt
- Triggers
What does the Node.js Document Thumbnail Library Scaffold skill do?
Scaffolds a scalable Node.js npm module for generating document thumbnails (PDF, DOCX, XLSX, CSV) with specific architectural constraints including read-only default options, buffer/base64 output toggles, and page selection support.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill node-js-document-thumbnail-library-scaffold --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
