Vainjs
Scaffold projects with vainjs conventions for npm packages and Chrome extensions. Make sure to use this skill whenever the user mentions initializing an npm package, creating a new project with Vite or Rollup, setting up a Chrome extension (Manifest V3), scaffolding a library, or running `npm init`, `pnpm create`, or similar scaffold commands — even if they don't explicitly ask for vainjs conventions.From its SKILL.md
npx -y skills add vainjs/skills --skill vainjsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 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.
SKILL.md
1.3 KB, 207 tokens by cl100k_base, as published. Nobody here has run it
Supported Templates
| Template | Description |
|---|---|
| npm | TypeScript npm package with rolldown bundler |
| crx | Chrome Extension (Manifest V3) with React + Vite |
Workflow
Run this skill in the target project directory.
1. Generate files
- Read references/common.md for shared config files
- Read template-specific reference:
- npm → references/npm.md
- crx → references/crx.md
2. Resolve dependency versions
For dependencies marked "latest", run npm view <pkg> version and write as ^<version>.
3. Post-setup
Check if pnpm is installed (command -v pnpm). If not, prompt user to install: npm install -g pnpm.
pnpm install
chmod +x .husky/*
What ships with it: 3 files
13.1 KB alongside SKILL.md