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

project-teams-spec

v1.1.0

Published

Multi-Agent Engineering Spec - Standardized engineering specification injection system for AI CLI tools

Readme

project-teams-spec

npm version License: MIT Node.js Version TypeScript

A multi-agent engineering specification execution system. Provides standardized Skill definitions, Agent definitions, and rule sets that can be injected into CLI tool directories, enabling tools to collaborate in a unified paradigm to achieve business goals.

Table of Contents

Features

  • Standardized Workflow: 9 standard Skills covering the complete flow from project analysis to delivery archival
  • Multi-Agent Collaboration: Supports Java, Frontend, Backend, QA, Code Reviewer and other Agents
  • Multi-Tool Support: Compatible with Claude Code, OpenCode, Trae and other CLI tools
  • Command Generation: Auto-generates namespaced commands (e.g., /pts:full-analysis)
  • Interactive Installation: Welcome screen + tool multi-select, ready to use out of the box
  • Flexible Granularity: INSTRUCTIONS support intent/procedural/protocol/conversational granularity

Quick Start

Prerequisites

  • Node.js >= 18.0.0
  • npm or yarn

Installation

# Install globally via npm
npm install -g project-teams-spec

# Or use npx directly
npx project-teams-spec install

Interactive Installation

# Run without arguments for interactive mode
project-teams-spec install

This will show a welcome screen and let you select which tools to install to (Claude Code, OpenCode, Trae, etc.).

Install to Specific Tools

# Install to Claude Code
project-teams-spec install --tools claude

# Install to multiple tools
project-teams-spec install --tools claude,opencode,trae

# Force overwrite existing installation
project-teams-spec install --tools claude --force

# Preview what would be installed
project-teams-spec install --tools claude --dry-run

Other Commands

# List installed tools and status
project-teams-spec list

# Uninstall from specific tools
project-teams-spec uninstall --tools claude

Invoke Commands

After installation, use slash commands in your CLI tool:

/pts:full-analysis    # Complete project analysis
/pts:plan-cycle       # Planning cycle
/pts:execution-cycle  # Execution cycle

Architecture

┌─────────────────────────────────────────────────────────────────────┐
│                         Master (CLI Tool)                          │
│                     project-teams-spec system                      │
├─────────────────────────────────────────────────────────────────────┤
│                           Skills (9 phases)                        │
│  ┌──────────┬──────────┬──────────┬──────────┬──────────┐          │
│  │explore  │complexity │ claim    │aggregate │plan-dev  │          │
│  ├──────────┼──────────┼──────────┼──────────┼──────────┤          │
│  │plan-val │execute   │qa-verify │delivery  │          │          │
│  └──────────┴──────────┴──────────┴──────────┴──────────┘          │
├─────────────────────────────────────────────────────────────────────┤
│              Agents (5 specialized agents)                         │
│  ┌─────────┬──────────┬──────────┬─────────┬──────────┐            │
│  │  java   │ frontend  │ backend  │   qa    │ reviewer │            │
│  │ agent   │  agent    │  agent   │ agent   │          │            │
│  └─────────┴──────────┴──────────┴─────────┴──────────┘            │
├─────────────────────────────────────────────────────────────────────┤
│                        Rules / Hooks / Commands                     │
└─────────────────────────────────────────────────────────────────────┘

Workflow:
  ┌────────────┐     ┌────────────┐     ┌────────────┐
  │   Phase    │────▶│   Phase    │────▶│   Phase    │
  │   N-1      │     │     N      │     │   N+1      │
  └────────────┘     └────────────┘     └────────────┘

Project Source Structure

project-teams-spec/
├── src/
│   ├── install.ts                    # Installation script
│   ├── __tests__/runner.js           # Unit tests
│   ├── core/
│   │   ├── command-generation/       # Command generation module
│   │   │   ├── types.ts              # Type definitions
│   │   │   ├── registry.ts           # Adapter registry
│   │   │   ├── generator.ts          # Command generator
│   │   │   └── adapters/             # Tool adapters
│   │   └── command-templates.ts      # Command content templates
│   ├── prompts/
│   │   └── tool-select.ts            # Tool selector
│   └── ui/
│       └── welcome.ts                # Welcome screen
├── config/
│   ├── skills/                       # 9 standard Skills
│   ├── agents/                       # 5 Agent definitions
│   ├── rules/                        # Rule files
│   ├── hooks/                        # Claude Code Hook scripts
│   └── commands/                     # Command templates
├── bin/
│   └── cli.js                        # CLI entry point
└── openspec/
    └── changes/                     # OpenSpec change management

Supported Tools

| Tool | Project Directory | Command Invocation | |------|-------------------|-------------------| | Claude Code | .claude/ | /pts:<command> | | OpenCode | .opencode/ | /pts-<command> | | Trae | .trae/ | /pts-<command> | | Continue | .continue/ | TBD | | Kiro | .kiro/ | TBD |

Command System

Command Generation

Commands are auto-generated via the src/core/command-generation/ module, supporting multi-tool adapters:

| Tool | Path | Invocation | |------|------|------------| | Claude Code | .claude/commands/pts/<id>.md | /pts:full-analysis | | OpenCode | .opencode/commands/pts-<id>.md | /pts-full-analysis | | Trae | .trae/commands/pts-<id>.md | /pts-full-analysis |

Available Commands

| Command | Description | |----------|-------------| | /pts:full-analysis | Complete project analysis workflow | | /pts:plan-cycle | Planning cycle: task claiming, plan validation | | /pts:execution-cycle | Execution cycle: task execution, delivery archival |

Skills Overview

| Skill | Phase | Granularity | Description | |-------|-------|------------|-------------| | pts-project-explore | 1 | intent | Analyze project structure | | pts-complexity-evaluate | 2 | procedural | Evaluate complexity | | pts-agent-claim | 3 | protocol | Assign tasks | | pts-issue-aggregate | 4 | conversational | Aggregate issues | | pts-plan-develop | 5 | intent | Develop execution plan | | pts-plan-validate | 6 | procedural | Review and validate plan | | pts-task-execute | 7 | protocol | Execute tasks | | pts-qa-verify | 8 | protocol | Quality verification | | pts-delivery-close | 9 | procedural | Delivery and archival |

Granularity Types

| Granularity | Description | |-------------|-------------| | intent | Autonomous decision-making based on goals | | procedural | Step-by-step execution with clear procedures | | protocol | Strict protocol-based coordination | | conversational | Interactive dialogue and clarification |

Agents

| Agent | Role | Expertise | |-------|------|----------| | java-agent | Java backend development expert | Java, Spring, Maven/Gradle | | frontend-agent | Frontend development expert | React, Vue, Angular, TypeScript | | backend-agent | Backend architecture expert | Microservices, APIs, Architecture | | qa-agent | Quality verification expert | Testing, QA, Verification | | code-reviewer | Code review expert | Code quality, Best practices |

Directory Structure

Installation Output

After installation, the target directory will contain:

.claude/
├── skills/                         # Skill definitions
│   ├── pts-project-explore/
│   ├── pts-complexity-evaluate/
│   ├── pts-agent-claim/
│   ├── pts-issue-aggregate/
│   ├── pts-plan-develop/
│   ├── pts-plan-validate/
│   ├── pts-task-execute/
│   ├── pts-qa-verify/
│   └── pts-delivery-close/
├── agents/                         # Agent definitions
│   ├── java-agent/
│   ├── frontend-agent/
│   ├── backend-agent/
│   ├── qa-agent/
│   └── code-reviewer/
├── rules/                         # Rule sets
│   ├── architecture.md
│   ├── coding-standards.md
│   └── naming-conventions.md
├── hooks/                         # Hook scripts (Claude Code only)
│   ├── on-subagent-start.sh
│   ├── on-subagent-stop.sh
│   ├── on-session-end.sh
│   ├── on-task-created.sh
│   └── on-task-completed.sh
├── commands/
│   └── pts/                       # Command definitions (with namespace)
│       ├── full-analysis.md
│       ├── plan-cycle.md
│       └── execution-cycle.md
└── .project-teams-spec-*-version  # Version tracking file

Troubleshooting

Windows Environment Requirements

Important: Hooks scripts require a Unix-like shell environment on Windows:

  • Supported: Git Bash, MSYS2, WSL (Windows Subsystem for Linux)
  • Not Supported: Pure Windows CMD or PowerShell (hooks will not execute)

If you encounter hook-related errors on Windows, ensure you are using Git Bash or a compatible shell.

Command Not Available

If /pts: commands are not available:

  1. Verify project-teams-spec install has been run
  2. Check if .claude/commands/pts/ directory exists
  3. Restart your CLI tool

Permission Issues

# Check directory permissions
ls -la .claude

# Fix permissions (if needed)
chmod 755 .claude

Version Conflicts

If a previous version was installed:

# Force overwrite installation
project-teams-spec install --tools claude --force

Installation Fails

# Check Node.js version
node --version  # Should be >= 18.0.0

# Clean npm cache
npm cache clean --force

# Try with verbose output
npm install -g project-teams-spec --verbose

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

Development Setup

# Clone the repository
git clone https://github.com/your-org/project-teams-spec.git
cd project-teams-spec

# Install dependencies
npm install

# Build TypeScript
npm run build

# Run tests
npm test

# Link for local development
npm link

Code Style

This project follows the coding standards defined in config/rules/:

  • 2 spaces for config files, 4 spaces for code
  • kebab-case for file names
  • UpperCamelCase for class names
  • lowerCamelCase for function names

Changelog

See CHANGELOG.md for detailed version history.

Documentation

License

MIT License - see LICENSE for details.