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

@putao520/cc-spec-lite

v0.4.0

Published

SPEC-driven development framework for Claude Code

Readme

CC-SPEC-Lite

A re-entrant SPEC execution loop for AI-assisted development.
Each /spec invocation runs a full cycle: Requirement → Implementation → Audit.


⚡ What is CC-SPEC-Lite?

cc-spec-lite is NOT another documentation framework or a linear "spec-first" template. It is a closed-loop execution engine designed for Claude Code and other agentic AI CLIs.

It transforms AI development from "vibe-driven" prompting into a deterministic, re-entrant loop where the Specification (SPEC) acts as the state machine's source of truth.

The Atomic Unit: /spec

Unlike tools that treat specification as a "phase" (Spec → Plan → Code), cc-spec-lite treats /spec as an indivisible execution unit.

When you run /spec, the system:

  1. Clarifies: Proactively interviews you to refine the requirement.
  2. Architects: Updates the SSOT (SPEC files) to match the new state.
  3. Implements: Automatically triggers specialized agents to write the code.
  4. Audits: Runs a final verification to ensure the code matches the SPEC.

🚀 Key Capabilities

  • 🔄 Re-entrant Execution: Run /spec at any time, in any order. Whether you are adding a feature, refactoring, or fixing a bug, the loop always converges on the SPEC.
  • 💂 Agentic Guardrails: Orchestrates specialized roles (Architect vs. Programmer). The Architect designs the "What", and the Programmer executes the "How," preventing implementation drift.
  • ⚖️ Audit-Centric: Consistency is enforced by the system, not the user's memory. The final audit ensures no "TODOs" or "stubs" remain.
  • ⚙️ Multi-Provider Fallback: Built-in priority management (codex, gemini, claude) with automatic fallbacks ensures your execution loop never breaks due to API limits.

🛠 Quick Start

1. Install

npm install -g @putao520/cc-spec-lite

2. Initialize

/spec-init

3. Execute

/spec "Implement a user login with JWT fallback"

4. Align & Audit

/spec-audit

The final guardrail to ensure implementation 100% matches the architecture. If discrepancies are found, the loop re-triggers to fix them automatically.


🧩 How It Differs

| Feature | Stage-Based (Spec-Kit/OpenSpec) | Loop-Based (CC-SPEC-Lite) | | :--- | :--- | :--- | | Logic | Linear (Step A → Step B) | Re-entrant (Atomic Loop) | | Enforcement | Human-checked documentation | System-level Audit guardrails | | Philosophy | Change Management (Deltas) | State Machine (SSOT Convergence) | | AI Role | Documentation assistant | Execution Engine |


⚙️ AI CLI Priority Management

CC-SPEC-Lite sits on top of a robust runner that manages multiple AI agents. Configure your preferred order in ~/.claude/config/aiw-priority.yaml:

priority:
  - cli: codex
    provider: auto
  - cli: gemini
    provider: official
  - cli: claude
    provider: glm

The system automatically falls back to the next provider if the primary one fails, ensuring high availability for your development loop.


📜 Requirements

  • Node.js >= 14
  • Claude Code (or compatible Agentic AI CLI)
  • Git

🤝 Contributing

Contributions are welcome. Please ensure all PRs follow the SPEC-driven workflow:

  1. Update SPEC → 2. Implement → 3. Audit.

⚖️ License

MIT License.


Version: 0.3.0
Author: putao520 [email protected]