Opinionated Rslib recommendations for modern JS/TS npm package design covering pure ESM, strict TypeScript, explicit exports, small stable APIs, pragmatic dependencies, accurate sideEffects, correct declarations, package validation, provenance, README.md, and AGENTS.md. Use when the user wants to make a JS/TS package more modern, check whether the current package setup is healthy, review package.json/exports/types/dependencies/docs/release readiness, or apply a modern library baseline.
$npx -y skills add rstackjs/agent-skills --skill rslib-modern-packageInstalls into the current project.
Run `npx skills use "https://github.com/rstackjs/agent-skills" --skill "rstackjs/agent-skills/rslib-modern-package"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/rstackjs/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/rstackjs/agent-skills"` and select the relevant skills, then follow their instructions.