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

psst-ai

v1.4.0

Published

<h1 align="center">🤫 psst-ai</h1> <h2 align="center"> Whisper AI code instructions from codebase to editor</h2>

Readme

npm GitHub Repo stars npm GitHub License

Automatically extract coding conventions and preferences from your project and generate tailored instructions for AI code assistants like GitHub Copilot, Cursor, and more.

🌟 Features

  • 🔍 Zero Configuration: Just run the CLI and it automatically detects your project's setup
  • 📝 Generates Instructions: Creates a markdown file with AI-ready instructions
  • 🚀 Editor Integration: Works seamlessly with GitHub Copilot, Cursor, Windsurf, and other AI assistants
  • 🎯 Deep Project Analysis: Detects 14+ different aspects including frameworks (Next.js, Vue), testing tools (Jest, AVA), databases (Prisma), UI libraries (Tailwind), and state management (Zustand)
  • 🔧 Smart Configuration Detection: Automatically identifies project conventions from config files, package.json, and code patterns
  • 📁 Multi-Language Support: Works with JavaScript, TypeScript, and detects specific build tools, linters, and development workflows

💡 Why Use psst-ai?

  • No More Repetition: Stop typing the same instructions every time you chat with AI
  • Consistency: Ensure all team members give the same instructions to AI assistants
  • Time Saver: Automatically detect project conventions without manual effort
  • Project Onboarding: Help new team members understand coding standards through AI
  • Lightweight & Fast: Focused CLI design means quick installation and execution

🚀 Quick Start

# Run directly without installing (recommended)
npx psst-ai

# Or with pnpm
pnpm dlx psst-ai

# Or with yarn
yarn dlx psst-ai

# Specify a custom directory to scan
npx psst-ai /path/to/your/project

Want to install globally?

pnpm add -g psst-ai    # or npm install -g psst-ai

That's it! The tool will:

  1. Scan your project files and configuration
  2. Detect coding conventions and preferences
  3. Print the AI-ready instructions directly to your terminal

📄 Generated Instructions Format

After running the tool, you'll see instructions printed to your terminal based on your project's conventions. The output is organized by category and provides specific, actionable guidance:

## Linting
- Use eslint for linting.

## Next.js
- Use Next.js as the React framework.
- Use the App Router directory structure in Next.js.
- Use React strict mode in Next.js.

## Node Version
- Use the nodejs version specified in the .nvmrc file (v22.15.1).

## Package Manager
- Use pnpm as the package manager.

## Tailwind CSS
- Use Tailwind CSS utility classes for styling. Keep custom CSS minimal and prefer utility-first approach.
- Using @tailwindcss/forms plugin. This provides better default styling for form elements.

## Testing
- Use vitest testing framework.

The instructions are automatically generated based on what psst-ai detects in your project - configuration files, dependencies, file patterns, and coding conventions.

🧩 What's Detected?

Currently, psst-ai can detect: See our scanners documentation for a complete list of everything psst-ai can detect.

🔧 How to Use the Generated Instructions

Method 1: Copy and Paste

  1. Copy the output from your terminal
  2. Paste into your AI assistant's instructions panel:
    • GitHub Copilot: Chat instructions
    • Cursor: Workspace instructions
    • VS Code AI Assistant: Custom instructions
    • Other AI coding tools: Custom prompts section

Method 2: Automatic File Updates

Insert the start and end tags <!-- PSST-AI-INSTRUCTIONS-START --> and <!-- PSST-AI-INSTRUCTIONS-END --> in your instruction file, and psst-ai will replace the content between these tags with the generated instructions.

# Coding Guidelines for This Project

<!-- PSST-AI-INSTRUCTIONS-START -->
<!-- Your AI instructions will be inserted here -->
<!-- PSST-AI-INSTRUCTIONS-END -->

🧰 Editors Integration

Before: paste the instruction tags (including both start and end tags) into your instructions file and run the command in your favorite editor:

VSCode

For VS Code's GitHub Copilot Chat, place your instructions file in .github/copilot-instructions.md and run:

npx psst-ai -f ./.github/copilot-instructions.md

Cursor

For Cursor AI, place your instructions file in .cursor/rules/ai-instructions.mdc and run:

npx psst-ai -f ./.cursor/rules/ai-instructions.mdc

Windsurf

For Windsurf AI, place your instructions file in .windsurf/rules/ai-instructions.md and run:

npx psst-ai -f ./.windsurf/ai-instructions.md

Command Options

  -o, --output <path>  Save output to a file
  --no-header          Flatten output without category headers
  -f, --file <path>    File path to update with AI instructions