·npm-library-setup
</>

npm-library-setup

huozhi/npm-skills

有关使用 package.json 设置 npm 库的综合指南,优先选择 ES 模块 (ESM)。在设置 npm 包、配置 ESM、TypeScript 包或 React 组件库时使用。

43安装·4热度·@huozhi

安装

$npx skills add https://github.com/huozhi/npm-skills --skill npm-library-setup

SKILL.md

This skill provides comprehensive guidance on setting up an npm library with package.json, with a preference for ES Modules (ESM).

Note: Use the oldest currently-maintained LTS version (check Node.js Release Schedule).

Important: Always use .js extension in imports, even in TypeScript files.

有关使用 package.json 设置 npm 库的综合指南,优先选择 ES 模块 (ESM)。在设置 npm 包、配置 ESM、TypeScript 包或 React 组件库时使用。 来源:huozhi/npm-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/huozhi/npm-skills --skill npm-library-setup
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 npm-library-setup?

有关使用 package.json 设置 npm 库的综合指南,优先选择 ES 模块 (ESM)。在设置 npm 包、配置 ESM、TypeScript 包或 React 组件库时使用。 来源:huozhi/npm-skills。

如何安装 npm-library-setup?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/huozhi/npm-skills --skill npm-library-setup 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/huozhi/npm-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01

相关 Skills

暂无