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

forge-dev-framework

v1.2.0

Published

Full Orchestration for Rapid Git Engineering - A multi-agent development framework for Claude Code Agent Teams

Downloads

32

Readme

FORGE

Full Orchestration for Rapid Git Engineering

A multi-agent development framework for Claude Code Agent Teams that forges production-quality code through parallel specialization, adversarial verification, and bulletproof context engineering.

npm version License: MIT License: MIT

Features

  • 🏗️ Event-Sourced State Engine — Append-only event log with single-writer merge
  • 🤖 Multi-Agent Coordination — Contract-first protocol for parallel execution
  • 📝 Template-Based Artifacts — Generate CLAUDE.md, REQUIREMENTS.md, ROADMAP.md
  • 🌳 Git Worktree Isolation — Parallel task execution without conflicts
  • Slash Commands — Use /forge:plan, /forge:execute directly in Claude Code
  • 🎯 5-6 Task Limit — Enforced atomic task breakdown for optimal LLM performance

Installation

Global Installation (Recommended)

# Install globally via npm
npm install -g forge-dev-framework

# Commands are automatically installed to ~/.claude/commands/forge/
# Available from any project in Claude Code

Per-Project Installation

# Install in a specific project
cd /path/to/your/project
npm install forge-dev-framework

# Commands installed to project .claude/commands/forge/
# Available only in this project

Development Installation

# Clone the repository
git clone https://github.com/Alzarak/forge.git
cd forge

# Install dependencies
npm install

# Build the project
npm run build

# Install commands (global mode)
node dist/scripts/install.js --mode=global

# Or install to current project (project mode)
node dist/scripts/install.js --mode=project

Quick Start

Using Slash Commands (Recommended)

After installation, FORGE commands are available directly in Claude Code:

# Start a new FORGE project
/forge:new-project my-app

# Plan a phase
/forge:discuss M2-planning-engine
/forge:plan M2-planning-engine

# Execute with agent teams
/forge:execute M2-planning-engine

# Check progress
/forge:status

Using CLI

# Initialize FORGE in current directory
forge init

# Show project status
forge status

# Generate artifacts
forge generate requirements
forge generate roadmap

# View configuration
forge config

Available Commands

| Command | Description | Milestone | |---------|-------------|-----------| | /forge:new-project | Initialize a new FORGE project | M1 ✅ | | /forge:init | Initialize FORGE in current directory | M1 ✅ | | /forge:status | Show project progress | M1 ✅ | | /forge:config | View/edit configuration | M1 ✅ | | /forge:discuss | Capture phase context | M2 🚧 | | /forge:plan | Generate task breakdown | M2 🚧 | | /forge:verify | Verify plan against requirements | M2 🚧 | | /forge:execute | Execute phase with agent teams | M3 📋 | | /forge:generate | Generate artifacts from templates | M1 ✅ | | /forge:help | Show command reference | M1 ✅ |

Legend: ✅ Complete | 🚧 In Progress | 📋 Planned

Architecture

Event-Sourced State

FORGE uses an append-only event log with single-writer state derivation:

All Agents → state/events/*.json (append-only)
                        ↓
              State Steward (single writer)
                        ↓
                  state/STATE.json (canonical)

Contract-First Protocol

Cross-domain work requires published contracts first:

  1. Agent needs interface from another domain
  2. Write REQUEST_CONTRACT event
  3. Provider publishes contract to contracts/
  4. Both agents work against agreed contract
  5. Integration happens at merge time

File Ownership Boundaries

Each teammate writes only within their owned paths:

| Role | Owned Paths | |---|---| | ARCHITECT | Root artifacts, .claude/rules/, STATE.json (single-writer) | | STATE-ENGINE | STATE.schema.json, event schemas, merge logic | | CLI-ENGINE | src/cli/, src/commands/, bin/ | | TEMPLATES | src/templates/, src/generators/ | | GIT-OPS | src/git/, .github/ |

Wipe Protocol

Agent context is ephemeral, git is persistent:

  1. Hydrate — Agent reads CLAUDE.md + STATE.json + task + contracts
  2. Execute — Agent writes code, runs tests
  3. Commit — Atomic git commit (one task = one commit)
  4. Terminate — Session ends, context wiped
  5. Reincarnate — Next task starts with fresh context

Configuration

FORGE configuration is stored in .planning/forge.config.json:

{
  "mode": "interactive",
  "depth": "standard",
  "maxTeammates": 5,
  "taskLimit": 6,
  "conventionalCommits": true,
  "worktreeIsolation": true
}

Available Settings

| Key | Type | Default | Description | |-----|------|---------|-------------| | mode | enum | interactive | yolo, interactive, standard | | depth | enum | standard | quick, standard, comprehensive | | maxTeammates | int | 5 | Max agents per phase (2-10) | | taskLimit | int | 6 | Max tasks per phase (5-6 recommended) | | conventionalCommits | bool | true | Enforce commit format | | worktreeIsolation | bool | true | Use worktrees for tasks |

Development

Setup

# Clone repository
git clone https://github.com/Alzarak/forge.git
cd forge

# Install dependencies
npm install

# Build project
npm run build

Scripts

npm run build          # Build TypeScript to dist/
npm run dev            # Run CLI in development mode
npm test              # Run tests
npm run test:watch     # Run tests in watch mode
npm run test:coverage  # Run tests with coverage

Project Structure

forge/
├── .claude/
│   ├── commands/          # Slash command definitions
│   └── rules/            # Scoped rules (api-patterns, etc.)
├── src/
│   ├── cli/              # CLI entry point
│   ├── commands/         # Command implementations
│   ├── generators/        # Template engine & XML generator
│   ├── git/              # Git operations (worktrees, hooks)
│   ├── types/            # TypeScript type definitions
│   ├── utils/            # Utilities (logger, state-api, etc.)
│   └── scripts/          # Installation scripts
├── templates/            # Artifact templates
├── bin/                 # Executable entry point
├── state/              # State engine (events, STATE.json)
└── contracts/          # API contracts

Contributing

Contributions are welcome! Please read CLAUDE.md for project patterns and conventions.

Development Workflow

  1. Make changes following FORGE patterns
  2. Run tests: npm test
  3. Build: npm run build
  4. Commit: type(scope): description
  5. Push: PR review required

License

MIT © Alzarak

Links


Built with ❤️ by the FORGE Agent Team