New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

create-ax-project

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-ax-project

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

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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                                   │
└─────────────────────────────────────────────────────────────────────┘
StageNameAI ModelMode
01BrainstormingGemini + ClaudeYOLO (Container)
02ResearchClaudePlan Mode
03PlanningGeminiPlan Mode
04UI/UX PlanningGeminiPlan Mode
05Task ManagementClaudePlan Mode
06ImplementationClaudePlan + Sandbox
07RefactoringCodexDeep Dive
08QAClaudePlan + Sandbox
09Testing & E2ECodexSandbox + Playwright
10CI/CD & DeploymentClaudeHeadless

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:

PackageDescriptionInstall
ax-templatesNPM CLInpm install -g ax-templates
@ax-templates/coreCore librarynpm install @ax-templates/core
@ax-templates/pluginClaude Code pluginclaude plugin install @ax-templates/plugin

Commands

Core Commands

CommandCLIPlugin
Initialize projectax init/init-project
Show statusax status/status
List stagesax stages/stages
Run stageax run-stage <id>/run-stage <id>
Next stageax next/next
Create handoffax handoff/handoff
Create checkpointax checkpoint/checkpoint
Restore checkpointax restore/restore
Check contextax context/context

AI Commands

CommandCLIPlugin
Gemini promptax gemini <prompt>/gemini <prompt>
Codex promptax codex <prompt>/codex <prompt>

Multi-AI Commands

CommandCLIPluginDescription
AI Collaborationax collaborate/collaborateRun multi-AI collaboration (parallel, sequential, debate modes)
AI Benchmarkingax benchmark/benchmarkCompare AI model performance on tasks
Pipeline Forkax fork/forkCreate/manage pipeline branches for exploration
Output Validationax validate/validateValidate stage outputs against quality criteria

Stage Shortcuts

StageCLIPlugin
01-brainstormax brainstorm/brainstorm
02-researchax research/research
03-planningax planning/planning
04-ui-uxax ui-ux/ui-ux
05-task-managementax tasks/tasks
06-implementationax implement/implement
07-refactoringax refactor/refactor
08-qaax qa/qa
09-testingax test/test
10-deploymentax 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

  • Sequential Workflow Architecture - Sequential stage definition and auto-progression
  • Stateless Orchestration - Stateless context transfer via HANDOFF.md
  • Orchestrator-Workers - Parallel agent execution (Brainstorm stage)
  • Proactive State Externalization - External state file management
  • State Machine Workflow - State transition management (progress.json)
  • Layered Configuration - Hierarchical configuration structure
  • Multi-AI Collaboration - Parallel, sequential, and debate modes for AI coordination
  • Pipeline Forking - Branch exploration with merge capabilities
  • 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

  • Fork the repository
  • Create a feature branch (git checkout -b feature/amazing-feature)
  • Commit your changes (git commit -m 'feat: add amazing feature')
  • Push to the branch (git push origin feature/amazing-feature)
  • 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

Keywords

ai

FAQs

Package last updated on 21 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts