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

timsquad

v3.8.0

Published

AI Agent Development Process Framework - SSOT 기반 문서 체계, 최적화된 에이전트 롤, 회고적 학습

Readme

Optimized Role Definitions + Advanced Skills + Retrospective Learning = Continuously Improving High-Quality Output

Why TimSquad?

| | Typical Approach | TimSquad | |---|---------|------------| | Philosophy | "Zero learning curve" | "Structure leads to better results" | | Decision Making | LLM decides everything | Developer stays in control | | Priority | Speed | Quality + Consistency | | Enforcement | Prompt only (soft) | Hook Gate + Capability Token (hard) | | Learning | None | Retrospective learning for continuous improvement |

For developers who want structure, not magic.

Target Users

  • Senior developers who value structured processes
  • Solo CTOs / Tech Leads (need team-level quality working alone)
  • Developers who prioritize documentation and consistency

Installation

# Global install
npm install -g timsquad

# Or run directly with npx
npx timsquad init

Requirements:

  • Node.js >= 18.0.0
  • Claude Code (agent execution environment)

Quick Start

1. Initialize a Project

tsq init                                      # Interactive setup
tsq init -n my-app -t web-service -l 2 -y     # Non-interactive

2. Generated Structure

my-app/
├── CLAUDE.md                      # PM role (auto-injected ~15 lines)
├── .claude/
│   ├── settings.json              # Claude Code settings (13 hooks)
│   ├── rules/                     # Path-specific rules (15)
│   ├── agents/                    # 7 specialized agents
│   │   ├── tsq-architect.md       # Architecture design
│   │   ├── tsq-developer.md       # Code implementation
│   │   ├── tsq-qa.md              # Verification/review
│   │   ├── tsq-security.md        # Security audit
│   │   ├── tsq-dba.md             # DB design
│   │   ├── tsq-designer.md        # UI/UX design
│   │   └── tsq-librarian.md       # Phase recording
│   ├── skills/                    # tsq-* skills (selected by project type)
│   │   ├── tsq-protocol/          # Shared agent protocol
│   │   ├── tsq-controller/        # Context DI + delegation
│   │   ├── tsq-coding/            # Coding rules
│   │   ├── tsq-testing/           # Test strategies
│   │   ├── tsq-typescript/        # TypeScript patterns
│   │   ├── tsq-react/             # React (if configured)
│   │   ├── tsq-nextjs/            # Next.js + Vercel rules
│   │   ├── tsq-database/          # DB design
│   │   ├── tsq-product-audit/     # Product audit (7 areas)
│   │   ├── tsq-tdd/               # TDD methodology
│   │   └── ...                    # Others (per config)
│   └── knowledge/                 # Agent reference knowledge
└── .timsquad/
    ├── config.yaml                # Project configuration
    ├── ssot/                      # SSOT documents (5–14 per level)
    ├── process/                   # Workflow definitions
    ├── state/                     # State management
    ├── scripts/                   # Automation scripts (6)
    ├── trails/                    # Phase thinking archives
    ├── logs/                      # 3-tier logs (L1→L2→L3)
    └── retrospective/             # Retrospective data

3. Work in Claude Code

claude                                    # Launch Claude Code

# Use slash commands for all operations
/tsq-start                               # Start pipeline + onboarding
/tsq-quick fix login button color        # Single task via Controller
/tsq-full                                # Full pipeline (Phase-Sequence-Task)
/tsq-status                              # Check current status
/tsq-grill                               # Deep interview for Sub-PRD
/tsq-decompose                           # Generate Phase-Sequence-Task plan

4. CLI Commands

tsq init                          # Initialize project
tsq update                        # Update skills/agents to latest
tsq daemon start                  # Start background daemon
tsq next                          # Next task (Controller internal)
tsq next --wave                   # Parallel-dispatchable task batch
tsq plan validate                 # Validate planning.md
tsq spec check                    # Check SSOT freshness
tsq status                        # Project status summary
tsq retro                         # Retrospective metrics
tsq audit score                   # 7-area audit score

All other operations use Claude Code slash commands. See CLI Reference.


Key Features

5-Layer Enforcement Architecture

Layer 1: Hook Gate (100% enforced)
  └ PreToolUse hooks + Capability Token — system-level blocking

Layer 2: Skill Protocol (90-95% compliance)
  └ tsq-protocol + controller — process guidance
  └ Agent-specific skills preloaded via skills: field

Layer 3: CLAUDE.md (role definition only)
  └ PM role + pipeline prerequisites (~15 lines)

Layer 4: Slash Commands (explicit process)
  └ /tsq-start, /tsq-quick, /tsq-full, /tsq-status, /tsq-grill, /tsq-retro

Layer 5: Audit (async post-tracking)
  └ Daemon observes → session logs, metrics
  └ Daemon failure doesn't affect main pipeline

SSOT Document System

Required documents are automatically determined by project level:

| Level | Required Documents | Target | |-------|-------------------|--------| | Level 1 (MVP) | PRD, Planning, Requirements, Service Spec, Data Design (5) | Side projects, PoC | | Level 2 (Standard) | Level 1 + 6 more (11) | General projects, Startups | | Level 3 (Enterprise) | Level 2 + 3 more (14) | Enterprise, Fintech |

Agent System

7 specialized agents with Controller-based delegation:

| Agent | Role | |-------|------| | @tsq-architect | Architecture design, ADR, plan review | | @tsq-developer | SSOT-driven code implementation, TDD | | @tsq-qa | Code review, test verification, SSOT compliance | | @tsq-security | Security audit, OWASP, vulnerability analysis | | @tsq-dba | DB design, query optimization, migrations | | @tsq-designer | UI/UX design, accessibility, design tokens | | @tsq-librarian | Phase recording, memory management |

37 Skills (Slash Commands)

All skills use tsq-* flat namespace and are available as slash commands:

| Category | Skills | |----------|--------| | Core | tsq-protocol, tsq-controller, tsq-start, tsq-quick, tsq-full, tsq-status | | Coding | tsq-coding, tsq-testing, tsq-typescript, tsq-hono | | Planning | tsq-planning, tsq-spec, tsq-grill, tsq-decompose | | Frontend | tsq-react, tsq-nextjs, tsq-ui | | Backend | tsq-database, tsq-prisma, tsq-security | | Mobile | tsq-dart, tsq-flutter (+ 6 sub-skills) | | Quality | tsq-product-audit, tsq-audit, tsq-stability | | Methodology | tsq-tdd, tsq-bdd, tsq-ddd, tsq-debugging | | Operations | tsq-librarian, tsq-log, tsq-retro, tsq-prompt |

Model Routing

Controller dynamically selects the optimal model per task based on complexity:

| Strategy | Use Case | Cost Impact | |----------|----------|-------------| | aggressive | Maximize haiku usage | Highest savings | | balanced | Phase-appropriate selection (default) | Moderate savings | | conservative | Maximize opus usage (fintech default) | Quality priority |

Wave Dispatch (Parallel Execution)

Controller groups independent tasks into Waves for parallel execution:

tsq next --wave    # Returns batch of independent tasks
  • Tasks with no unmet dependencies run simultaneously
  • 3-5x speed improvement on multi-task sequences
  • Capability Token issued per task for isolation

13 Hook Gates

| Hook | Script | Role | Strategy | |------|--------|------|----------| | PreToolUse (Bash) | safe-guard.sh | Block destructive commands | Fail-closed | | PreToolUse (Write|Edit) | phase-guard.sh | Phase file restrictions | Fail-closed | | PreToolUse (Write|Edit) | check-capability.sh | Capability Token verification | Fail-closed | | PreToolUse (Write|Edit) | change-scope-guard.sh | Change scope tracking | Fail-open | | PreToolUse (Write|Edit) | tdd-guard.sh | TDD test file existence | Fail-open | | PreToolUse (Write|Edit) | stale-guard.sh | SSOT freshness check | Fail-open | | SessionStart | tsq daemon start | Start background daemon | Fail-open | | SessionStart (compact) | context-restore.sh | Restore context + SSOT readiness | Fail-closed | | Stop | completion-guard.sh | Test + TDD + SSOT check | Fail-closed | | Stop | build-gate.sh | TypeScript build errors | Fail-closed | | SubagentStart | subagent-start.sh | Notify daemon of agent start | Fail-open | | SubagentStop | subagent-stop.sh | Auto-complete task + notify | Fail-open | | PreCompact | pre-compact.sh | Save state before compact | Fail-closed |

Daemon-Based Automation

Observer-only daemon — no token cost:

Claude Code session → Daemon observes via IPC
  → L1 task logs recorded (SubagentStop hook)
  → Decision Log accumulated (decisions.jsonl)
  → SSOT Drift detection (7-day stale warning)
  → Session metrics tracked
  → Daemon failure doesn't block pipeline

Project Types

| Type | Description | |------|-------------| | web-service | SaaS, full-stack web services | | web-app | BaaS-based (Supabase/Firebase) | | api-backend | API servers, microservices | | platform | Frameworks, SDKs | | fintech | Exchanges, payments (Level 3 enforced) | | mobile-app | Cross-platform mobile apps | | infra | DevOps, automation |


Documentation

| Document | Description | |----------|-------------| | PRD | Full framework specification | | Core Concepts | Fountain model, SSOT, agent/skill architecture | | CLI Reference | CLI command reference | | File Structure | Templates + post-init structure | | Hook Execution Order | Hook sequence, fail strategy | | Log Architecture | 3-tier log system (L1→L2→L3) | | Feedback & Retrospective | Feedback routing + retrospective | | SDCA Architecture | Skill-Driven Controller Architecture |


Theoretical Background

| Theory/Paper | Key Concept | TimSquad Application | |-------------|-------------|---------------------| | Agentsway (2025) | Prompting Agent, Retrospective Learning | Prompt optimization, retrospective learning | | ACM TOSEM (2025) | Competency Mapping | Competency framework, performance metrics | | Agentic SE (2025) | AGENT.md, Meta-Prompt Files | Layered meta-prompt architecture | | FRAME (2025) | Feedback-Driven Refinement | Tiered feedback routing |


Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License - see LICENSE for details.


Related