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

@alxyrgin/agent-forge

v3.3.0

Published

AI-driven Development Framework for Claude Code — scaffold Memory Bank, agents, skills, and rules in any project

Readme

agent-forge

AI-driven Development Framework for Claude Code. Generates a complete development infrastructure with 20 specialized agents, quality gates, and TDD pipelines.

npm version license node

Quick Start

npx @alxyrgin/agent-forge init

The interactive wizard asks for your project name, tech stack, team, and agent preset — then scaffolds the entire AI infrastructure in seconds. Start working immediately with /start-session.

npx @alxyrgin/agent-forge init --yes   # non-interactive, use defaults

What Gets Generated

| Directory | Contents | |-----------|----------| | .claude/CLAUDE.md | Team Lead instructions — the orchestrator prompt | | .claude/agents/ | 5–20 specialized agents across 4 categories | | .claude/skills/ | 10–21 slash commands for development workflows | | .claude/rules/ | 8 development standards enforced automatically | | .claude/hooks/ | Git/tool hooks (protect-docs, stop hook) | | dev-infra/memory/ | 9 Memory Bank files for persistent context | | dev-infra/tasks/ | Task tracking system (tasks.json) | | dev-infra/sessions/ | Session logs | | dev-infra/tests/ | Test structure (acceptance criteria, PMI scenarios, results) |

Architecture

The Team Lead (defined in CLAUDE.md) orchestrates four categories of specialized agents:

graph TD
    subgraph "Orchestrator"
        TL["Team Lead<br/>(CLAUDE.md)"]
    end

    subgraph "Pipeline — 8 agents"
        analyst["analyst"]
        architect["architect"]
        skeptic["skeptic"]
        developer["developer"]
        tester["tester"]
        inspector["inspector"]
        reviewer["reviewer"]
        planner["planner"]
    end

    subgraph "Planning — 4 agents"
        researcher["researcher"]
        interviewer["interviewer"]
        validator["validator"]
        decomposer["decomposer"]
    end

    subgraph "Security — 4 agents"
        auditor["auditor"]
        prompter["prompter"]
        deployer["deployer"]
        scaffolder["scaffolder"]
    end

    subgraph "Documentation — 4 agents"
        librarian["librarian"]
        writer["writer"]
        gatekeeper["gatekeeper"]
        verifier["verifier"]
    end

    TL --> analyst
    TL --> researcher
    TL --> auditor
    TL --> librarian

    analyst --> architect --> skeptic
    developer <--> tester
    tester --> inspector --> reviewer

Each agent has a defined role, a set of allowed tools, a model assignment, and structured JSON output with verdicts. The Team Lead reads each verdict and routes the pipeline accordingly.

Pipelines

Every task is classified by size — S, M, or L — and routed through the appropriate pipeline. Larger tasks get more validation steps.

S-Pipeline. Small tasks (1 file, < 50 lines)

graph LR
    S1["checkpoint"] --> S2["developer"] --> S3["tester +<br/>inspector"] --> S4["quick-review"] --> S5["tech-debt"] --> S6["fixation"]

    style S1 fill:#f0f0f0,stroke:#999
    style S6 fill:#f0f0f0,stroke:#999

M-Pipeline. Medium tasks (2–5 files, new module)

graph LR
    M1["checkpoint"] --> M2["analyst"] --> M3["TDD RED"] --> M4["developer ↔<br/>tester +<br/>inspector"] --> M5["quality<br/>gates"] --> M6["reviewer"] --> M7["tech-debt"] --> M8["fixation"]

    style M1 fill:#f0f0f0,stroke:#999
    style M8 fill:#f0f0f0,stroke:#999

L-Pipeline. Large tasks (6+ files, architecture changes)

graph LR
    L1["checkpoint"] --> L2["analyst"] --> L3["architect +<br/>reviewer<br/>(plan)"] --> L4["skeptic"] --> L5["TDD RED"] --> L6["developer ↔<br/>tester +<br/>inspector"] --> L7["quality<br/>gates"] --> L8["reviewer"] --> L9["tech-debt"] --> L10["fixation"]

    style L1 fill:#f0f0f0,stroke:#999
    style L10 fill:#f0f0f0,stroke:#999

Key pipeline features:

  • TDD RED phase (M/L) — tester writes failing tests before developer writes code
  • Per-feature loops (L) — developer and tester iterate on each feature independently
  • Inspector gate — validates test quality after tester, before reviewer
  • Multi-round review — reviewer runs up to 3 rounds; CRITICAL/HIGH issues go back to developer
  • Tech-debt is mandatory for all sizes — never skipped

Agent Presets

Three presets control how many agents are scaffolded:

| Preset | Agents | Skills | Best for | |--------|--------|--------|----------| | minimal | 5 | 10 | Solo developer, small projects | | core (default) | 8 | 10 | Teams, production projects | | full | 20 | 21 | Complex systems, enterprise |

Preset coverage

| Agent | minimal | core | full | |-------|:-------:|:----:|:----:| | analyst | x | x | x | | architect | | x | x | | skeptic | | x | x | | developer | x | x | x | | tester | x | x | x | | inspector | x | x | x | | reviewer | x | x | x | | planner | | x | x | | researcher | | | x | | interviewer | | | x | | validator | | | x | | decomposer | | | x | | auditor | | | x | | prompter | | | x | | deployer | | | x | | scaffolder | | | x | | librarian | | | x | | writer | | | x | | gatekeeper | | | x | | verifier | | | x |

Agents

Pipeline (8 agents)

Core development cycle — from analysis to code review.

| Agent | Description | Verdicts | |-------|-------------|----------| | analyst | Analyzes task requirements from documentation, extracts acceptance criteria and PMI scenarios | COMPLETE, NEEDS_DISCOVERY | | architect | Designs module architecture — structure, API contracts, data schemas | READY, NEEDS_INPUT | | skeptic | Reality checker — verifies plans against actual codebase, finds "mirages" (non-existent files, APIs, modules) | PASS, PASS_WITH_WARNINGS, FAIL | | developer | Writes code following project patterns, makes failing TDD tests green | DONE, BLOCKED | | tester | Parametric testing agent — unit, integration, acceptance, smoke. Supports TDD mode | PASS, FAIL | | inspector | Validates test quality — coverage, naming, assertions, mocking, isolation, edge cases | APPROVE, REQUEST_CHANGES | | reviewer | Code review with iterations and escalation. Modes: default, plan_review, quick | APPROVE, REQUEST_CHANGES, ESCALATE | | planner | Project-level planning — milestones, tasks, dependencies, completeness validation | VALID, ISSUES_FOUND |

Planning (4 agents)

Deep analysis and task decomposition. Available in the full preset.

| Agent | Description | |-------|-------------| | researcher | Codebase exploration — entry points, patterns, dependencies, integrations | | interviewer | Structured discovery interview — 3 cycles (general, code-informed, edge cases) | | validator | Specification validation — 4 modes: userspec, techspec, task, completeness | | decomposer | Task decomposition — generates atomic tasks with TDD anchors, acceptance criteria, and verify steps |

Security (4 agents)

Security audits and infrastructure review. Available in the full preset.

| Agent | Description | |-------|-------------| | auditor | Security analysis — OWASP Top 10, hardcoded secrets, threat modeling, access control | | prompter | LLM prompt review — clarity, few-shot quality, output format, injection safety, token efficiency | | deployer | CI/CD review — workflow correctness, secrets management, platform config, deploy scripts | | scaffolder | Project infrastructure review — structure, Docker, pre-commit hooks, .gitignore, dependency management |

Documentation (4 agents)

Documentation quality and deployment validation. Available in the full preset.

| Agent | Description | |-------|-------------| | librarian | Documentation review — completeness, freshness, absence of bloat, consistency | | writer | Generates stakeholder-facing reports and internal documentation | | gatekeeper | Pre-deploy QA — runs tests, verifies acceptance criteria, checks deferred criteria | | verifier | Post-deploy QA — live environment verification, manual verification plans |

Skills (Slash Commands)

Core skills (all presets) — 10 commands

| Command | Description | |---------|-------------| | /start-session | Begin work — sync repo, check checkpoint, load context, show progress | | /end-session | Save context, checkpoint, create session log, commit and push | | /take-task [id] | Full development cycle with feature-size routing (S/M/L) | | /complete-task [id] | Verify task, smoke test, update progress, clear checkpoint | | /status | Show project status, deadlines, blockers | | /plan [mode] | Plan, replan, or validate tasks from documentation | | /review [file] | Code review for a file or task | | /code [task] | Direct code generation for a specific task | | /test [target] | Run or generate tests for a target | | /done [id] | Quick-complete a task with minimal ceremony |

Extra skills (full preset only) — 11 commands

| Command | Description | |---------|-------------| | /interview | Structured discovery interview (3 cycles, completeness >= 85%) | | /audit-wave | Comprehensive pre-milestone audit with GO/NO-GO verdict | | /write-report | Generate non-technical progress report for stakeholders | | /dashboard | Project dashboard — progress, health, tech debt, activity | | /skill-master [name] | Create a new custom skill from template | | /decompose [task] | Break down a task into subtasks with TDD anchors | | /feature [name] | Scaffold a new feature end-to-end | | /security [target] | Run security analysis on a target | | /spec [feature] | Generate specification for a feature | | /techspec [module] | Generate technical specification for a module | | /prompts [agent] | Manage and optimize agent prompts |

Rules

8 development standards that are loaded automatically and enforced across all agents:

| Rule | Purpose | |------|---------| | commit-conventions | Commit message format — [type](scope): description | | development-cycle | Feature-size routing (S/M/L) and pipeline step definitions | | testing-standards | Test coverage >= 80%, edge cases, access control testing | | shared-resources | Singleton resource registry — no duplicate DB connections or API clients | | context-loading | Just-in-time context loading — pass data, not file references | | agent-output-format | JSON output standard for all agents with structured verdicts | | quality-gates | Verdict-based routing between pipeline steps | | rollback-protocol | Rollback procedures for failed deployments |

Quality Gates

Every agent returns a structured verdict. The Team Lead reads the verdict and routes the pipeline:

graph TD
    A["Agent returns verdict"] --> B{"Verdict type?"}
    B -->|"PASS / APPROVE / DONE"| C["Continue pipeline"]
    B -->|"WARNINGS / ATTENTION"| D["Show to user,<br/>continue"]
    B -->|"FAIL / BLOCKED"| E{"Retry count < 3?"}
    E -->|"Yes"| F["Return to<br/>previous step"]
    E -->|"No"| G["Escalate to user"]
    F --> A

    style C fill:#d4edda,stroke:#28a745
    style D fill:#fff3cd,stroke:#ffc107
    style G fill:#f8d7da,stroke:#dc3545

Verdict matrix

graph LR
    subgraph "Analysis"
        A1["analyst"] -->|COMPLETE| A2["architect"]
        A1 -->|NEEDS_DISCOVERY| A3["ask user"]
        A3 --> A1
    end

    subgraph "Architecture"
        A2 -->|READY| SK["skeptic"]
        A2 -->|NEEDS_INPUT| A4["ask user"]
        A4 --> A2
    end

    subgraph "Reality Check"
        SK -->|PASS| DEV["developer"]
        SK -->|FAIL| A2
    end

    subgraph "Code + Tests"
        DEV -->|DONE| TST["tester"]
        TST -->|PASS| INS["inspector"]
        TST -->|FAIL| DEV
        INS -->|APPROVE| REV["reviewer"]
        INS -->|REQUEST_CHANGES| TST
    end

    subgraph "Review"
        REV -->|APPROVE| FIN["finalize"]
        REV -->|REQUEST_CHANGES| DEV
    end

    style FIN fill:#d4edda,stroke:#28a745

CLI Commands

agent-forge init

Initialize AI-driven development infrastructure in the current directory.

npx @alxyrgin/agent-forge init           # interactive setup
npx @alxyrgin/agent-forge init --yes     # use defaults (TypeScript, core preset)
npx @alxyrgin/agent-forge init --overwrite  # overwrite existing files

The wizard prompts for:

  • Project name and description
  • Technology stack (Python / TypeScript / Go / Rust)
  • Framework and test framework
  • Team members (names, roles, emails)
  • Milestones (optional)
  • Agent preset (minimal / core / full)
  • Commit style (standard / conventional)

agent-forge update

Update framework files while preserving your data.

npx @alxyrgin/agent-forge update

Overwritten (updated to latest version):

  • .claude/CLAUDE.md
  • .claude/agents/*
  • .claude/skills/*
  • .claude/rules/*
  • .claude/hooks/*
  • .claude/settings.json

Preserved (your data stays intact):

  • dev-infra/memory/* — your Memory Bank
  • dev-infra/tasks/* — your task tracking
  • dev-infra/sessions/* — your session logs
  • dev-infra/tests/* — your test structure

agent-forge doctor

Check integrity of the generated structure. Verifies that all expected files exist and are not empty.

npx @alxyrgin/agent-forge doctor

Memory Bank

9 files that persist context across sessions. The Team Lead reads and updates these automatically.

| File | Purpose | |------|---------| | active-context.md | Current session state — what is done, what is next | | progress.md | Milestone progress, task statuses | | project-brief.md | Project overview, team, stack | | decisions.md | Architectural Decision Records (ADR) | | tech-stack.md | Technology stack details | | tech-debt.md | Technical debt registry with lifecycle tracking (open / in_progress / resolved) | | patterns.md | Code patterns and conventions | | troubleshooting.md | Problem solutions log | | checkpoint.yml | Recovery checkpoint for interrupted sessions |

Checkpoint System

The checkpoint (dev-infra/memory/checkpoint.yml) enables recovery after session interruptions:

  • Automatic saving — updated after each pipeline step
  • Recovery on start/start-session detects an active checkpoint and offers to resume
  • Cleanup on completion/complete-task clears the checkpoint
graph LR
    A["Session interrupted"] --> B["checkpoint.yml<br/>saved automatically"]
    B --> C["Next session:<br/>/start-session"]
    C --> D{"Active<br/>checkpoint?"}
    D -->|"Yes"| E["Offer to resume<br/>from last step"]
    D -->|"No"| F["Fresh start"]

    style B fill:#fff3cd,stroke:#ffc107
    style E fill:#d4edda,stroke:#28a745

Generated Structure

your-project/
├── .claude/
│   ├── CLAUDE.md                  # Team Lead instructions
│   ├── settings.json              # Claude Code hooks and env
│   ├── hooks/
│   │   └── protect-docs.sh        # PreToolUse hook — blocks edits in docs/
│   ├── agents/
│   │   ├── pipeline/              # analyst, architect, skeptic, developer,
│   │   │                          # tester, inspector, reviewer, planner
│   │   ├── planning/              # researcher, validator, interviewer, decomposer
│   │   ├── security/              # auditor, prompter, deployer, scaffolder
│   │   └── documentation/         # librarian, writer, gatekeeper, verifier
│   ├── skills/
│   │   ├── start-session/SKILL.md
│   │   ├── take-task/SKILL.md
│   │   ├── code/SKILL.md
│   │   ├── test/SKILL.md
│   │   └── ...                    # 10–21 slash commands
│   └── rules/
│       ├── commit-conventions.md
│       ├── development-cycle.md
│       ├── testing-standards.md
│       ├── shared-resources.md
│       ├── context-loading.md
│       ├── agent-output-format.md
│       ├── quality-gates.md
│       └── rollback-protocol.md
├── dev-infra/
│   ├── memory/                    # 9 Memory Bank files
│   │   ├── active-context.md
│   │   ├── progress.md
│   │   ├── checkpoint.yml
│   │   └── ...
│   ├── tasks/
│   │   └── tasks.json             # Task tracking
│   ├── sessions/                  # Session logs
│   └── tests/
│       ├── acceptance/            # Acceptance criteria
│       ├── pmi/                   # PMI scenarios
│       └── results/               # Test results
└── .claude-forge.json             # Manifest for doctor and update

License

MIT