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

vibe-coding-analytics

v0.3.1

Published

Initialize, audit, and evolve project harnesses for modern AI coding agents.

Readme

vibe-coding-analytics

npm version npm downloads CI License: MIT Node GitHub stars

Initialize, audit, and evolve project harnesses for modern AI coding agents.

vibe-coding-analytics treats vibe coding as an engineering loop — clear instructions, scoped memory, repeatable checks, reviewer roles, reusable skills, and recurring improvement. It ships as a single npm package with a zero-config CLI and native adapters for Codex, Claude Code, Cursor, Kiro, and GitHub Copilot.

✨ Features

  • Audit a project for AI coding readiness across agents, memory, skills, tests, CI, and deploy hooks.
  • Scaffold baseline harness files (AGENTS.md, .ai/workflows, .ai/reviewers, knowledge base, ADR decision log, CI, validator script, and native adapters for Codex, Claude Code, Cursor, Kiro, and Copilot).
  • Evolve a concrete improvement plan: maps detected analytics gaps to promotion targets (tests, validators, CI, skills, rules) and surfaces recent git fix hotspots as regression-test candidates.
  • Monorepo-aware — git submodules, npm workspaces, polyglot stacks, and fractal per-directory docs are detected automatically.
  • Read-only by default — every command is safe to dry-run; pass --write to materialize changes.

📦 Installation

Run without installing:

npx vibe-coding-analytics analytics

Or install globally:

npm install -g vibe-coding-analytics

Requires Node.js >= 18.

🚀 Usage

# One-off, no install
npx vibe-coding-analytics scan            # audit (alias: analytics)
npx vibe-coding-analytics init --write    # scaffold missing harness files
npx vibe-coding-analytics evolve --write  # evolve harness from recent fixes

vca is also exposed as a CLI alias. With npx, use --package so npm installs the vibe-coding-analytics package and then runs its vca binary:

npx --package vibe-coding-analytics vca scan

With a global install:

vibe-coding-analytics scan
vibe-coding-analytics init --write
vibe-coding-analytics evolve --write

# or the short alias
vca scan
vca init --write
vca evolve --write

Commands are read-only by default. Add --write to create missing harness files.

The npm package and CLI are the same package — there is no separate CLI package to publish or install.

Commands

| Command | Purpose | | --- | --- | | scan | Audit the current project for AI coding readiness (analytics is an alias). | | init | Propose or create a minimum viable harness: AGENTS.md, .ai/workflows, .ai/reviewers, knowledge base, ADR decision log, CI, validator script, plus native adapters for Codex, Claude Code, Cursor, Kiro, and Copilot. | | evolve | Propose or create self-evolution loop files for repeated improvements; also backfills hooks + deny list when missing. |

Compatibility Model

vca init --write uses a multi-entry, single-source model:

  • AGENTS.md is the canonical durable-rule file for project facts, commands, and stable agent rules.
  • .ai/workflows/* and .ai/reviewers/* are portable source material for reusable workflows and reviewer criteria.
  • Tool-native files are intentionally thin adapters:
    • Codex reads AGENTS.md.
    • Claude Code reads CLAUDE.md, .claude/commands/*, and .claude/settings*.json.
    • Cursor reads .cursor/rules/*.mdc.
    • Kiro reads .kiro/steering/*.md.
    • GitHub Copilot reads .github/copilot-instructions.md.

The adapter files point back to AGENTS.md and .ai/ instead of duplicating long-lived rules, so a project can be opened with multiple AI CLIs or IDEs without maintaining several copies of the same guidance.

Integrations

Claude Code Slash Commands

The generated project templates support:

/analytics
/init
/evolve
/steer

The evolve and steer commands are designed to pair with local loops:

/loop 30m /evolve
/loop 30m /steer   # after each bug fix: add the smallest sensor that would have caught it

Use it to extract repeated user corrections, failed checks, review feedback, and repeated command sequences into durable tests, validators, rules, commands, skills, or reviewer agents.

Codex Skill

This repository includes a distributable skill at:

skills/vibe-coding-analytics/SKILL.md

The skill triggers when initializing a new project, auditing an existing repository for AI coding readiness, adding agent rules, or improving a project's vibe coding harness.

Codex Plugin

The repository includes a Codex plugin manifest:

.codex-plugin/plugin.json

It points Codex at the included skills directory and can be used as the base for marketplace submission.

What It Checks

  • AGENTS.md, CLAUDE.md, Cursor rules, Kiro steering, and Copilot instructions
  • Project memory such as PRDs, constraints, patterns, known issues, or fractal per-directory CLAUDE.md
  • Reusable skills, slash commands, specialist reviewers (.claude/agents/, reviewer skills, or plugin agents)
  • Tests, typecheck, lint, architecture validators, and CI
  • Rule-to-sensor coverage: prose rules in CLAUDE.md/AGENTS.md backed by computational sensors (tests, lint, validators), not prose-only
  • Steering loop: numbered rules (Rule N) in CLAUDE.md/AGENTS.md that grow after each bug fix — the rising count is the feedback-loop heartbeat
  • Failure observability: monitoring, alerting, or error counters so critical-path failures surface instead of failing silently
  • Deploy and post-deploy verification hooks
  • Agent hooks: PostToolUse on Edit|Write running eslint + prettier (format-on-save + lint-on-edit at edit time), plus a permissions.deny list blocking irreversible commands (rm -rf, git push -f, git reset --hard, curl | sh, psql -c 'DROP TABLE …', …). vca init --write scaffolds both for Claude Code projects; the deny list gains destructive-SQL entries (psql *-c *DROP TABLE*, mysql *-e *TRUNCATE*, …) on database projects — matched inside the client invocation, since the real command never starts with the bare keyword
  • Cross-session memory: ADR decisions, agent memory, or a decisions log
  • Self-evolution loops that promote repeated work into durable harness assets
  • Minimum viable harness generation: project facts, validation command, CI, .ai/workflows, .ai/reviewers, knowledge base, decision memory, architecture validator, and native AI tool adapters
  • Depth hints on passing checks (test-file / instruction-line / skill counts) so a stub is distinguishable from a mature project at the same score
  • False-safety warnings when checks are partially present (tests without CI, agent rules without enforcement, no single validation command)

Monorepo & Non-Standard Conventions

The analyzer is aware of common repository shapes and does not assume a flat single-package Node project:

  • Git submodules — when .gitmodules is present, every check runs against the root plus each submodule root, so tests, scripts, and harness files living one level down are still detected.
  • npm workspaces — detected from the root package.json workspaces field.
  • Polyglot stackspackage.json scripts are merged from every subpackage; Go (go.mod), Flutter (pubspec.yaml), and TypeScript (tsconfig.json) are recognized as typecheck signals; test files are detected by convention (*_test.go, *_test.dart, *.test.{js,ts}, test_*.py, …).
  • Fractal docs — two or more CLAUDE.md/AGENTS.md files count as project memory, matching the per-directory documentation pattern.
  • Architecture sensors — any scripts/*validate*, *verify*, *check*, or *lint* file counts, not just scripts/validate-architecture.

The report prints the detected Project shape and how many roots were scanned.

🤝 Contributing

Contributions are welcome! Please open an issue or submit a pull request.

📄 License

MIT © 2026 kx-code