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 🙏

© 2025 – Pkg Stats / Ryan Hefner

dotpack

v0.1.17

Published

Model-agnostic CLI tool that installs AI coding assistant configurations

Readme

Dotpack CLI

Dotpack is a model-agnostic CLI tool designed to install and manage AI coding assistant configurations. It helps streamline the setup and usage of various AI agents, commands, and skills within your projects.

🚀 Getting Started

Installation

To install the Dotpack CLI globally, run the following command:

npm install -g dotpack
# or
pnpm install -g dotpack
# or
yarn global add dotpack

Authentication (License Activation)

Dotpack requires a license key for full functionality. Once installed, activate your license using the activate command:

dotpack activate <YOUR_LICENSE_KEY>

Replace <YOUR_LICENSE_KEY> with the license key you received after purchase.

Checking License Status

You can check the status of your license at any time:

dotpack status

Deactivating Your License

If you need to use your license on a different machine or simply want to deactivate it from the current one:

dotpack deactivate

✨ Usage

Initialize Dotpack in Your Project

To set up Dotpack in a new or existing project, navigate to your project's root directory and run:

dotpack init

This command will guide you through:

  1. Pack Selection - Choose from available packs (Engineer, Marketing, Test)
  2. Adapter Selection - Select which AI coding assistants to configure:
    • Gemini CLI - AI assistant for Google Gemini CLI
    • Cursor Rules - AI rules for Cursor editor
    • Claude Code - Anthropic's Claude Code assistant
    • Multiple - Configure multiple adapters simultaneously

Adapter Selection Options

# Interactive selection (default - all adapters checked)
dotpack init

# Auto-select all adapters 
dotpack init --yes

# Legacy single adapter selection
dotpack init -a cursor
dotpack init -a gemini
dotpack init -a claude-code

For a custom selection of agents, commands, and skills:

dotpack customize

Adding Components

You can add individual agents, commands, or skills to your existing Dotpack configuration:

dotpack add

Listing Installed Components

To see what agents, commands, and skills are currently installed:

dotpack list

Building / Regenerating Adapter Output

If you've made changes to your Dotpack configuration or need to regenerate the output for your AI coding assistant adapter:

dotpack build

Supported Adapters

Cursor Rules Adapter

  • Output: .cursor/rules/ directory with YAML frontmatter rules
  • Features: Migrates legacy .cursorrules files, generates agent/command/skill rules
  • Usage: Open project in Cursor Editor and use @ rules like @engineer or @build in chat

Gemini CLI Adapter

  • Output: .gemini/ directory with CLI configuration
  • Features: Full CLI integration with specialized commands
  • Usage: Start Gemini CLI in your project directory

Claude Code Adapter

  • Output: .claude/ directory with Claude Code configuration
  • Features: Slash commands, subagents with auto-delegation, context-based skill discovery
  • Usage: Open project in Claude Code and use / commands like /build or /fix in chat

📚 Commands

CLI Commands

  • dotpack init: Initialize Dotpack in the current directory.
  • dotpack customize: Initialize Dotpack with a custom selection of components.
  • dotpack add: Add agent, command, or skill.
  • dotpack list: List installed components.
  • dotpack build: Regenerate adapter output.
  • dotpack activate <key>: Activate your license key.
  • dotpack deactivate: Deactivate your license.
  • dotpack status: Show your license status.
  • dotpack license: Manage your license key.

AI Assistant Commands

Once initialized, your AI coding assistant will have access to specialized build commands:

Core Commands

  • /build - Implement a feature with planning and testing
  • /plan - Create a detailed implementation plan
  • /fix - Debug and fix an issue
  • /test - Run tests and report results
  • /review - Review code for quality and issues

Specialized Build Commands

Frontend Development

/build:page /dashboard/users          # Build Next.js pages with App Router
/build:ui Button --variant=primary    # Create reusable UI components
/build:form UserProfile --validation  # Build forms with React Hook Form + Zod
/build:table Users --sortable         # Build data tables with sorting/filtering

Backend Development

/build:api /users --crud              # Create API endpoints with validation
/build:db users table                 # Generate Drizzle schemas and migrations
/build:auth login-flow                # Implement authentication flows

Full-Stack Development

/build:crud Product --admin-panel     # Generate complete CRUD operations

Each specialized command includes:

  • Domain-specific constraints - Tailored to specific development patterns
  • Technology integration - Works with your existing stack (Next.js, React, Drizzle, etc.)
  • Best practices - Follows established conventions and security patterns
  • Examples and guidance - Built-in help for common use cases

For more details on any command, use the --help flag:

dotpack <command> --help

🏗️ Project Structure

After initializing Dotpack, your project will have the following structure:

your-project/
├── .dotpack/                 # Dotpack configuration
│   ├── config.json          # Project configuration
│   ├── agents/               # AI agent definitions
│   ├── commands/             # Command workflows
│   └── skills/               # Technology-specific knowledge
├── .cursor/rules/            # Cursor editor rules (if selected)
│   ├── README.md
│   ├── planner/RULE.md
│   ├── engineer/RULE.md
│   ├── build/RULE.md
│   ├── build-api/RULE.md
│   └── ...
└── .gemini/                  # Gemini CLI config (if selected)
    ├── config.json
    └── ...

How Adapters Work

Cursor Rules Adapter:

  • Converts agents, commands, and skills into individual rule files
  • Each rule has YAML frontmatter with description, globs, and metadata
  • Rules can be invoked in Cursor using @rulename syntax
  • Automatically migrates legacy .cursorrules files

Gemini CLI Adapter:

  • Creates a comprehensive CLI configuration
  • Integrates all agents and commands into the Gemini workflow
  • Supports the full command ecosystem with context-aware responses

🎯 Specialized Build Commands

The Engineer pack includes 8 specialized build subcommands designed for modern full-stack development:

| Command | Category | Dependencies | Description | |---------|----------|--------------|-------------| | /build:page | Frontend | Next.js, React | Build Next.js pages, layouts, and routes with App Router patterns | | /build:ui | Frontend | React, Tailwind | Create reusable UI components with accessibility and Tailwind | | /build:form | Frontend | React, TypeScript | Build forms with validation using React Hook Form and Zod | | /build:table | Frontend | React, TypeScript | Build data tables with sorting, filtering, and pagination | | /build:api | Backend | Next.js, TypeScript | Create API endpoints with validation and error handling | | /build:db | Backend | Drizzle, TypeScript | Generate Drizzle schemas, migrations, and type-safe queries | | /build:auth | Backend | Next.js, TypeScript | Implement authentication flows with session management | | /build:crud | Full-Stack | Next.js, Drizzle, React | Generate full-stack CRUD operations: schema + API + UI |

Each command includes detailed workflows, technology constraints, and example usage patterns tailored to modern development practices.