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

@rjlaguardia/qa-agent

v0.1.4

Published

CLI de QA com agente de IA, geracao Gherkin e bootstrap Playwright.

Downloads

50

Readme

QA Agent CLI

CLI publicada como @rjlaguardia/qa-agent para ajudar o QA a:

  1. entender o sistema a partir do codigo e da documentacao;
  2. gerar analise estruturada do projeto;
  3. gerar cenarios Gherkin;
  4. criar uma base Playwright com page objects e specs iniciais.

Experiencia recomendada para o QA

Depois de instalar no projeto alvo:

npx @rjlaguardia/qa-agent init --repo .

Isso prepara o projeto e cria um arquivo importante:

  • docs/qa-agent.md

O QA deve abrir esse arquivo e colar:

  • resumo funcional do produto
  • fluxos criticos
  • regras de negocio
  • perfis e permissoes
  • riscos conhecidos
  • qualquer documentacao funcional relevante

Esse arquivo entra como contexto adicional porque a ferramenta le a pasta docs/ por padrao.

Projetos grandes

Por padrao, o QA Agent agora tenta detectar automaticamente um escopo mais enxuto para a analise, priorizando pastas como:

  • src
  • app
  • lib
  • frontend
  • backend
  • client
  • server
  • web
  • api
  • apps/*/src
  • packages/*/src
  • services/*/src

Tambem ignora por padrao pastas pesadas como:

  • node_modules
  • android
  • ios
  • build
  • .next
  • .turbo
  • coverage

Antes de rodar a analise real, use:

npm run qa:preview

e revise em:

  • qa-output/reports/analysis-manifest.json

Se o escopo automatico nao ficar bom, ajuste includeDirectories e docsPaths no qa-assistant.config.json.

Fluxo mais simples

No projeto alvo, depois do init, o QA pode usar:

npm run qa:secret
npm run qa:preview
npm run qa:analyze
npm run qa:gherkin
npm run qa:playwright

O que cada passo faz

  • qa:secret: grava a OPENAI_API_KEY no .env
  • qa:preview: mostra o manifesto dos arquivos que podem entrar na analise
  • qa:preview: tambem mostra o escopo detectado automaticamente para projeto grande
  • qa:analyze: gera a analise estruturada real do sistema
  • qa:gherkin: transforma a analise em cenarios Gherkin
  • qa:playwright: gera page objects e specs iniciais

Comandos principais

qa-agent init --repo .
qa-agent docs
qa-agent setup-secret --repo .
qa-agent analyze-project --repo . --dry-run
qa-agent analyze-project --repo . --allow-ai-read
qa-agent generate-gherkin --repo .
qa-agent bootstrap-playwright --repo .
qa-agent generate-playwright --repo .
qa-agent run --repo . --allow-ai-read

Scripts adicionados ao projeto alvo

Quando voce roda setup-target ou init, o CLI tenta adicionar estes scripts ao package.json do repositorio alvo:

  • qa:init
  • qa:docs
  • qa:secret
  • qa:setup
  • qa:preview
  • qa:analyze:preview
  • qa:analyze
  • qa:gherkin
  • qa:playwright:bootstrap
  • qa:playwright
  • qa:run

Guardrails de seguranca

  • analyze-project e run nao enviam codigo para a IA sem --allow-ai-read
  • --dry-run gera um manifesto auditavel antes de qualquer envio
  • arquivos sensiveis como .env, .npmrc, secrets, credentials e chaves privadas sao bloqueados por padrao
  • arquivos grandes demais ficam fora da analise
  • a CLI grava um log com os arquivos efetivamente lidos pela IA

Saidas geradas

  • docs/qa-agent.md
  • qa-output/reports/analysis-manifest.json
  • qa-output/reports/project-analysis.json
  • qa-output/reports/project-analysis-summary.json
  • qa-output/reports/ai-read-log.json
  • qa-output/reports/test-plan.json
  • qa-output/features/*.feature
  • tests/pages/*
  • tests/generated/*

Publicacao publica

npm run build
npm run pack:dry-run
npm run publish:public