skills/npm-publish/SKILL.md
Publish acplugin to npm with version bump, build, test, and 2FA handling
npx skillsauth add TokenRollAI/acplugin npm-publishInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
版本升级
npm version <major|minor|patch> --no-git-tag-version
构建 + 测试
npm run build && npm test
检查打包内容(确认无测试文件)
npm pack --dry-run
发布 账号有 2FA,需要用户手动输入 OTP:
提示用户运行: ! npm publish --access=public
Commit + Push
git add package.json package-lock.json
git commit -m "chore: bump version to $(node -p 'require("./package.json").version')"
git push
@disdjj/acplugin(scoped),必须加 --access=publicprepublishOnly 脚本会自动编译files 字段已排除 dist/__tests__/tools
Add support for a new target platform to acplugin (e.g., Windsurf, Zed, etc.)
tools
Add a new resource type converter to acplugin (e.g., adding support for converting a new Claude Code resource type)
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------