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

agileflow

v2.35.0

Published

AI-driven agile development system for Claude Code, Cursor, Windsurf, and more

Readme

npm version Commands Subagents Skills

AI-driven agile development for Claude Code, Cursor, Windsurf, and more. Combining Scrum, Kanban, ADRs, and docs-as-code principles into one framework-agnostic system.

Quick Start

Installation

Option 1: Global Installation (Recommended)

npm install -g agileflow
agileflow setup

Option 2: Project-Level Installation

npm install agileflow
npx agileflow setup

This will:

  1. Prompt where to install AgileFlow
  2. Prompt to select your IDE(s)
  3. Install AgileFlow core (commands, agents, skills)
  4. Configure your selected IDEs
  5. Create documentation structure

CLI Commands

Global installation:

agileflow setup       # Set up AgileFlow in project
agileflow status      # Check installation + updates
agileflow update      # Update to latest version
agileflow doctor      # Diagnose issues
agileflow uninstall   # Remove from project

Project-level installation (use npx):

npx agileflow setup       # Set up AgileFlow in project
npx agileflow status      # Check installation + updates
npx agileflow update      # Update to latest version
npx agileflow doctor      # Diagnose issues
npx agileflow uninstall   # Remove from project

After Setup

Initialize the system:

/AgileFlow:setup

Scaffolds docs structure, templates, and optional CI configuration.

Get help:

/AgileFlow:help

View system overview and available commands.

Use the mentor (recommended):

Use the mentor subagent to guide me through implementing <feature>

Interactive mentor guides you through epic/story creation, implementation, and PR preparation.

Supported IDEs

| IDE | Status | Config Location | |-----|--------|-----------------| | Claude Code | ✅ Supported | .claude/commands/AgileFlow/ | | Cursor | ✅ Supported | .cursor/rules/agileflow/ | | Windsurf | ✅ Supported | .windsurf/workflows/agileflow/ |

Why AgileFlow?

AgileFlow combines three proven methodologies:

  • Agile (Scrum/Kanban) - Break work into Epics → Stories → Acceptance Criteria with WIP limits
  • ADRs - Record architectural decisions so future teams don't re-debate
  • Docs-as-Code - Humans and AI agents coordinate via versioned files (traceable, reviewable, automatable)

Key Benefits:

  • Clear priorities and testable increments
  • Durable memory and decision history
  • Effortless multi-agent collaboration via message bus
  • Works with any tech stack or framework

After running /AgileFlow:setup:

docs/
  00-meta/             # Templates, glossary, conventions
  01-brainstorming/    # Ideas and sketches
  02-practices/        # Testing, git, CI, security practices
    prompts/agents/    # Agent profiles and contracts
  03-decisions/        # ADRs (Architecture Decision Records)
  04-architecture/     # Architecture documentation
  05-epics/            # Epic definitions
  06-stories/          # User stories (grouped by epic)
  07-testing/          # Test cases and acceptance criteria
  08-project/          # Roadmap, backlog, milestones, risks
  09-agents/           # Agent status and message bus
    bus/log.jsonl      # Agent communication log
    status.json        # Current story statuses
  10-research/         # Saved research notes
  context.md           # One-page context brief for web AI tools

Core Workflow

  • /AgileFlow:setup - Bootstrap the entire system
  • /AgileFlow:help - Display system overview
  • /AgileFlow:babysit - Interactive mentor for end-to-end implementation

Planning & Structure

  • /AgileFlow:epic - Create a new epic
  • /AgileFlow:story - Create a user story with acceptance criteria
  • /AgileFlow:story-validate - Validate story completeness before development
  • /AgileFlow:sprint - Data-driven sprint planning with velocity forecasting
  • /AgileFlow:adr - Create an Architecture Decision Record
  • /AgileFlow:agent - Onboard a new agent

Task Management

  • /AgileFlow:assign - Assign/reassign a story
  • /AgileFlow:status - Update story status
  • /AgileFlow:handoff - Document handoff between agents

Quality & CI

  • /AgileFlow:pr - Generate PR description
  • /AgileFlow:ci - Bootstrap CI workflow
  • /AgileFlow:readme-sync - Sync folder READMEs
  • /AgileFlow:tests - Automated testing infrastructure setup
  • /AgileFlow:review - AI-powered code review
  • /AgileFlow:verify - Run tests and update story test status (Session Harness)
  • /AgileFlow:session-init - Initialize session harness with test verification (Phase 2)
  • /AgileFlow:resume - Resume session with environment verification and context (Phase 2)
  • /AgileFlow:baseline - Mark current state as verified baseline (Phase 2)
  • /AgileFlow:compress - Compress status.json (fixes token limit issues)

Automation & DevOps

  • /AgileFlow:packages - Manage dependencies (dashboard, updates, security audits)
  • /AgileFlow:docs - Synchronize docs with code changes
  • /AgileFlow:impact - Analyze change impact on codebase
  • /AgileFlow:debt - Track and prioritize technical debt
  • /AgileFlow:deploy - Automated deployment pipeline setup
  • /AgileFlow:changelog - Auto-generate changelog from commits
  • /AgileFlow:auto - Generate stories from PRDs/mockups/specs
  • /AgileFlow:template - Create and manage custom templates
  • /AgileFlow:feedback - Collect feedback for continuous improvement
  • /AgileFlow:update - Generate stakeholder reports

Visualization & Analytics

  • /AgileFlow:board - Visual kanban board with WIP limits
  • /AgileFlow:blockers - Comprehensive blocker tracking with resolution suggestions
  • /AgileFlow:velocity - Velocity tracking and forecasting
  • /AgileFlow:metrics - Analytics dashboard (cycle time, lead time, throughput, flow efficiency)
  • /AgileFlow:retro - Automated retrospective generator with insights
  • /AgileFlow:deps - Dependency graph visualization with critical path detection

Web AI Integration

  • /AgileFlow:context - Generate/export/manage context for web AI tools (ChatGPT, Perplexity, Gemini, Claude, etc.)
  • /AgileFlow:research - Save research notes

AgileFlow includes 26 specialized subagents that operate in separate context windows for focused work. See SUBAGENTS.md for complete documentation.

Core Implementation Agents

ui - UI/Presentation Layer Specialist

  • Front-end components, styling, theming, accessibility (WCAG 2.1 AA)
  • Invocation: "Use the ui subagent to implement this UI feature"

api - Services/Data Layer Specialist

  • Backend APIs, business logic, data models, API tests
  • Invocation: "Use the api subagent to implement this API endpoint"

ci - CI/CD & Quality Specialist

  • CI/CD pipelines, linting, type checking, test coverage
  • Invocation: "Use the ci subagent to set up the test pipeline"

Orchestration & Planning Agents

mentor - End-to-End Implementation Mentor

  • Guides feature implementation from idea to PR
  • Invocation: "Use the mentor subagent to guide me through this feature"

epic-planner - Epic & Story Planning Specialist

  • Breaks down features into epics and stories with acceptance criteria
  • Invocation: "Use the epic-planner subagent to plan this feature"

adr-writer - Architecture Decision Record Specialist

  • Documents technical decisions, trade-offs, alternatives
  • Invocation: "Use the adr-writer subagent to document this decision"

research - Research & Knowledge Management Specialist

  • Conducts technical research, builds research prompts, saves notes
  • Invocation: "Use the research subagent to research authentication approaches"

Additional Specialized Agents

  • devops - DevOps & Automation
  • security - Security & Compliance
  • database - Database & Data Layer
  • testing - Testing & QA Automation
  • product - Product Management & Prioritization
  • performance - Performance Optimization
  • mobile - Mobile Development
  • integrations - Third-Party Integrations
  • refactor - Code Refactoring & Technical Debt
  • design - Design Systems & UI/UX
  • accessibility - Accessibility Compliance (WCAG)
  • analytics - Analytics & Metrics Implementation
  • datamigration - Data Migration & ETL
  • qa - Quality Assurance & Test Planning
  • And more...

When to Use Subagents:

  • Complex, multi-step implementation work
  • Specialized tasks requiring focused expertise
  • Work benefiting from separate context
  • Tasks needing to run commands or write code

When to Use Commands:

  • Quick, single-purpose actions
  • Status updates and assignments
  • Generating templates or prompts
  • Simple file operations

Skills are context-aware helpers that activate automatically based on keywords (no manual invocation needed).

How Skills Work

  • Activation: Automatic (keyword-based detection)
  • Context: Main conversation
  • Purpose: Quick enhancements and formatting
  • Structure: Follow Anthropic's minimal specification (v2.21.0+)

Skills by Category

AgileFlow Skills (8 skills)

Auto-formatted outputs following AgileFlow templates:

  • agileflow-story-writer - Converts discussions to user stories
  • agileflow-acceptance-criteria - Generates Given/When/Then AC
  • epic-planner - Breaks features into epics/stories
  • agileflow-sprint-planner - Plans sprints with velocity
  • agileflow-retro-facilitator - Structures retrospectives
  • agileflow-adr - Captures architectural decisions
  • agileflow-commit-messages - Formats Conventional Commits
  • agileflow-tech-debt - Tracks technical debt

Template Generators (15 skills)

Generate code templates and documentation:

  • story-skeleton - Story template scaffolding
  • acceptance-criteria-generator - AC formatting
  • commit-message-formatter - Git commit messages
  • adr-template - Architecture decision records
  • api-documentation-generator - OpenAPI/Swagger docs
  • changelog-entry - Keep a Changelog format
  • pr-description - Pull request descriptions
  • test-case-generator - Test cases from AC
  • type-definitions - TypeScript interfaces
  • sql-schema-generator - SQL schemas with migrations
  • error-handler-template - Error handling patterns
  • diagram-generator - Mermaid/ASCII diagrams
  • validation-schema-generator - Joi/Zod/Yup schemas
  • deployment-guide-generator - Deployment runbooks
  • migration-checklist - Data migration checklists

Example Activation

User: "I need to create a user story for login functionality"
[agileflow-story-writer skill activates automatically]
Claude: Generates formatted story with AC, owner, priority, estimate

AgileFlow supports event-driven automation through Claude Code's official hooks system.

What Are Hooks?

Hooks are automatic triggers that execute commands in response to events:

  • SessionStart - Runs when Claude Code session starts
  • UserPromptSubmit - Runs after you submit a prompt
  • Stop - Runs when Claude stops responding

Quick Setup

  1. Create .claude directory:

    mkdir -p .claude
  2. Copy template:

    cp templates/claude-settings.example.json .claude/settings.json
  3. Customize hooks (edit .claude/settings.json):

    {
      "hooks": {
        "SessionStart": [{
          "hooks": [{
            "type": "command",
            "command": "echo '🚀 AgileFlow loaded - Type /AgileFlow:help'"
          }]
        }]
      }
    }
  4. Restart Claude Code

Example Use Cases

Welcome message:

{
  "SessionStart": [{
    "hooks": [{
      "type": "command",
      "command": "echo '👋 Welcome! Current sprint: $(cat docs/08-project/current-sprint.txt)'"
    }]
  }]
}

Activity logging:

{
  "UserPromptSubmit": [{
    "hooks": [{
      "type": "command",
      "command": "echo '[LOG] Prompt at $(date)' >> .claude/activity.log"
    }]
  }]
}

Configuration Files

  • .claude/settings.json - Project-level config (committed to git)
  • .claude/settings.local.json - User-specific overrides (gitignored)

Daily Workflow

  1. Pick a story - Use mentor or check docs/09-agents/status.json
  2. Implement to AC - Follow acceptance criteria
  3. Write tests - Reference docs/07-testing/test-cases/<STORY_ID>.md
  4. Update status - Use /AgileFlow:status
  5. Create PR - Use /AgileFlow:pr
  6. Mark done - Update status after merge

Multi-Agent Collaboration

AgileFlow uses a message bus (docs/09-agents/bus/log.jsonl) for coordination:

  • Agents update docs/09-agents/status.json with current work
  • Messages logged to bus for async communication
  • Use /AgileFlow:handoff to transfer work between agents
  • WIP limit: max 2 stories per agent

Git Worktrees for Context Preservation

For advanced users handling urgent hotfixes during feature work:

Benefits:

  • Preserve AI context when switching tasks
  • Handle production bugs without losing feature flow
  • Compare implementations side-by-side
  • Test risky refactors in isolation

Quick Start:

# Use helper script (created by /AgileFlow:setup)
./docs/00-meta/scripts/worktree-create.sh auth-hotfix

# Open in new window
code ../myapp-auth-hotfix
/AgileFlow:babysit

See docs/00-meta/guides/worktrees.md for comprehensive guide.

Web AI Integration

Share context with web AI tools (ChatGPT, Perplexity, Gemini, Claude, etc.):

  1. Run /AgileFlow:context to generate/refresh context
  2. Use /AgileFlow:context MODE=export for concise excerpt
  3. Paste into web AI tool for research/ideation
  4. Use /AgileFlow:context MODE=research TOPIC="..." for structured prompts
  5. Save results with /AgileFlow:research

Session Harness System (v2.24.0+)

Ensures test verification and session continuity for long-running projects. Prevents agents from breaking functionality and maintains progress across context windows.

The Problem: Without verification, agents can:

  • Break existing functionality without noticing
  • Claim features work when tests fail
  • Lose context between sessions
  • Mark incomplete work as finished

The Solution: Session Harness System tracks test status, verifies baselines, and maintains session state.

Quick Start:

# First time setup (interactive)
/AgileFlow:session-init

# Start each session (or auto-run via hook)
/AgileFlow:resume

# Run tests and update test status
/AgileFlow:verify

# Create verified checkpoint
/AgileFlow:baseline "Sprint 12 complete"

How It Works:

  1. Test Tracking: Every story has test_status field (passing/failing/not_run)
  2. Pre-Implementation: Agents check test_status before starting work
  3. Post-Implementation: Agents run /AgileFlow:verify before marking complete
  4. Session Resume: Loads context and detects regressions
  5. Baselines: Git tags mark known-good states for reset points

Benefits:

  • No Broken Baselines: Agents can't mark stories complete with failing tests
  • Fail Fast: Catch regressions immediately, not at PR review
  • Context Continuity: Structured handoff between sessions
  • Regression Detection: Alerts when tests were passing, now failing

Agent Integration (v2.26.0): All 18 dev agents now include verification protocol:

  • ui, api, ci, devops
  • security, database, testing
  • performance, mobile, integrations
  • refactor, design, accessibility
  • analytics, datamigration, monitoring
  • compliance, qa

Learn More: See CLAUDE.md "Session Harness System" section for complete documentation.

Status.json Compression

Prevent "file too large" errors:

# Compress status.json (removes verbose fields)
/AgileFlow:compress

# Typical result: 80-90% size reduction

Full story content remains in docs/06-stories/ markdown files (no data loss).

Examples

Creating an Epic with Stories

/AgileFlow:epic EPIC=EP-0001 TITLE="User Authentication" OWNER=AG-API GOAL="Secure user login and registration" STORIES="US-0001|Login form|AG-UI,US-0002|Auth API|AG-API"

Working on a Story

/AgileFlow:assign STORY=US-0001 NEW_OWNER=AG-UI NEW_STATUS=in-progress NOTE="Starting implementation"
# ... do the work ...
/AgileFlow:status STORY=US-0001 STATUS=in-review SUMMARY="Login form complete with tests" PR=https://github.com/...

Recording a Decision

/AgileFlow:adr NUMBER=0001 TITLE="Use JWT for authentication" CONTEXT="Need stateless auth for API" DECISION="JWT with 15min access + refresh tokens" CONSEQUENCES="Simpler scaling but requires token refresh flow"

Templates

All templates are located in templates/ and docs/00-meta/templates/:

  • epic-template.md - Epic structure
  • story-template.md - User story format
  • adr-template.md - Architecture decision record
  • agent-profile-template.md - Agent profile and contract
  • comms-note-template.md - Handoff documentation
  • research-template.md - Research note structure
  • README-template.md - Folder README template

Contributing

This plugin is designed to be framework-agnostic. Customize templates and commands to fit your team's workflow.

License

MIT

Support

For issues or questions, please visit the GitHub repository.