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

@moassaad/ai-team-framework

v0.3.0

Published

A reusable, project-agnostic AI team framework for software development.

Readme

AI Team Framework

A reusable, project-agnostic framework for coordinating specialized AI roles during software development.

It works with new and existing projects — whatever their language, framework, architecture, or tooling — without imposing any technology of its own. A Coordinator routes work to four specialist roles; implementation proceeds one ticket at a time through review and approval gates. The framework discovers your project before planning anything.

Status

Version 0.1.0 is released. Implemented and tested: role contracts and selection, workflow engine with 11 states, configuration validation, project discovery, planning and ticket generation, implementer/reviewer execution flows, OpenCode execution provider, optional GitHub Issues / Spec Kit / delegate-skills integrations with local fallbacks, and 581 automated tests. See AI-Team-Framework-Project-Plan.md for milestone status.

How it works

User
→ Coordinator (routes, default entry point)
→ Project Manager (requirements, scope)
→ Technical Lead (discovery, planning, tickets)
→ Implementer (one ticket, with validation)
→ Senior Reviewer (advisory findings, never edits code)
→ approval/workflow continuation

Execution, review, recommendation, approval, and state transition are separate responsibilities — success at one step never skips the next. Details: docs/roles.md, docs/workflow.md.

Features

  • Role selection via CLI flags, prompt keywords, or slash commands — all resolving to one role contract.
  • Framework state isolated under the target project's .ai-team/ directory.
  • Validated configuration with safe defaults (docs/configuration.md).
  • Read-only project discovery that reports unknown instead of guessing.
  • Requirements → plan → small implementation tickets.
  • One-ticket execution with review, technical/PM gates, and manual approval by default.
  • OpenCode execution provider with bounded timeouts and sanitized errors.
  • Optional Spec Kit, GitHub Issues, and delegate-skills integrations — each with a local fallback and none required.
  • 581-test safety coverage (transitions, validation, failures, discovery, execution, end-to-end, installation).

Current limitations

  • The CLI presents role contracts and resolves role selection, but reports Role execution is not implemented yet rather than executing autonomously.
  • Registry publication pending: @moassaad/[email protected] is the approved release identity (the unscoped ai-team-framework name is owned by another publisher); the first publish attempt was refused by npm pending owner two-factor authentication, so install from a checkout until the release lands (docs/installation.md).
  • End-user Spec Kit setup documentation is resolved (P-006 closed by docs/providers-speckit.md on top of the M15 integration).
  • delegate-skills is an optional Skills/relay integration (M16): detection, explicit skill installation, one-shot relay delegation with result mapping, and fallback-or-bounded-failure when optional/required. It needs Node >= 22.20.0 for the Skills CLI step, installs nothing automatically, and has no runtime orchestration yet (M17/M18). Full guide: docs/providers-delegate-skills.md.
  • approval.after: sprint is accepted by validation but unsupported by the approval flows (deferred).

Installation

Prerequisites: Node.js 18+ and npm. Full guide: docs/installation.md.

Intended public flow (once published):

npm install -g @moassaad/ai-team-framework
ai-team --help

From a checkout:

npm install
npm run build   # compile TypeScript into dist/
npm test        # full suite; expect 581/581 passing

What is published: the compiled dist/ output plus package.json, README.md, and LICENSE — no sources, tests, docs, or local configuration.

First run

node dist/index.js --help
node dist/index.js --version
node dist/index.js run --role technical-lead
node dist/index.js run "talk to the tech lead"
node dist/index.js run "/technical-lead"

Bare ai-team run executes one production Coordinator ticket against managed GitHub issues (at most one ticket, at most one synchronization; never a sprint, never a retry). It needs providers.github with owner, repo, managedLabel, and specialty in .ai-team/config.yaml, and reads the GitHub token from stdin. After the reviewer report it asks once whether to approve (interactive terminal); it never auto-approves — a non-interactive run without a decision mechanism fails safely instead. CI/non-TTY callers decide explicitly up front instead (no default is ever selected):

echo "$GITHUB_TOKEN" | node dist/index.js run
echo "$GITHUB_TOKEN" | node dist/index.js run --review-decision approved
echo "$GITHUB_TOKEN" | node dist/index.js run --review-decision changes_requested --review-feedback "Tighten the edge."

ai-team status reports integration state read-only (desired state vs fresh detection; never installs or changes anything). ai-team setup <integration> [--yes] explains, asks, then installs/configures once and verifies (delegate skill selection is not yet implemented). Both run from a project directory containing .ai-team/config.yaml.

First-use walkthrough: docs/quick-start.md.

Roles

Coordinator (default) routes and reports. Project Manager owns requirements and acceptance. Technical Lead owns discovery, planning, and tickets. Implementer implements one ticket (specialties: backend, frontend, integration, database, testing, documentation). Senior Reviewer reviews without modifying code. Full guide: docs/roles.md.

Workflow

Discover → Analyze → Plan → Ticket → Implement → Review → Approval → Continue/Close

One ticket at a time by default; terminal states are closed and cancelled. Full guide: docs/workflow.md.

Configuration

Lives at <project>/.ai-team/config.yaml (defaults filled by validation):

version: 1
approval:
  mode: manual
providers:
  delegate:
    enabled: false

Full reference: docs/configuration.md.

Providers

OpenCode (required execution boundary) plus optional Spec Kit, GitHub Issues, and delegate-skills — each optional one works without, each with fallback behavior and explicit failures. Overview: docs/providers.md.

Examples

  • docs/examples/existing-project.md — discovery-to-ticket walkthrough on a small Python project.
  • docs/examples/laravel-react.md — same flow on a Laravel + React sample.

Troubleshooting

Installation, CLI, configuration, provider, and workflow problems: docs/troubleshooting.md. Never share tokens or secrets when reporting issues.

Repository structure

src/          # config, roles, workflow, discovery, planning, providers, execution, cli
tests/        # 581 tests (node:test, no external framework)
docs/         # guides, examples, specification/
dist/         # built output (generated by npm run build, not committed)

Documentation map

  • docs/quick-start.md — first-use path.
  • docs/installation.md — install, build, verify.
  • docs/configuration.md — settings and validation.
  • docs/roles.md — roles, specialties, selection.
  • docs/workflow.md — lifecycle, states, approval.
  • docs/providers.md — integrations and fallbacks.
  • docs/providers-delegate-skills.md — delegate-skills integration guide (M16).
  • docs/troubleshooting.md — diagnose problems.
  • docs/examples/existing-project.md, docs/examples/laravel-react.md — worked examples.
  • docs/specification/ — detailed product specification.
  • CONTRIBUTING.md — how to contribute.

License

MIT — see LICENSE.