vibe-coding-analytics
v0.2.2
Published
Initialize, audit, and evolve project harnesses for modern AI coding agents.
Downloads
861
Maintainers
Readme
vibe-coding-analytics
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 first-class templates for Claude Code and Codex.
✨ Features
- Audit a project for AI coding readiness across agents, memory, skills, tests, CI, and deploy hooks.
- Scaffold baseline harness files (
AGENTS.md,CLAUDE.md, skills, slash commands, reviewer agents). - 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
--writeto materialize changes.
📦 Installation
Run without installing:
npx vibe-coding-analytics analyticsOr install globally:
npm install -g vibe-coding-analyticsRequires Node.js >= 18.
🚀 Usage
# One-off, no install
npx vibe-coding-analytics analytics
npx vibe-coding-analytics init --write
npx vibe-coding-analytics evolve --writevca 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 analyticsWith a global install:
vibe-coding-analytics analytics
vibe-coding-analytics init --write
vibe-coding-analytics evolve --write
# or the short alias
vca analytics
vca init --write
vca evolve --writeCommands 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 |
| --- | --- |
| analytics | Audit the current project for AI coding readiness. |
| init | Propose or create baseline harness files. |
| evolve | Propose or create self-evolution loop files for repeated improvements. |
Integrations
Claude Code Slash Commands
The generated project templates support:
/analytics
/init
/evolveThe evolve command is designed to pair with local loops:
/loop 30m /evolveUse 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.mdThe 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.jsonIt 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, 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.mdbacked by computational sensors (tests, lint, validators), not prose-only - Steering loop: numbered rules (
Rule N) inCLAUDE.md/AGENTS.mdthat 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
- Cross-session memory: ADR decisions, agent memory, or a decisions log
- Self-evolution loops that promote repeated work into durable harness assets
- 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
.gitmodulesis 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.jsonworkspacesfield. - Polyglot stacks —
package.jsonscripts 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.mdfiles count as project memory, matching the per-directory documentation pattern. - Architecture sensors — any
scripts/*validate*,*verify*,*check*, or*lint*file counts, not justscripts/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.
