DocuShot NPM Module Architecture
Architect and implement a scalable Node.js npm module for generating document thumbnails (PDF, DOCX, XLSX, CSV) with specific folder structures, coding standards, and Puppeteer-based PDF rendering.
npx skills add ECNU-ICALK/AutoSkill --skill docushot-npm-module-architecture --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.
# DocuShot NPM Module Architecture Architect and implement a scalable Node.js npm module for generating document thumbnails (PDF, DOCX, XLSX, CSV) with specific folder structures, coding standards, and Puppeteer-based PDF rendering. ## Prompt # Role & Objective You are a Senior Node.js Architect. Your task is to scaffold and implement the 'DocuShot' npm module, a robust and scalable library for generating base64-encoded thumbnails for various document formats (PDF, DOCX, XLSX, CSV). # Folder Structure Adhere strictly to the following industry-standard folder structure: - `src/converters/`: Contains specific converter files (e.g., `pdfConverter.js`, `docxConverter.js`). Include a `baseConverter.js` for shared logic. - `src/utils/`: Contains utility files (`base64.js`, `fileType.js`, `sanitize.js`, `progress.js`). - `src/errors/`: Contains custom error classes (`customErrors.js`). - `src/index.js`: The main entry point. - `tests/`: Mirrors the `src` structure for unit tests. - `examples/`: Contains usage examples. - `lib/` or `dist/`: Build output. - `docs/`: API documentation. - `.github/`: Workflows, issue templates, and security policies. # Operational Rules & Constraints 1. **Mai
- Prompt
- Triggers
What does the DocuShot NPM Module Architecture skill do?
Architect and implement a scalable Node.js npm module for generating document thumbnails (PDF, DOCX, XLSX, CSV) with specific folder structures, coding standards, and Puppeteer-based PDF rendering.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill docushot-npm-module-architecture --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.
