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

keystone-rules

v0.3.0

Published

Opinionated configuration package for LLM coding agents (Claude Code initially). Distributes skills, hooks, rules, and settings via a single CLI.

Downloads

53

Readme

keystone-rules

⚠️ AVISO — Este pacote é altamente opinativo e foi feito para uso pessoal de Davy Massoneto. Ele modifica seu ambiente de configuração de agentes LLM (a princípio Claude Code) e pode sobrescrever arquivos existentes. Backups automáticos são criados, mas leia este README inteiro antes de instalar.

Pacote de configuração opinativa para agentes LLM de codificação. Distribui skills, hooks, rules, settings e CLAUDE.md através de um único CLI instalável globalmente.

Status

🚧 Em desenvolvimento ativo. CLI funcional para os comandos version, help e doctor. Comandos de instalação/atualização ainda virão em fases futuras.

Instalação

npm install -g keystone-rules

Após instalação, o comando ks ficará disponível.

Pré-requisitos

  • Node.js 24 ou superior
  • Claude Code instalado e autenticado (verifique com claude auth status)

Uso

Versão

ks version       # imprime "keystone-rules <versão>"
ks --version     # equivalente
ks -v            # equivalente

Ajuda

ks help          # lista comandos disponíveis
ks --help        # equivalente
ks -h            # equivalente
ks               # sem argumentos imprime a ajuda

Diagnóstico de instalação

ks doctor        # saída humana, uma linha por verificação com ícone + status
ks doctor --json # saída JSON estruturada para automação

Verificações executadas:

  • Node.js version: confere se a versão atende >=24.
  • Claude Code installed: roda claude --version com timeout de 5 segundos.
  • Claude Code authenticated: roda claude auth status (skipped quando o passo anterior falha).
  • Claude Code home directory: confirma que ~/.claude/ (ou KEYSTONE_CLAUDE_HOME) existe.
  • keystone-rules manifest: estado do manifest de instalação (skipped até o comando install chegar).
  • Manifest JSON validity: validade do JSON do manifest (skipped até o comando install).
  • Manifest files on disk: confere se cada arquivo do manifest está presente (skipped até o comando install).
  • Claude Code settings.json: validade do JSON de settings; ausência do arquivo é considerada estado válido (defaults do Claude Code).
  • Hook executability: bit de executável dos hooks instalados (skipped até o comando install).

Exit code: 0 quando todas as verificações são ok/warn/skipped; 1 quando qualquer verificação resulta em error.

Variável de ambiente KEYSTONE_CLAUDE_HOME: se setada, sobrescreve ~/.claude/. Útil para testes e ambientes isolados.

Plataformas suportadas

  • Linux
  • macOS
  • Windows (sem necessidade de WSL)

Licença

MIT © Davy Massoneto

Contribuindo

Issues sobre infraestrutura do CLI são bem-vindas. PRs adicionando skills/hooks pessoais não serão aceitos — o pacote distribui configuração pessoal.

Implementações pendentes

Tests marcados como it.todo aguardando comandos de fases futuras (principalmente install) estão catalogados em docs/PENDING.md. Cada entrada referencia o arquivo de teste e o comportamento que será habilitado quando o comando dependente for implementado.