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

skillbuilder

v1.0.1

Published

CLI tool to create and maintain project-level AI instructions across multiple editors

Readme

SkillBuilder

CLI tool to create and maintain project-level AI instructions across multiple editors

SkillBuilder helps developers create and maintain consistent AI rules/instructions as Markdown files for Cursor, Windsurf, VS Code Copilot, and Antigravity.

Features

  • 🎯 Multi-editor support: Generate rules for Cursor, Windsurf, VS Code Copilot, and Antigravity
  • 📝 Interactive TUI: Beautiful terminal interface with arrow key navigation
  • 🔄 Watch mode: Auto-sync rules when documentation changes
  • 🔒 Safe merging: Preserves manual edits outside managed sections
  • 📚 Documentation ingestion: Fetch from URLs and local files
  • 🎨 Style presets: Strict, balanced, or minimal rule templates
  • 🔍 Diagnostics: Built-in doctor and lint commands

Installation

# From npm (once published)
npm install -g skillbuilder

# Or install from GitHub
npm install -g https://github.com/praveencs87/skillbuilder

Quick Start

  1. Initialize in your repository:
cd your-project
skillbuilder init
  1. Create a skill:
skillbuilder create "frontend-rules" --goal "Next.js app guidelines"
  1. Add documentation sources:
skillbuilder add-url https://docs.example.com/architecture --skill frontend-rules
skillbuilder add-file ./docs/CONTRIBUTING.md --skill frontend-rules
  1. Sync rules to editors:
skillbuilder sync
  1. Watch for changes:
skillbuilder watch

Commands

skillbuilder init

Bootstrap SkillBuilder in a repository.

Options:

  • --targets <targets> - Comma-separated list (cursor,windsurf,vscode,antigravity)
  • --style <style> - Rule style (strict, balanced, minimal)
  • --non-interactive - Skip prompts for CI

Example:

skillbuilder init --targets cursor,windsurf --style balanced

skillbuilder create [name]

Create a new skill/rule pack.

Options:

  • --goal <goal> - Goal statement
  • --scope <scope> - Comma-separated path globs
  • --non-interactive - Skip prompts

Example:

skillbuilder create "backend-rules" --goal "API development guidelines" --scope "src/api/**"

skillbuilder add-url <url>

Add a URL as a documentation source.

Options:

  • --skill <skill-id> - Skill ID to add the URL to

Example:

skillbuilder add-url https://nextjs.org/docs --skill frontend-rules

skillbuilder add-file <file>

Add a local file as a documentation source.

Options:

  • --skill <skill-id> - Skill ID to add the file to

Example:

skillbuilder add-file ./docs/ARCHITECTURE.md --skill core

skillbuilder build

Build skill content from sources (fetches URLs, reads files, caches).

Example:

skillbuilder build

skillbuilder sync

Generate and update editor-specific rules files.

Options:

  • --targets <targets> - Only sync specific targets

Example:

skillbuilder sync --targets cursor,windsurf

skillbuilder watch

Watch for changes and auto-sync.

Example:

skillbuilder watch

skillbuilder doctor

Diagnose configuration issues.

Example:

skillbuilder doctor

skillbuilder lint

Lint skill configuration for errors and warnings.

Example:

skillbuilder lint

Configuration

SkillBuilder uses skillbuilder.json in your repository root:

{
  "version": "1.0",
  "targets": ["cursor", "windsurf", "vscode", "antigravity"],
  "style": "balanced",
  "skills": [
    {
      "id": "core",
      "name": "Core Project Rules",
      "goal": "How to work in this repo safely",
      "scopes": [],
      "sources": {
        "urls": ["https://docs.example.com"],
        "files": ["./README.md"]
      },
      "constraints": {
        "tone": "concise",
        "safety": "strict",
        "formatting": {
          "noEmDash": true
        }
      }
    }
  ],
  "output": {
    "cursor": { "dir": ".cursor/rules" },
    "windsurf": { "dir": ".windsurf/rules", "global": ".windsurf/global_rules.md" },
    "vscode": { "file": ".github/copilot-instructions.md" },
    "antigravity": { "dir": ".antigravity/rules" }
  },
  "limits": {
    "maxUrlChars": 12000,
    "maxFileChars": 12000,
    "maxGeneratedCharsPerFile": 18000
  }
}

Rule Styles

Strict

  • Short, focused rules
  • Cautious about refactors
  • Always run tests
  • Clear do/don't sections

Balanced (recommended)

  • Includes repo commands
  • Structure hints
  • Moderate refactors allowed
  • Comprehensive documentation

Minimal

  • High-level constraints only
  • Safety rules
  • Minimal verbosity

Output Formats

Cursor

Generates .cursor/rules/*.md files, one per skill.

Windsurf

Generates .windsurf/rules/*.md files plus optional global_rules.md.

VS Code / GitHub Copilot

Generates .github/copilot-instructions.md with all skills merged.

Antigravity

Generates .antigravity/rules/*.md files.

Safe Merging

SkillBuilder uses marker-based merging to preserve manual edits:

<!-- skillbuilder:begin core -->
... generated content ...
<!-- skillbuilder:end core -->

Your manual notes here are preserved!

CI/CD Integration

Use non-interactive mode in CI:

# Initialize
skillbuilder init --targets cursor,windsurf --style balanced --non-interactive

# Create skill
skillbuilder create "ci-rules" --goal "CI guidelines" --non-interactive

# Sync
skillbuilder sync

# Lint
skillbuilder lint

Monorepo Support

Use scopes to target specific paths:

skillbuilder create "web-app" --scope "apps/web/**"
skillbuilder create "api" --scope "services/api/**"

Troubleshooting

Run diagnostics:

skillbuilder doctor

Common issues:

  • Not in git repo: Initialize git first
  • Missing config: Run skillbuilder init
  • Markers corrupted: Check for manual edits inside markers
  • Cache issues: Delete .skillbuilder/cache and rebuild

Development

# Install dependencies
npm install

# Build
npm run build

# Run locally
node dist/cli.js init

# Run tests
npm test

# Watch mode
npm run dev

License

MIT

Contributing

Contributions welcome! Please read CONTRIBUTING.md first.