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-agent-workflow

v2.2.0

Published

Transform your repository into an AI Specialist Team. One command to install role-based AI agents for any tech stack.

Readme

AI Agent Workflow

Standardize your AI Development Workflow.

AI Agent Workflow forces your AI tools (Cursor, OpenCode, Gemini CLI) to behave like a structured Team of Specialists rather than a generic chatbot.

Video Tutorials

Installation Guide

AI Agent Workflow Installation Guide Learn how to install and set up AI Agent Workflow in 5 minutes.

Cursor Usage Guide

AI Agent Workflow Cursor Usage Master AI Agent Workflow with Cursor IDE - Complete tutorial with real-world examples.


New in v2.1

Multi-Tool Support

Configure agents for your preferred AI coding tools:

  • Cursor - IDE with AI integration
  • OpenCode - Open source AI coding CLI
  • Gemini CLI - Google's AI command line tool

Workflow Types

Choose your development workflow:

  • Standard: Planning → Development → Review
  • Full Pipeline: Planning → Dev → Test → Review → Docs → Git Commit
  • Minimal: Development → Review (for quick fixes)

Vercel Skills Integration

Frontend developers can install Vercel's React Best Practices:

npx add-skill vercel-labs/agent-skills

Git Agent

Automatic commit proposals with conventional commit messages after review approval.

Mix & Match Agents

Add any agent regardless of your role. Backend developer needs UI help? Add the UI/CSS Expert agent!

Checkpoint-Based Workflow

Strict enforcement with user checkpoints between each agent. You control when to proceed, redo, or stop.


The Goal

We inject specific Rules and System Prompts into your repository to enforce:

  1. Plan: Understand requirements before coding.
  2. Architect: Define file structures explicitly.
  3. Execute: Strict adherence to project guidelines.
  4. Review: Mandatory verification steps.
  5. Commit: Structured git commits (Full Pipeline).

The Team

When you run the setup, you install these personas into your repo:

  • System Orchestrator: The Boss. Enforces the workflow loop.
  • Feature Planner: The Architect. Produces implementation_plan.md.
  • Specialists: Frontend, Backend, Mobile, DevOps agents.
  • UI/CSS Expert: Design systems, Tailwind, shadcn/ui (Frontend default).
  • QA Agent: Test coverage and quality assurance.
  • Review Agent: Code quality and security review.
  • Documentation Agent: Keeps docs in sync with code.
  • Git Agent: Proposes commits after review approval.

Getting Started

1. Installation

In your target repository (e.g., ~/Projects/my-app), run:

npx ai-agent-workflow

2. Setup Flow

The setup will guide you through:

  1. What do you build? - Choose your role (Frontend, Backend, Mobile, DevOps, Full-Stack)
  2. Which stack/framework? - React, Vue, Node.js, Flask, etc.
  3. Which AI tools do you use? - Cursor, OpenCode, Gemini CLI
  4. Choose your workflow type - Standard, Full Pipeline, or Minimal
  5. Add additional agents? - Mix in agents from other roles (e.g., UI/CSS Expert for backend devs)
  6. Install Vercel skills? (Frontend only) - React Best Practices

3. What Gets Installed

Based on your selections:

For Cursor:

  • .cursor/rules/*.md - Agent definitions
  • .cursorrules - IDE configuration

For OpenCode:

  • .opencode/agents/*.md - Agent definitions
  • .opencode/opencode.json - CLI configuration

For Gemini CLI:

  • .gemini/system.md - System prompt (Orchestrator)
  • .env - GEMINI_SYSTEM_MD=true

Common:

  • GEMINI_GUIDE.md - Project-specific guidelines
  • cleanup.sh - For removal

4. Don't See Your Stack?

No problem! Create custom agents for any technology:

  1. Check the guide: docs/CREATE_CUSTOM_AGENT.md
  2. Create agents/your-stack-agent.md
  3. Define stack-specific best practices
  4. Run npx ai-agent-workflow again

The workflow is stack-agnostic — if you can code it, you can create an agent for it.

5. Usage

With Gemini CLI:

gemini "Your task"

The configured system prompt will make it act as the Orchestrator.

With Cursor: Open Cursor and start chatting. The .cursorrules file keeps the agents in context.

With OpenCode:

opencode "Your task"

OpenCode reads agents from .opencode/agents/.

Enhancing with Skills

Install additional skills to make your agents smarter:

# Install Vercel React Best Practices (40+ rules)
npx add-skill vercel-labs/agent-skills

# List available skills
npx add-skill vercel-labs/agent-skills --list

Uninstallation

To remove all traces from your repo:

./cleanup.sh

Documentation


Built for the Agentic Future.