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

fivem-devkit-cli

v1.7.0-beta.3

Published

CLI toolkit for FiveM development with AI assistance

Readme

🚀 Quick Start

# Install globally
npm install -g fivem-devkit-cli

# Or use directly with npx
npx fivem-devkit-cli init

CLI Aliases: fivem-devkit, fivem-dk, or fdk

# All of these work
fivem-devkit init
fivem-dk init
fdk init
## ✨ Features

- **🎮 FiveM Specialized** - Built-in knowledge for NUI development (React, Vue, jQuery, Vanilla).
- **📜 Commands** - Reusable prompt templates for `/fix`, `/explain`, `/implement`, etc.
- **📋 Rules** - Project-specific AI behavior guidelines for coding styles and Git.
- **🎓 Skills** - Comprehensive guides for FiveM NUI, Frontend, Backend, and Design.
- **📏 Unit Conversion** - Automatic PX to VH/VW conversion rules.
- **🎨 Figma Fidelity** - Strict adherence to designs when using Figma MCP.
- **🔄 Sync** - Keep configurations updated from the community.
- **🔗 Share** - Share configs over LAN or Internet.

## 📦 Commands

### `init`

Initialize rules, and skills in your project. This is how you "install" the DevKit guidelines into your server resources.

```bash
fdk init                       # Interactive selection
fdk init -t cursor             # Quick init for Cursor IDE (.cursor/)
fdk init --skills              # Only install specific skills (like FiveM NUI)

Target options:

  • cursor (default) - Creates .cursor/ directory structure for Cursor IDE
  • github-copilot - Creates .github/copilot-instructions.md and related structure for GitHub Copilot
  • google-antigravity - Creates .agent/ directory with rules, workflows, and skills for Google AntiGravity

add

Interactively create a new command, rule, or skill with a starter template. Supports targeting different AI IDEs.

cursor-kit add                              # Interactive mode (prompts for target)
cursor-kit add --target cursor              # Add to Cursor IDE
cursor-kit add --target github-copilot      # Add to GitHub Copilot
cursor-kit add --target google-antigravity  # Add to Google AntiGravity
cursor-kit add -t command                   # Add a command
cursor-kit add -t rule                      # Add a rule
cursor-kit add -t skill                     # Add a skill
cursor-kit add -t command -n my-command     # Quick create
cursor-kit add --target cursor -t rule -n my-rule  # Full example

pull

Fetch the latest updates from the cursor-kit repository. Supports targeting different AI IDEs.

cursor-kit pull                         # Interactive mode (prompts for target)
cursor-kit pull -t cursor               # Pull to Cursor IDE
cursor-kit pull -t github-copilot       # Pull to GitHub Copilot
cursor-kit pull -t google-antigravity   # Pull to Google AntiGravity
cursor-kit pull -c                      # Only pull commands
cursor-kit pull -r                      # Only pull rules
cursor-kit pull -s                      # Only pull skills
cursor-kit pull -f                      # Force overwrite without confirmation
cursor-kit pull -t cursor -r -f         # Pull rules to Cursor with force

list

Display all available commands, rules, and skills in your project.

cursor-kit list           # List everything
cursor-kit list -c        # Only list commands
cursor-kit list -r        # Only list rules
cursor-kit list -s        # Only list skills
cursor-kit list -v        # Verbose mode with file paths

remove

Remove a command, rule, or skill from your project. Supports targeting different AI IDEs.

cursor-kit remove                        # Interactive mode (prompts for target)
cursor-kit remove --target cursor        # Remove from Cursor IDE
cursor-kit remove --target github-copilot       # Remove from GitHub Copilot
cursor-kit remove --target google-antigravity   # Remove from Google AntiGravity
cursor-kit remove -t command -n my-command      # Quick remove
cursor-kit remove -f                     # Skip confirmation
cursor-kit remove --target cursor -t rule -n my-rule -f  # Full example

share

Share AI IDE configs over LAN or Internet via HTTP. Perfect for transferring your configuration to another machine.

cursor-kit share                    # Interactive mode (choose LAN or Internet)
cursor-kit share -p 9000            # Use a specific port
cursor-kit share -n lan             # Share over local network only
cursor-kit share -n internet        # Share via public tunnel URL
cursor-kit share -n internet -t localtunnel   # Use localtunnel (default, free)
cursor-kit share -n internet -t ngrok         # Use ngrok (more reliable)

Network modes:

| Mode | Description | Use Case | |------|-------------|----------| | lan | Local network only | Same WiFi/network, faster | | internet | Public tunnel URL | Different networks, anywhere |

Tunnel providers:

| Provider | Pros | Setup | |----------|------|-------| | localtunnel | Free, no account required | Works out of the box | | ngrok | More reliable, stable URLs | Requires free account |

How it works:

  • Detects available configs (.cursor, .agent, .github) in current directory
  • Starts an HTTP server (LAN) or creates a public tunnel (Internet)
  • Displays the receive command to run on the target machine
  • Automatically shuts down after successful transfer

receive

Receive and extract shared AI IDE configs from a cursor-kit share URL.

cursor-kit receive http://192.168.1.15:8080     # Receive from LAN URL
cursor-kit receive https://abc123.loca.lt       # Receive from tunnel URL
cursor-kit receive https://abc123.ngrok.io      # Receive from ngrok URL
cursor-kit receive <url> -f                     # Force overwrite without prompts

Conflict handling:

When existing configs are detected, you can choose to:

  • Overwrite - Replace all conflicting files
  • Merge - Keep existing files, add new ones only
  • Cancel - Abort the operation

Example workflow (LAN):

# On source machine (has the configs)
cd ~/project-with-configs
cursor-kit share -n lan
# Output: cursor-kit receive http://192.168.1.15:8080

# On target machine (same network)
cd ~/new-project
cursor-kit receive http://192.168.1.15:8080

Example workflow (Internet):

# On source machine (has the configs)
cd ~/project-with-configs
cursor-kit share -n internet
# Output: cursor-kit receive https://abc123.loca.lt

# On target machine (anywhere in the world)
cd ~/new-project
cursor-kit receive https://abc123.loca.lt

instance

Manage multiple Cursor IDE instances for multi-account login. macOS only.

This command allows you to create separate Cursor instances, each with its own identity (bundle ID) and data directory. Perfect for users who need to work with multiple Cursor accounts simultaneously.

cursor-kit instance                                  # Interactive mode
cursor-kit instance -l                               # List existing instances
cursor-kit instance -a create -n "Cursor Work"       # Create instance
cursor-kit instance -a alias -n "Cursor Work"        # Add/update alias for instance
cursor-kit instance -a reinstall -n "Cursor Work"    # Reinstall instance (fix after updates)
cursor-kit instance -a remove -n "Cursor Work"       # Remove instance

How it works:

  • Creates a copy of Cursor.app in ~/Applications/
  • Assigns a unique bundle identifier (e.g., com.cursor.cursorwork)
  • Creates a separate data directory in ~/Library/Application Support/
  • Re-signs the app with an ad-hoc signature
  • Each instance can be logged into with a different Cursor account
  • Reinstall refreshes the instance with the latest Cursor version while preserving your data

Shell Aliases:

When creating an instance, you can set up a shell alias to quickly open directories in that instance (similar to the cursor command):

# Create instance with interactive alias setup
cursor-kit instance -a create -n "Cursor Work"
# You'll be prompted: "Would you like to create a shell alias?"

# Create instance with alias in one command
cursor-kit instance -a create -n "Cursor Work" -A cursor-work

# Specify alias storage location
cursor-kit instance -a create -n "Cursor Work" -A cursor-work --aliasLocation shell-config
cursor-kit instance -a create -n "Cursor Work" -A cursor-work --aliasLocation home-bin
cursor-kit instance -a create -n "Cursor Work" -A cursor-work --aliasLocation usr-local-bin

# Skip alias creation prompt
cursor-kit instance -a create -n "Cursor Work" --skipAlias

Managing aliases for existing instances:

Use the alias action to add, update, or remove aliases for instances that already exist:

# Interactive alias management
cursor-kit instance -a alias
# Select an instance, then choose to add/update/remove alias

# Add or update alias for a specific instance
cursor-kit instance -a alias -n "Cursor Work"

# Directly specify the alias name
cursor-kit instance -a alias -n "Cursor Work" -A cursor-work

# Specify alias name and storage location
cursor-kit instance -a alias -n "Cursor Work" -A cursor-work --aliasLocation home-bin

Alias storage locations:

| Location | Path | Description | |----------|------|-------------| | shell-config | ~/.zshrc or ~/.bashrc | Adds a shell function (restart terminal or source to activate) | | home-bin | ~/bin/ | Creates an executable script (add ~/bin to PATH if needed) | | usr-local-bin | /usr/local/bin/ | Creates a system-wide executable (may require sudo) |

Using aliases:

After creating an alias, you can open directories in your Cursor instance:

# Open current directory
cursor-work .

# Open a specific project
cursor-work ~/projects/my-app

# The alias works just like the original 'cursor' command

Example workflow:

# Create an instance for work projects with alias
cursor-kit instance -a create -n "Cursor Enterprise"
# When prompted, set alias to "cursor-work"

# Create another for personal use
cursor-kit instance -a create -n "Cursor Personal" -A cursor-personal

# List all your instances (shows associated aliases)
cursor-kit instance --list
# Output:
# ● Cursor Enterprise (alias: cursor-work)
#   └─ ~/Applications/Cursor Enterprise.app
# ● Cursor Personal (alias: cursor-personal)
#   └─ ~/Applications/Cursor Personal.app

# Use the aliases to open projects
cursor-work ~/work/project-a
cursor-personal ~/personal/side-project

# Add alias to an instance that doesn't have one
cursor-kit instance -a alias -n "Cursor Enterprise" -A cursor-enterprise

# Update an existing alias (change name or storage location)
cursor-kit instance -a alias -n "Cursor Enterprise"
# Select "Update alias" to change the alias name

# Fix an instance after Cursor update (preserves your data and alias)
cursor-kit instance -a reinstall -n "Cursor Enterprise"

# Remove an instance (will prompt to remove associated alias)
cursor-kit instance -a remove -n "Cursor Personal"

📁 Directory Structure

After running cursor-kit init, your project will have different structures depending on the target:

Cursor IDE (default)

your-project/
└── .cursor/
    ├── commands/              # Prompt templates (.md)
    │   ├── docs.md
    │   ├── explain.md
    │   ├── fix.md
    │   ├── implement.md
    │   ├── refactor.md
    │   ├── review.md
    │   └── test.md
    ├── rules/                 # AI behavior rules (.mdc)
    │   ├── coding-style.mdc
    │   ├── git.mdc
    │   └── toc.mdc
    └── skills/                # Comprehensive guides with references
        ├── aesthetic/
        │   ├── SKILL.mdc
        │   ├── assets/
        │   └── references/
        ├── backend-development/
        │   ├── SKILL.mdc
        │   └── references/
        ├── frontend-design/
        │   ├── SKILL.mdc
        │   └── references/
        ├── frontend-development/
        │   ├── SKILL.mdc
        │   └── resources/
        ├── problem-solving/
        │   ├── SKILL.mdc
        │   └── references/
        ├── research/
        │   └── SKILL.mdc
        ├── sequential-thinking/
        │   ├── SKILL.mdc
        │   ├── references/
        │   └── scripts/
        └── ui-styling/
            ├── SKILL.mdc
            └── references/

GitHub Copilot

your-project/
└── .github/
    ├── copilot-instructions.md    # Main instructions file
    └── copilot-instructions/      # Organized instructions
        ├── commands/              # Prompt templates (.md)
        │   ├── docs.md
        │   ├── explain.md
        │   ├── fix.md
        │   ├── implement.md
        │   ├── refactor.md
        │   ├── review.md
        │   └── test.md
        ├── rules/                 # AI behavior rules (.md)
        │   ├── coding-style.md
        │   ├── git.md
        │   └── toc.md
        └── skills/                # Comprehensive guides with references
            ├── aesthetic/
            │   ├── SKILL.md
            │   ├── assets/
            │   └── references/
            ├── backend-development/
            │   ├── SKILL.md
            │   └── references/
            └── ... (other skills)

Google AntiGravity

your-project/
└── .agent/
    ├── workflows/                 # Workflow templates (.md)
    │   ├── docs.md
    │   ├── explain.md
    │   ├── fix.md
    │   ├── implement.md
    │   ├── refactor.md
    │   ├── review.md
    │   └── test.md
    ├── rules/                     # AI behavior rules (.md)
    │   ├── coding-style.md
    │   ├── git.md
    │   └── toc.md
    └── skills/                    # Comprehensive guides with references
        ├── aesthetic/
        │   ├── SKILL.md
        │   ├── assets/
        │   └── references/
        ├── backend-development/
        │   ├── SKILL.md
        │   └── references/
        └── ... (other skills)

🎯 Included Templates

Commands

| Command | Description | | ----------- | ---------------------------------------------- | | docs | Create or update documentation | | explain | Clear technical explanations | | fix | Diagnose and fix bugs with root cause analysis | | implement | Convert feature ideas into actionable plans | | refactor | Improve code quality without changing behavior | | review | Comprehensive code review checklist | | test | Generate comprehensive test suites |

Rules

| Rule | Description | | -------------- | ------------------------------------------ | | coding-style | Core coding conventions and best practices | | git | Commit and branching conventions | | toc | Table of contents for rule selection |

Skills

| Skill | Description | | ---------------------- | ---------------------------------------------------------------------------------- | | aesthetic | Visual design principles, storytelling, and micro-interactions for distinctive interfaces | | backend-development | API design, architecture, authentication, security, and DevOps patterns | | frontend-design | Create distinctive, production-grade interfaces with bold aesthetics (avoid generic AI slop) | | frontend-development | React/TypeScript patterns: Suspense, lazy loading, TanStack Query/Router, MUI v7, file organization | | problem-solving | Techniques for complexity spirals, innovation blocks, meta-patterns, and scale testing | | research | Systematic research methodology for technical solutions with report generation | | sequential-thinking | Structured problem-solving with revision, branching, and hypothesis verification | | ui-styling | shadcn/ui components, Tailwind CSS utilities, theming, accessibility, and canvas-based visual design |

🛠️ Development

# Clone the repo
git clone https://github.com/duongductrong/cursor-kit.git
cd cursor-kit

# Install dependencies
pnpm install

# Build
pnpm build

# Run locally
node dist/cli.js

# Development mode (watch)
pnpm dev

Requirements

  • Node.js >= 18.0.0

📄 License

MIT © duongductrong