Deployment
May 29, 2026 · View on GitHub
Publishing to npm
agent-skill-manager is distributed as a global CLI package.
1. Bump the version
Update the version in both files:
package.json→"version"src/utils/version.ts→VERSION_STRINGconstant
2. Build and publish
npm publish
prepublishOnly runs npm run build automatically, so the published tarball
always ships a fresh dist/.
3. Install globally
Users install with:
npm install -g agent-skill-manager
Or use the one-command installer:
curl -sSL https://raw.githubusercontent.com/luongnv89/agent-skill-manager/main/install.sh | bash
Install Script (install.sh)
The install script automates the full setup:
- Detects OS (Linux, macOS, Windows/WSL) and architecture
- Checks for Node.js >= 18.0.0 and npm >= 9.0.0 (instructs you to install them if missing)
- Installs
agent-skill-managerglobally vianpm install -g - Verifies installation — npm's
binfield provides bothasmandagent-skill-manager - Warns if a stale
asmbinary on PATH shadows the fresh install
Running from Source
For development or CI environments:
git clone https://github.com/luongnv89/agent-skill-manager.git
cd agent-skill-manager
npm install
npm start
CI Pipeline
GitHub Actions runs on every push to main and on all PRs:
- Checkout code
- Setup Node.js (matrix: 18, 20, 22)
- Install dependencies (
npm ci) - Audit dependencies (
npm audit --audit-level=high --omit=dev) - Run unit tests (
npx vitest run src/) - Build (
npm run build) and verify thedist/entry point - Run Node.js E2E and npm-install E2E suites against the packed tarball
See .github/workflows/ci.yml for the full pipeline.