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

code-skills-package

v0.7.0

Published

Unified AI programming skills for 18 coding platforms — auto-routing, lazy loading, spec-driven workflows

Downloads

213

Readme

CSP — Code Skills Package

License: MIT v0.7.0 Skills: 538 Platforms: 18+

Unified AI Programming Skills · 18+ Platforms · 15+ Languages · 538 Skills

Integrates capabilities from multiple open-source AI coding projects into a layered, auto-routing framework with extremely low token costs to complete complex development tasks.

Quick Start · Core Features · Architecture · English


CSP Overview

🔗 Live Interactive Dashboard — explore all 538 skills by layer, category, and triggers

CSP (Code Skills Package) consolidates the essence of multiple open-source AI programming projects into an integrated solution. It uses a five-layer architecture to load skills on demand, with confidence scoring router and skill knowledge graph, allowing AI programming assistants to load only the minimum skill set required for each task during a session. At the same time, CSP remembers user usage habits and project context, providing increasingly accurate services as the project evolves.

Core Features

| Feature | CSP Solution | Traditional Solution | |---------|--------------|---------------------| | Smart Routing | Confidence scoring + state awareness + knowledge graph, automatically selects optimal skill combinations | Manual plugin selection / full loading | | Token Savings | Five-layer on-demand loading + index sharding, ~500–1,500 tokens per task | Full loading ~12,000+ tokens | | Skill Orchestration | Static Recipe + Dynamic DAG, supports branching / parallel / rollback / automatic merging | Fixed pipeline / no orchestration | | Continuous Learning | 5-dimensional knowledge extraction, gets smarter about projects and developers | Stateless, starts from zero each time | | Full-Stack Coverage | 538 skills · 5 layers · 15+ languages · 18+ platforms | Single language / limited scenarios | | Open Extension | Custom Skills + Recipe + Creation Wizard | Closed ecosystem / no extension |

Smart Routing

The router uses triple-signal weighted scoring (keywords 40% + intent 30% + context 30%), combined with Git status, technology stack and development phase auto-detection, along with the SKPG skill knowledge graph (580+ nodes, 800+ edges) for dependency checking and path optimization. High confidence routes directly, low confidence uses interactive confirmation.

On-Demand Loading Architecture

Only L0 router remains resident (~800 tokens), L1–L4 loads on demand. Index sharding reduces resident tokens by 98%, dynamic unloading and shared context further reduce long session overhead. Per-task token consumption controlled to ~500–1,500.

Skill Orchestration Engine

Two orchestration modes complement each other: Static Recipe pre-defines skill sequences for common scenarios (feature development, bug fixes, refactoring, quick fixes); Dynamic DAG engine csp-auto makes node-by-node decisions, supporting branching parallelism, rollback retries and worktree isolation execution. Complexity classifier automatically matches model tiers.

Continuous Learning Engine

Automatically extracts knowledge in 5 dimensions at session end — project architecture and tech stack, user requirement patterns, developer coding style and preferences, long-term lessons learned, skill usage feedback. Knowledge persisted to .csp/intel/, reused across sessions, making CSP increasingly accurate as projects evolve.

Full Development Lifecycle Coverage

538 skills distributed across 5 layers, covering the full process of requirement planning, code implementation, review, debugging, testing, and release, extending to specialized areas such as AI Engineering (RAG/LLM/vLLM), DevOps (CI/CD/IaC/K8s), mobile (React Native/cross-platform), security auditing (STRIDE-A/CodeQL/incident response). Each skill follows the SKILL.md v2 specification, with structured fields like phase/domain/role.

Open Ecosystem

Users can define custom workflows via .csp/recipes.yaml, create new skills interactively with csp-skill-creator. Installer supports selective deployment by tech stack (--stacks) and layer (--layers), with --minimal mode installing only the core router.

Common Workflows

| Scenario | Input Example | Skill Chain | |----------|---------------|-------------| | Feature Development | "Develop user authentication feature" | brainstorming → spec → plan → execute → tdd → review → verify → ship | | Bug Fix | "There's a bug in this Django project" | debug + django-patterns → fix → tdd → verify | | Code Review | "Help me do a code review" | code-review + language reviewer → REVIEW.md | | Requirements Clarification | "I want to build something but not sure" | interview-me → brainstorming → spec | | Project Onboarding | "I just took over this project" | explore → map-codebase → architecture mapping | | Quick Prototyping | "Quickly make a demo" | brainstorming → implement → basic-check | | Security Audit | "Conduct security review" | security-review + framework security skill → audit report |

Quick Start

Installation

# Auto-detect AI tool and install
./install.sh

# Install for a specific platform (18 supported)
./install.sh --platform claude-code
./install.sh --platform cursor

# Install into any target directory (no need to clone this project here)
./install.sh --platform cursor --target /path/to/your/project

# Remote one-line install (no clone required)
curl -fsSL https://raw.githubusercontent.com/maythyai/code-skills-package/master/install.sh | bash -s -- --platform cursor

# Remote install to a specific target directory
curl -fsSL https://raw.githubusercontent.com/maythyai/code-skills-package/master/install.sh | bash -s -- --platform cursor --target /path/to/your/project

# npm global install
npm install -g code-skills-package
cd /your/project && csp-install --platform cursor

# Global install
./install.sh --platform trae --global

# Uninstall
./install.sh --uninstall

# List detected platforms
./install.sh --list

Complete installation documentation: INSTALL.md · Update Guide: UPDATE.md

Usage

Natural Language (Recommended)

Add to your project CLAUDE.md:

Use CSP (Code Skills Package) skills. When given a task, route to the appropriate skill combination via csp-router.

After that, simply give tasks to AI normally, the router will work automatically:

| Input | Result | |-------|--------| | "Do a code review" | Loads csp-code-review + language-specific reviewer | | "Plan and implement user auth" | brainstorming → spec → plan → execute → tdd → review → verify → ship | | "There's a bug in this Django project" | Loads csp-debug + csp-django-patterns |

Slash Commands

/csp-plan          # Planning phase
/csp-debug         # Debugging flow
/csp-review        # Code review
/csp-test          # Testing flow
/csp-ship          # Release flow
/csp-spec-phase    # Requirements clarification
/csp-execute-phase # Execute plan
/csp-verify        # Verify implementation
/csp-search <query> # Search skill index

Direct Invocation

Load csp-react-reviewer to review this code
Load csp-plan-phase to plan this feature

Architecture

CSP uses a five-layer layered architecture. Only the router (L0) loads at session start, remaining layers load on demand.

┌──────────────────────────────────────────────────────────────┐
│  L0  csp-router      Session-start resident (~800 tokens)    │
│      Task classification + confidence scoring + state        │
│      awareness + SKPG knowledge graph enhancement            │
├──────────────────────────────────────────────────────────────┤
│  L1  csp-meta        Methodology (~300 tokens/skill · ~22)  │
│      Planning · Debugging · TDD · Brainstorming · Spec-Drive │
├──────────────────────────────────────────────────────────────┤
│  L2  csp-workflow    Project management (~500 tokens/skill  │
│      · ~147) plan → execute → verify → ship full lifecycle   │
├──────────────────────────────────────────────────────────────┤
│  L3  csp-patterns    Language/Framework (~200-600 tokens    │
│      · ~313) 15+ reviewer · Build fix · Patterns · Security │
├──────────────────────────────────────────────────────────────┤
│  L4  csp-runtime     Runtime (~300 tokens/skill · ~55)      │
│      Continuous learning · Autonomous execution · Knowledge  │
│      management · Token budget · Parallel orchestration      │
└──────────────────────────────────────────────────────────────┘
                    Total: 538 skills

Routing Process

User input → State detection (Git/tech stack/phase)
         → Keywords + Intent + Regex pattern matching
         → Confidence scoring (keyword×0.4 + intent×0.3 + context×0.3)
         → SKPG dependency check
         → Routing decision

| Confidence | Decision | |------------|----------| | > 80% | Directly route to top skill | | 50–80% | Show top 3, let user confirm | | < 50% | Fall back to deep interview (/csp-interview-me) |

Token Saving Strategy

| Strategy | Effect | |----------|--------| | Index sharding (on-demand loading by node type) | Resident tokens reduced by 98% | | Summary caching (~30 tokens/skill per line) | Avoid repeated loading, reduce 15% | | Dynamic unloading (release L3/L4 content after completion) | Long sessions reduced by 30% | | Shared context (pass via .csp/artifacts/) | Cross-skill calls reduced by 20% |

Detailed architecture design, DAG orchestration engine, skill knowledge graph, skill retrieval strategy, etc., please refer to ARCHITECTURE.md.

Troubleshooting

/csp-why            # Why was this skill chosen?
/csp-debug-router   # Router matching logs
/csp-stats          # Usage statistics

Platform Support

CSP supports 18+ AI programming platforms, including Claude Code, Cursor, Trae, Windsurf, Kiro, Codex, Gemini CLI, etc. The installation script automatically detects the platform and generates corresponding configuration files (CLAUDE.md / .cursorrules / .windsurfrules, etc.).

Further Reading

| Document | Description | |----------|-------------| | ARCHITECTURE.md | Complete architecture design (11 chapters · DAG orchestration · SKPG · Token strategy) | | SKILL-INDEX.md | Complete index of 538 skills/agents | | INSTALL.md | Complete installation guide (18+ platforms) | | SKILL-AUTHORING.md | Skill authoring best practices | | SKILL-SPEC.md | SKILL.md specification document | | USER-GUIDE.md | User guide | | README_zh.md | Chinese Documentation |

License

MIT License

All integrated projects use the MIT license.

Acknowledgments

CSP integrates capabilities from the following open-source projects:

| Project | Contribution Area | |---------|------------------| | ECC | Skill library | | GSD | Project management & lifecycle workflows | | OMC | Runtime enhancement (autopilot · wiki · remember) | | Superpowers | Meta-skills & methodology | | spec-kit | Spec-driven development | | Agency-Agents | Specialized AI agents | | awesome-copilot | GitHub Copilot skills & agents (~40 selected) |