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

create-ax-project

v1.0.3

Published

Multi-AI Workflow Pipeline - Create new projects with 10-stage development workflow

Readme

ax-templates

Multi-AI Workflow Pipeline for Software Development

CI npm version License: MIT

Overview

ax-templates is a 10-stage software development workflow pipeline that orchestrates multiple AI models (Claude, Gemini, Codex) for end-to-end project development.

Key Features

  • 10-Stage Pipeline: Complete development cycle from brainstorming to deployment
  • Multi-AI Orchestration: Intelligent collaboration between Gemini, Claude, and Codex with parallel, sequential, and debate modes
  • Smart HANDOFF System: Automatic context extraction, semantic compression, and AI memory integration
  • Auto-Checkpoint & Smart Rollback: Task-based triggers, file change detection, partial rollback support
  • Pipeline Forking: Branch exploration for architecture alternatives with merge capabilities
  • Stage Personas: Optimized AI behavior profiles per stage (Creative Explorer, Precise Builder, etc.)
  • Output Validation: Automated quality checks with lint, typecheck, and coverage verification
  • Dual Distribution: Both NPM CLI and Claude Code plugin available

Pipeline Stages

┌─────────────────────────────────────────────────────────────────────┐
│                     ax-templates Pipeline                           │
├─────────────────────────────────────────────────────────────────────┤
│  01 Brainstorm  →  02 Research  →  03 Planning  →  04 UI/UX        │
│     Gemini          Claude          Gemini          Gemini          │
├─────────────────────────────────────────────────────────────────────┤
│  05 Tasks  →  06 Implement  →  07 Refactor  →  08 QA  →  09 Test   │
│    Claude       Claude           Codex         Claude     Codex     │
├─────────────────────────────────────────────────────────────────────┤
│                          10 Deploy                                  │
│                            Claude                                   │
└─────────────────────────────────────────────────────────────────────┘

| Stage | Name | AI Model | Mode | |-------|------|----------|------| | 01 | Brainstorming | Gemini + Claude | YOLO (Container) | | 02 | Research | Claude | Plan Mode | | 03 | Planning | Gemini | Plan Mode | | 04 | UI/UX Planning | Gemini | Plan Mode | | 05 | Task Management | Claude | Plan Mode | | 06 | Implementation | Claude | Plan + Sandbox | | 07 | Refactoring | Codex | Deep Dive | | 08 | QA | Claude | Plan + Sandbox | | 09 | Testing & E2E | Codex | Sandbox + Playwright | | 10 | CI/CD & Deployment | Claude | Headless |

Installation

Quick Start with npx

# Create a new project
npx create-ax-project my-project
cd my-project

# Edit project brief
# stages/01-brainstorm/inputs/project_brief.md

# Start development with Claude Code
/run-stage 01-brainstorm

Using Claude Code

In Claude Code, all slash commands are available:

/status              # Check pipeline status
/run-stage 01-brainstorm
/handoff             # Create handoff document
/next                # Move to next stage

Quick Start

Step-by-Step

# 1. Create project
npx create-ax-project my-saas-app
cd my-saas-app

# 2. Edit your project brief
# Open: stages/01-brainstorm/inputs/project_brief.md

# 3. Start brainstorming stage
# In Claude Code:
/brainstorm

# 4. Check status anytime
/status

# 5. Create handoff and move to next stage
/handoff
/next

Project Brief Template

Edit stages/01-brainstorm/inputs/project_brief.md:

## 프로젝트 이름
my-saas-app

## 한 줄 설명
[프로젝트를 한 줄로 설명해주세요]

## 문제 정의
[해결하려는 문제는 무엇인가요?]

## 타겟 사용자
[주요 사용자는 누구인가요?]

## 핵심 기능 (초안)
1. [기능 1]
2. [기능 2]
3. [기능 3]

Packages

This monorepo contains three packages:

| Package | Description | Install | |---------|-------------|---------| | ax-templates | NPM CLI | npm install -g ax-templates | | @ax-templates/core | Core library | npm install @ax-templates/core | | @ax-templates/plugin | Claude Code plugin | claude plugin install @ax-templates/plugin |

Commands

Core Commands

| Command | CLI | Plugin | |---------|-----|--------| | Initialize project | ax init | /init-project | | Show status | ax status | /status | | List stages | ax stages | /stages | | Run stage | ax run-stage <id> | /run-stage <id> | | Next stage | ax next | /next | | Create handoff | ax handoff | /handoff | | Create checkpoint | ax checkpoint | /checkpoint | | Restore checkpoint | ax restore | /restore | | Check context | ax context | /context |

AI Commands

| Command | CLI | Plugin | |---------|-----|--------| | Gemini prompt | ax gemini <prompt> | /gemini <prompt> | | Codex prompt | ax codex <prompt> | /codex <prompt> |

Multi-AI Commands

| Command | CLI | Plugin | Description | |---------|-----|--------|-------------| | AI Collaboration | ax collaborate | /collaborate | Run multi-AI collaboration (parallel, sequential, debate modes) | | AI Benchmarking | ax benchmark | /benchmark | Compare AI model performance on tasks | | Pipeline Fork | ax fork | /fork | Create/manage pipeline branches for exploration | | Output Validation | ax validate | /validate | Validate stage outputs against quality criteria |

Stage Shortcuts

| Stage | CLI | Plugin | |-------|-----|--------| | 01-brainstorm | ax brainstorm | /brainstorm | | 02-research | ax research | /research | | 03-planning | ax planning | /planning | | 04-ui-ux | ax ui-ux | /ui-ux | | 05-task-management | ax tasks | /tasks | | 06-implementation | ax implement | /implement | | 07-refactoring | ax refactor | /refactor | | 08-qa | ax qa | /qa | | 09-testing | ax test | /test | | 10-deployment | ax deploy | /deploy |

Configuration

Project configuration is stored in .ax-config.yaml:

ax_templates:
  version: "2.0.0"

paths:
  project_root: "./my-app"
  stages_output: "./stages"
  state: "./state"
  checkpoints: "./state/checkpoints"

ai:
  gemini: true
  codex: true

tmux:
  gemini_session: "ax-gemini"
  codex_session: "ax-codex"
  output_timeout: 300

context:
  warning: 60
  action: 50
  critical: 40
  task_save_frequency: 5

git:
  commit_language: "Korean"
  auto_commit: true

Project Structure

Each project is fully self-contained with all pipeline components:

my-project/                        # PROJECT_ROOT
├── .claude/                       # Claude Code configuration
│   ├── commands/                  # Slash commands (26 commands)
│   ├── hooks/                     # Lifecycle hooks
│   ├── skills/                    # AI skills
│   └── settings.json
├── stages/                        # 10-stage pipeline
│   ├── 01-brainstorm/
│   │   ├── CLAUDE.md              # Stage-specific AI instructions
│   │   ├── config.yaml
│   │   ├── prompts/
│   │   ├── inputs/
│   │   │   └── project_brief.md   # Start here!
│   │   ├── outputs/               # Generated artifacts
│   │   └── HANDOFF.md
│   ├── 02-research/
│   └── ... (10 stages total)
├── config/                        # Pipeline configuration
│   ├── pipeline.yaml
│   ├── context.yaml
│   └── ... (15+ config files)
├── state/                         # Project state
│   ├── progress.json              # Pipeline progress
│   ├── checkpoints/               # Recovery points
│   └── context/                   # Context snapshots
├── scripts/                       # Helper scripts
├── CLAUDE.md                      # Main AI instructions
├── src/                           # Source code (from stage 06)
└── package.json

Design Patterns

  1. Sequential Workflow Architecture - Sequential stage definition and auto-progression
  2. Stateless Orchestration - Stateless context transfer via HANDOFF.md
  3. Orchestrator-Workers - Parallel agent execution (Brainstorm stage)
  4. Proactive State Externalization - External state file management
  5. State Machine Workflow - State transition management (progress.json)
  6. Layered Configuration - Hierarchical configuration structure
  7. Multi-AI Collaboration - Parallel, sequential, and debate modes for AI coordination
  8. Pipeline Forking - Branch exploration with merge capabilities
  9. Smart Context Management - Semantic compression and AI memory integration

Documentation

Development

Prerequisites

  • Node.js >= 18.0.0
  • pnpm >= 8.0.0
  • tmux (for AI sessions)

Setup

# Clone repository
git clone https://github.com/your-org/ax-templates.git
cd ax-templates

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run tests
pnpm test

Local Development

# Link CLI globally
cd packages/cli
pnpm link --global

# Test CLI
ax --help

# Link plugin to Claude Code
claude plugin link ./packages/plugin

Monorepo Structure

ax-templates/
├── packages/
│   ├── core/              # Shared business logic
│   │   ├── src/
│   │   │   ├── config/    # Configuration management
│   │   │   ├── stage/     # Stage management
│   │   │   ├── context/   # Context management
│   │   │   └── ai/        # AI model abstraction
│   │   └── package.json
│   │
│   ├── cli/               # NPM CLI package
│   │   ├── src/
│   │   │   ├── commands/  # CLI commands
│   │   │   └── prompts/   # Interactive prompts
│   │   ├── bin/ax.js
│   │   └── package.json
│   │
│   └── plugin/            # Claude Code plugin
│       ├── plugin.json
│       ├── CLAUDE.md
│       ├── .claude/
│       │   ├── commands/  # Slash commands
│       │   └── hooks/     # Lifecycle hooks
│       ├── scripts/       # Helper scripts
│       └── package.json
│
├── templates/             # Installable templates
│   └── default/           # Default 10-stage template
│
├── docs/                  # Documentation
└── package.json           # Monorepo root

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Commit Convention

We use Conventional Commits:

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation
  • chore: Maintenance
  • refactor: Code refactoring
  • test: Test updates

License

MIT

Related