npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@heap-eng/starter-kits-cli

v0.3.2

Published

Initialize projects with Heap starter kit templates, project capabilities, and Cursor agent kits

Readme

starter-kits-cli

CLI para criar projetos e instalar kits de projeto (PostgreSQL, Docker, JWT, etc.).

Não confundir com os kits de skills do repositório pai (universal/, frontend/, …) — esses são para agentes de IA; este CLI gera código e configuração de projeto.

Requisitos

  • Node.js 22+

Setup para o time (instalar no terminal)

| Modo | Guia | |------|------| | npm / npx (sem clone) | npx @heap-eng/starter-kits-cli@latest init — ver CLI-SETUP.md | | Clone + npm link (dev) | CLI-SETUP.md | | Publicar no npm (maintainers) | PUBLISH-NPM.md |

# Após publicação no npm
npx @heap-eng/starter-kits-cli@latest list-agent-kits

# Desenvolvimento no monorepo
git clone [email protected]:heap-eng/starter-kits.git
cd starter-kits/starter-kits-cli
npm install && npm run build && npm link

Desenvolvimento (monorepo starter-kits)

cd starter-kits-cli
npm install
npm run validate   # build + test + smoke

Executar localmente:

node dist/index.js list-kits
node dist/index.js list-agent-kits    # só dentro do monorepo
node dist/index.js init backend-nestjs --name my-api --kits db-postgres,docker

Ou após npm link:

starter-kits-cli init
starter-kits-cli list-kits
starter-kits-cli list-agent-kits
starter-kits-cli install-kit docker

Comandos

| Comando | Descrição | |---------|-----------| | init [type] | Novo projeto (interativo ou --name / --kits) | | import-kits / add-kits | Só importa kits no diretório atual (sem scaffold) | | init --kits-only | Atalho para import-kits no cwd | | list-kits | Lista kits de projeto (--category, --json) | | list-agent-kits | Lista kits de skills via kits/manifest.json (monorepo) | | install-kit <kit> | Aplica um kit no diretório atual |

Importar kits em projeto existente

cd meu-projeto

# Só agent kits (Cursor)
starter-kits-cli import-kits --agent-kits universal,planning,quality-security

# Só capacidades (templates Docker, DB, …)
starter-kits-cli import-kits --kits docker,ci-github

# Os dois
starter-kits-cli import-kits --agent-kits software-dev -k db-postgres

# Abre o seletor Ink de agent kits direto (sem boilerplate)
starter-kits-cli import-kits
starter-kits-cli init --kits-only

# Só capacidades (seletor de templates)
starter-kits-cli init --kits-only --pick capabilities

# Os dois seletores em sequência
starter-kits-cli init --kits-only --pick both

Tipos de projeto

  • monorepo-turborepo, monorepo-nx
  • frontend-nextjs, frontend-vite
  • backend-nestjs, backend-go

Cada tipo gera um scaffold mínimo em src/generators/scaffolds/; skills adicionam arquivos em kits/<id>/, .github/, Docker, etc.

No init interativo, a seleção de skills usa um TUI (Ink, inspirado em agent-skills): categorias fechadas por padrão, Espaço para expandir/recolher, Espaço na skill para marcar, Enter para confirmar.

Publicação npm

npm run bundle      # vendor/heap-starter-kits ← skills do monorepo
npm run pack:check  # build + bundle + tarball dry-run

Detalhes: docs/PUBLISH-NPM.md.

Validação

| Escopo | Comando | O que valida | |--------|---------|----------------| | Só o CLI | npm run validate | tsc, vitest (registry + init + manifest), smoke (scripts/smoke-cli.mjs) | | Antes de publicar | npm run pack:check | build + bundle agent kits + npm pack --dry-run | | Monorepo inteiro | bash scripts/validate-repo.sh (raiz) | manifest de skills, shared skills, depois npm run build && npm test no CLI |

CI (.github/workflows/ci.yml) — job Validate em todo push/PR; Publish npm após validate OK na main.

Estrutura

src/
├── commands/       # init, list-kits, list-agent-kits, install-kit
├── generators/
│   ├── scaffolds/  # por project type
│   └── kits/       # por kit de projeto
├── lib/            # repo-root, agent-manifest, progress
└── registry/       # KIT_REGISTRY, PROJECT_TYPES