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 🙏

© 2025 – Pkg Stats / Ryan Hefner

ai-flow-dev

v2.1.1

Published

AI-powered development workflow from idea to production. Generate specs, plan features, and build with AI assistance throughout your project lifecycle.

Downloads

1,049

Readme

AI Flow

CI Status

English

Transform your idea into a production-ready, AI-documented project (backend, frontend, fullstack, or mobile) in minutes.

AI Flow is an interactive CLI that creates comprehensive professional documentation and provides an AI-powered development workflow from idea to production. Compatible with Claude, Copilot, Cursor, Gemini, and any AI assistant.

Key Features:

  • 🚀 Complete professional documentation (Backend: 14 docs, Frontend: 15 docs, Mobile: 13 docs, Fullstack: 3 docs)
  • Two modes: Interactive (90-120 min, full control) or Smart Auto-Suggest (15-25 min, 6 questions)
  • 🌍 Universal support - 12 languages, 60+ frameworks, 35+ ORMs (98% coverage)
  • 🤖 Multi-AI support with slash commands
  • 🔍 Smart 3-layer detection for existing projects (50-94% faster)
  • ⏱️ Save 10-20 hours per project

Quick Start:

Requirements: Node.js ≥20.0.0

npm install -g ai-flow-dev
ai-flow init .
# Then open your AI tool and run: /flow-build

📚 Complete Guide →


Español

Transforma tu idea en un proyecto listo para producción y documentado para IA en minutos (backend, frontend, fullstack o mobile).

Características:

  • 🚀 Documentación profesional completa (Backend: 14 docs, Frontend: 15 docs, Mobile: 13 docs, Fullstack: 3 docs)
  • Dos modos: Interactivo (90-120 min, control total) o Auto-Sugerido (15-25 min, 6 preguntas)
  • 🌍 Soporte universal - 12 lenguajes, 60+ frameworks, 35+ ORMs
  • 🤖 Compatible con Claude, Copilot, Cursor, Gemini
  • 🔍 Detección inteligente para proyectos existentes (50-94% más rápido)
  • ⏱️ Ahorra 10-20 horas por proyecto

Inicio rápido:

Requisitos: Node.js ≥20.0.0

npm install -g ai-flow-dev
ai-flow init .
# Luego en tu herramienta IA: /flow-build

📚 Guía Completa →


Português

Transforme sua ideia em um projeto pronto para produção e documentado para IA em minutos. Características:

  • 🚀 Documentação profissional completa (Backend: 14, Frontend: 15, Mobile: 13, Fullstack: 3 docs)
  • Dois modos: Interativo (90-120 min, controle total) ou Auto-Sugestão (15-25 min, 6 perguntas)
  • 🌍 Suporte universal - 12 linguagens, 60+ frameworks, 35+ ORMs
  • 🤖 Compatível com Claude, Copilot, Cursor, Gemini
  • 🔍 Detecção inteligente para projetos existentes (50-94% mais rápido)
  • ⏱️ Economize 10-20 horas por projetos existentes (50-94% mais rápido)
  • ⏱️ Economize 10-20 horas por projeto

Início Rápido:

Requisitos: Node.js ≥20.0.0

npm install -g ai-flow-dev
ai-flow init .
# Em seguida, na sua ferramenta de IA: /flow-build

📚 Guia Completo →


🎯 What is AI Flow?

AI Flow is an interactive CLI tool that generates comprehensive professional documentation and provides an AI-powered development workflow throughout your project lifecycle (backend, frontend, fullstack, or mobile). It creates the foundation for AI-assisted development with any AI tool, from initial setup to feature development and maintenance.

The Problem: Starting a project requires hours of documentation setup. Existing projects lack proper AI-ready documentation. Without proper docs, AI assistants work inefficiently. The Solution:

  • Interactive Mode: Full control, all questions (90-120 min new, 35-70 min existing)
  • Smart Auto-Suggest Mode: Only 6 critical questions, AI suggests the rest (15-25 min)
  • Smart Detection: Analyzes existing projects to pre-populate answers (50-60% faster)

The result is interconnected documentation that guides AI assistants and human developers throughout your project lifecycle. The result is interconnected documentation that guides AI assistants and human developers throughout your project lifecycle.


  • 🌍 Universal Support - 12 languages, 60+ frameworks, 35+ ORMs (98% coverage)
  • 🤖 AI-Agnostic - Claude, Copilot, Cursor, Gemini, any AI tool
  • 📚 Professional Documentation - Backend: 14, Frontend: 15, Mobile: 13, Fullstack: 3 docs
  • Two Questionnaire Modes:
    • Interactive Mode: Full control, 71 questions (90-120 min)
    • Smart Auto-Suggest: Only 6 critical questions, AI suggests best practices (15-25 min)
  • 🔍 Smart 3-Layer Detection - Analyzes existing projects in 15s-5min
  • 💾 Intelligent Caching - 0 seconds on re-runs with no changes
  • 💡 Slash Commands - Easy execution with /flow-build, /flow-dev-feature, /flow-dev-commit
  • ⏱️ Time Efficient - Save 10-20 hours per project

📋 Prerequisites

  • Node.js: 20.0.0 or higher (Download)
  • npm: Included with Node.js

📦 Installation

npm install -g ai-flow-dev

Or using uv (Python tool manager):

uv tool install ai-flow-dev

Current version: 2.1.1


🚀 Quick Start

# 1. Create project folder
mkdir my-awesome-project
cd my-awesome-project

# 2. Initialize AI Flow
ai-flow init .

# 3. Open your AI tool and run:
/flow-build

That's it! The AI will guide you through an interactive questionnaire to generate all documentation.

📚 For detailed tutorials, see GETTING-STARTED.md


🛠️ CLI Commands

ai-flow init [path]     # Initialize project
ai-flow check           # Verify initialization
ai-flow --version       # Show version
ai-flow --help          # Show help

Example check output:

$ ai-flow check

✓ .ai-flow/core/config.json found
✓ AI tools configured: claude
✓ Project type: backend
✓ Documentation complete: 17 files
✓ Slash commands installed: .claude/commands/

✅ All checks passed! Your project is ready for AI-assisted development.

Common Flags

--ai <tool>              # claude, cursor, copilot, gemini, all (interactive if omitted)
--type <type>            # backend, frontend, mobile, fullstack (interactive if omitted)
--name <name>            # Project name (interactive if omitted)
--description <desc>     # Project description (interactive if omitted)
--verbose                # Detailed logging (init only)
--dry-run                # Simulate without writing (init only)

Examples:

# Non-interactive mode (all flags provided)
ai-flow init . --ai claude --type backend --name "My API" --description "REST API"

# Interactive mode (will prompt for missing values)
ai-flow init .

# Hybrid mode (some flags, some prompts)
ai-flow init . --ai claude

# Specify project type directly
ai-flow init . --type backend

# Combine type with AI tool
ai-flow init . --ai claude --type fullstack

# Mobile project example
ai-flow init . --ai claude --type mobile

# Enable verbose output (detailed logging) - only for init command
ai-flow init . --verbose

# Simulate initialization without writing files (dry-run)
ai-flow init . --dry-run --verbose

# Show detailed help with all commands and options
ai-flow --help

# Show help for specific command
ai-flow init --help
ai-flow check --help

🤖 AI Tool Support

AI Flow works with any AI tool. Select during initialization:

ai-flow init . --ai claude      # Claude Code
ai-flow init . --ai cursor      # Cursor
ai-flow init . --ai copilot     # GitHub Copilot
ai-flow init . --ai gemini      # Gemini
ai-flow init . --ai all         # All tools (maximum compatibility)

Each tool gets:

  • Tool-specific configuration files
  • Slash commands optimized for that tool
  • Integration with AGENT.md (universal config)

Slash command locations:

  • GitHub Copilot: .github/prompts/*.prompt.md
  • Claude: .claude/commands/*.md
  • Cursor: .cursor/commands/*.md
  • Gemini: .gemini/commands/*.md

📋 Available Commands

After initialization, use these slash commands in your AI tool:

Note: Command prefix may vary by AI tool. Examples use /flow- (GitHub Copilot), but Claude may use / alone, Cursor may use @, etc. Check your tool's documentation.

Backend Projects: 17 commands
Frontend/Mobile Projects: 2 commands (build + docs-sync)
Fullstack Projects: Combined backend + frontend commands

Documentation & Build:

  • /flow-build - Flujo completo: todas las fases en orden (9 fases backend, 8 frontend/mobile)
  • /flow-build fase N - Ejecutar fase específica (ver lista de fases abajo)
  • /flow-docs-sync - Update documentation when code changes

Fases disponibles (Backend):

  • /flow-build fase 0 - Context Discovery (solo proyectos existentes)
  • /flow-build fase 1 - Discovery & Business
  • /flow-build fase 2 - Data Architecture
  • /flow-build fase 3 - System Architecture
  • /flow-build fase 4 - Security & Authentication
  • /flow-build fase 5 - Code Standards
  • /flow-build fase 6 - Testing Strategy
  • /flow-build fase 7 - Operations & Deployment
  • /flow-build fase 8 - Project Setup & Final Documentation
  • /flow-build fase 9 - Implementation Roadmap (opcional)

Fases disponibles (Frontend/Mobile):

  • /flow-build fase 0 - Context Discovery (solo proyectos existentes)
  • /flow-build fase 1 - Discovery & UX / Platform Selection
  • /flow-build fase 2 - Components & Framework / Navigation
  • /flow-build fase 3 - State Management
  • /flow-build fase 4 - Styling & Design / Permissions
  • /flow-build fase 5 - Code Standards
  • /flow-build fase 6 - Testing Strategy
  • /flow-build fase 7 - Performance & Deployment / Store Deployment
  • /flow-build fase 8 - Project Setup & Final Documentation

Workflows (Backend only):

  • /flow-dev-feature - Create/modify features (15-20 min)
  • /flow-dev-fix - Fix bugs (3-15 min, adaptive)
  • /flow-dev-commit - Automate commits with Conventional Commits (3-5 min)
  • /flow-dev-work - Manage work in progress
  • /flow-dev-review - Multi-aspect code review (5 min)
  • /flow-dev-refactor - Quick refactorings (3-5 min)

Note: Frontend and Mobile projects include build commands (/flow-build, phases, /flow-docs-sync) but not workflow commands.

📚 See GETTING-STARTED.md for complete command reference


💡 How It Works

  1. Smart Detection - Analyzes existing projects in 3 layers (15s to 5min)
  2. Interactive Questionnaire - Guides you through 8-9 phases (choose mode)
  3. Template Generation - Creates 15-17 professional documents per project type
  4. Implementation Roadmap - Optional Phase 9 generates Story Point estimates
  5. AI Integration - Configures your AI tool with project context
  6. Slash Command Setup - Installs prompts to tool-specific paths (.github/prompts/, .claude/commands/, etc.)

For existing projects:

  • Layer 0: Cache check (0-5s)
  • Layer 1: Metadata scan (10-20s)
  • Layer 2: Structural analysis (30-90s)
  • Layer 3: Deep analysis (1-5min, optional)

Benefits:

  • 50-94% faster for existing projects
  • 40-60% of answers pre-filled
  • Intelligent caching (0s re-runs)

🎯 Generated Documentation

Backend (14 docs): AGENT.md, ai-instructions.md, copilot-instructions.md, project-brief.md, plus 8 technical docs and 2 specs

Frontend (15 docs): AGENT.md, ai-instructions.md, project-brief.md, plus 9 technical docs and 3 specs

Mobile (13 docs): AGENT.md, ai-instructions.md, project-brief.md, plus 8 technical docs and 2 specs

Fullstack (4 docs): AGENT.md, ai-instructions.md, project-brief.md, README.md

📁 Generated Structure

After running ai-flow init, your project will have:

project-root/
├── AGENT.md                    # Universal AI entry point (all tools)
├── README.md                   # Project documentation
├── docs/                       # Technical documentation
│   ├── architecture.md
│   ├── api.md                 # (Backend only)
│   ├── database.md            # (Backend only)
│   ├── deployment.md
│   ├── security.md
│   └── ...
├── specs/                      # Specifications
│   ├── features.md
│   ├── requirements.md
│   └── ...
├── .ai-flow/                   # Internal metadata
│   └── core/
│       └── config.json        # AI Flow configuration
├── .github/prompts/            # GitHub Copilot commands
├── .claude/commands/           # Claude commands (if selected)
├── .cursor/commands/           # Cursor commands (if selected)
├── .gemini/commands/           # Gemini commands (if selected)
└── ... (your project files)

Key locations:

  • Documentation lives at project root (docs/, specs/, AGENT.md)
  • .ai-flow/ is internal metadata (don't edit manually)
  • Slash commands are tool-specific (.github/prompts/, .claude/commands/, etc.)

🌍 Supported Languages & Frameworks

AI Flow provides universal support with automatic detection for 98% of the market:

Languages Supported (12)

| Language | Market Share | Frameworks | ORMs | Status | | ---------------------- | ------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------- | ------- | | Node.js/TypeScript | ~35% | NestJS, Express, Fastify, Koa, Hapi, AdonisJS, Next.js, Remix, tRPC | Prisma, TypeORM, Sequelize, Mongoose, Drizzle, MikroORM, Knex | ✅ Full | | Python | ~25% | FastAPI, Django, Django REST Framework, Flask, Tornado, Sanic, Starlette | SQLAlchemy, Django ORM, Tortoise ORM, Peewee, SQLModel | ✅ Full | | PHP | ~15% | Laravel, Symfony, CodeIgniter, Slim, Lumen, Yii | Eloquent, Doctrine, Propel | ✅ Full | | Java | ~15% | Spring Boot, Micronaut, Quarkus, Vert.x, Dropwizard | Hibernate/JPA, MyBatis, jOOQ | ✅ Full | | C#/.NET | ~8% | ASP.NET Core, Minimal APIs, Nancy | Entity Framework Core, Dapper, NHibernate | ✅ Full | | Go | ~5% | Gin, Echo, Fiber, Chi, Buffalo | GORM, Ent, sqlx, sqlc | ✅ Full | | Ruby | ~3% | Ruby on Rails, Sinatra, Hanami, Grape | ActiveRecord, Sequel, ROM | ✅ Full | | Kotlin | ~2% | Ktor, Spring Boot, Javalin, http4k | Exposed, Hibernate | ✅ Full | | Rust | ~1% | Actix-web, Rocket, Axum, Warp | Diesel, SeaORM, sqlx | ✅ Full | | Elixir | <1% | Phoenix | Ecto | ✅ Full | | Scala | <1% | Play Framework, Akka HTTP | Slick, Quill | ✅ Full | | Swift | <1% | Vapor | Fluent | ✅ Full |

See GETTING-STARTED.md for automatic detection details and examples.


🎓 Why Use AI Flow?

Without AI Flow:

  • ⏱️ 10-20 hours creating docs manually
  • 🤔 AI assistants lack context, make assumptions
  • 🐛 More bugs due to unclear standards

With AI Flow:

  • ⏱️ 90-120 min (new) or 35-70 min (existing)
  • 🤖 AI assistants work with full context and continuous workflow
  • ✅ Consistent quality, fewer bugs
  • 💾 Save 10-20 hours per project

📚 Documentation Philosophy

AI Flow follows: Documentation as Executable Code

  • Documents guide AI assistants (like config files guide compilers)
  • AGENT.md is the universal entry point
  • All documents are interconnected
  • Documents evolve with your project
  • Single source of truth for all AI tools

🎯 Who Should Use This?

Perfect for:

  • ✅ Backend/frontend/mobile developers starting new projects
  • ✅ Teams with existing codebases needing AI-ready documentation
  • ✅ Projects requiring comprehensive documentation
  • ✅ Teams adopting AI-assisted development
  • ✅ Multi-language teams (12 languages supported)

Not ideal for:

  • ❌ Projects with zero documentation needs
  • ❌ Quick prototypes that won't be maintained

🚀 Roadmap

  • [x] Backend, frontend, mobile, fullstack support ✅
  • [ ] Template customization
  • [ ] VS Code extension
  • [ ] Interactive web UI

🛠️ Troubleshooting

Common issues:

  • Node.js version must be ≥20.0.0
  • Check folder permissions if CLI can't write files
  • Verify slash command files exist for your AI tool:
    • GitHub Copilot: .github/prompts/*.prompt.md
    • Claude: .claude/commands/*.md
    • Cursor: .cursor/commands/*.md
    • Gemini: .gemini/commands/*.md
    • If missing, re-run: ai-flow init . --ai <your-tool>

📚 See GETTING-STARTED.md for detailed troubleshooting guide

🤝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.


📝 License

MIT License - See LICENSE for details.


💬 Support


🙏 Acknowledgments

  • Inspired by GitHub Spec-Kit
  • Built for the AI-assisted development era
  • Community feedback and contributions

Transform your idea into a production-ready project with AI Flow 🚀

Made with ❤️ for the developer community