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

ai-vibes

v1.4.0

Published

A tiny CLI that initializes a standard, repo-local AI steering manifest and rule documents

Downloads

568

Readme

ai-vibes

Give your AI the vibe check it deserves.

Your AI writes amazing code. Too bad it looks nothing like the rest of your codebase. 🤦

ai-vibes scaffolds AI steering rules in 30 seconds. Define your team's standards once, every AI follows them. Think .editorconfig but for AI behavior.

Quick Start

npx ai-vibes init

That's it. Answer two prompts (or press Enter). You get a vibes.json manifest and markdown rule files.

Want minimal? (3 files instead of 11)

npx ai-vibes init --minimal

Prefer YAML?

npx ai-vibes init --manifest vibes.yaml

Requirements: Node.js 18+

This tool runs on caffeine — if it saved you some time, my coffee fund is always open ☕.

What You Get

Minimal mode (3 files):

  • 🔒 security.md - Never commit secrets, validate inputs
  • unit-tests.md - Test behavior, cover edge cases
  • 📝 naming.md - Consistent naming conventions

Full mode (11 files) - adds:

  • Architecture, Performance, Code Review, Error Handling, Documentation, Accessibility, API Design, Git Workflow

All templates are starting points. Edit them to match your team's actual standards.

How to Use With AI

GitHub Copilot:

@workspace Follow the guidelines in vibes.json

Cursor/Windsurf:

Create an API endpoint following vibes.json

Claude/ChatGPT:

cat vibes.json vibes/*.md
# Paste into your conversation

Pro tip: File paths in JSON are clickable in VS Code. No more hunting for files.

What It Does

✅ Creates vibes.json manifest (clickable paths in VS Code!)
✅ Creates rule documents in Markdown
✅ Gives you a place to say "No, AI, we don't do that here"

Supports both JSON and YAML formats.

What It Doesn't Do

❌ Validate rules (it's not a linter)
❌ Enforce rules (you still need code review)
❌ Integrate with AI tools directly (bring your own AI)
❌ Make coffee ☕

Why This Exists

Every AI can read Markdown. Not every AI follows your coding standards.

This tool gives you a single place to define those standards. Edit the templates to match your team's reality, commit them to version control, and reference them when working with any AI assistant.

It's intentionally minimal. You write the rules, AI follows them.

FAQ

Do I need to install this?
No. npx ai-vibes init runs without installing. One command, zero commitment.

Can I customize the templates?
That's literally the entire point. These are starting points, not commandments carved in stone.

Should I commit these files?
Yes! Version control = time travel. Future-you will thank past-you for documenting these decisions.

Does this work with [my AI tool]?
If your AI can read Markdown (spoiler: they all can), then yes. Tool-agnostic by design.

Why JSON by default?
Clickable file paths in VS Code. But YAML works too if you're into that.

Contributing

Know a better format? Have ideas? Found a bug?

Contributions welcome:

  • 🐛 Bug fixes
  • ✨ New template ideas
  • 📝 Better examples

See CONTRIBUTING.md or open an issue.


Reference

npx ai-vibes init [options]

Options:
  --minimal              3 essential files instead of 11
  --force                Overwrite existing files
  --dir <name>           Directory name (default: vibes)
  --manifest <filename>  Manifest filename (default: vibes.json)
  -h, --help             Display help

Minimal mode:

your-project/
├── vibes.json          # Manifest with 3 rules
└── vibes/
    ├── security.md
    ├── unit-tests.md
    └── naming.md

Full mode:

your-project/
├── vibes.json          # Manifest with 11 rules
└── vibes/
    ├── security.md
    ├── unit-tests.md
    ├── naming.md
    ├── architecture.md
    ├── performance.md
    ├── code-review.md
    ├── error-handling.md
    ├── documentation.md
    ├── accessibility.md
    ├── api-design.md
    └── git-workflow.md
{
  "version": 1,
  "about": {
    "name": "Repo Vibes",
    "description": "How AIs should work in this repo"
  },
  "rules": {
    "security": "vibes/security.md",
    "unit-tests": "vibes/unit-tests.md",
    "naming": "vibes/naming.md"
  },
  "order": ["security", "unit-tests", "naming"],
  "modes": {
    "codegen": {
      "include": ["security", "unit-tests", "naming"]
    },
    "review": {
      "include": ["security", "naming"]
    }
  }
}

Fields:

  • rules — map of rule IDs to markdown file paths
  • order — priority order in which rules are applied
  • modes — named subsets of rules for different AI tasks

Built-in modes (customize freely): | Mode | Use for | |---|---| | codegen | Writing new code | | review | Reviewing or refactoring code | | test | Writing or updating tests | | docs | Writing documentation | | ops | Infrastructure and deployment tasks |

Reference a mode when prompting your AI: "Use codegen mode from vibes.json."

Monorepo:

cd packages/api
npx ai-vibes init --dir ../../.ai-rules --manifest ../../ai-rules.json

Custom location:

npx ai-vibes init --dir .github/ai-guidelines

CI/CD (skip prompts):

npx ai-vibes init --minimal --dir rules --manifest rules.json --force

Repository: https://github.com/HelpBits/ai-vibes
Package: https://www.npmjs.com/package/ai-vibes
Version: 1.2.1
License: MIT