agentic-cli-npm-package
Installation
SKILL.md
agentic-cli-npm-package
Three faces, one engine. A companion for agentic coding CLIs ships as a CLI (npx tool), an npm library (programmatic API), and an MCP server (so the agent itself can drive it). All three are thin wrappers over one product engine, which sits on a shared cascade core. Chains after build-from-template, before ship-a-product.
1. The shape
package/
src/index.ts library API (pure where possible — the testable core)
src/cli.ts #!/usr/bin/env node — arg parse → calls index
src/mcp.ts @modelcontextprotocol/sdk stdio server → calls index
src/*.test.ts vitest; the pure logic is where the real tests live
.github/workflows/publish.yml