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

db-skills

v0.1.1

Published

Install database skills onto coding agents (OpenCode, Claude Code, Codex, Cursor)

Readme

db-skills

    

Built by Docfork

Curated database skills for AI coding agents (OpenCode, Claude Code, Codex, Cursor).

Each skill is a small, reviewable workflow in skills/<skill-name>/SKILL.md (with name + description frontmatter). Think: schema discovery, safe migrations, debugging slow queries, and data quality checks.

Installation

npm install -g db-skills

Quick Start

# see what's bundled in this package
db-skills list

# install all bundled db skills (global)
db-skills add --all --global --yes

Usage

Commands

| Command | Purpose | | ----------------------------------- | ------------------------------------------------ | | db-skills list | list bundled skills | | db-skills add | install selected skills (interactive by default) | | db-skills add --all | install all bundled skills | | db-skills rm / db-skills remove | uninstall selected skills |

Options

| Option | Description | | ------------------------- | ---------------------------------------------------------- | | -g, --global | install to user directories instead of the current project | | --agent <agents...> | target specific agents (e.g. cursor, claude-code) | | -s, --skill <skills...> | select skills by name (skip selection prompt) | | --mode <mode> | install mode: copy (default) or symlink | | -y, --yes | skip confirmation prompts |

Examples

# list skills
db-skills list

# install one skill globally to cursor + claude-code
db-skills add -g --agent cursor claude-code --skill query-database-schema

# install everything globally (ci-friendly)
db-skills add --all -g -y

# remove one skill globally
db-skills rm -g --skill query-database-schema -y

Supported Agents

This CLI can install skills into these agent directories:

| Agent | --agent | Project Path | Global Path | | ----------- | ------------- | ------------------- | ---------------------------- | | Cursor | cursor | .cursor/skills/ | ~/.cursor/skills/ | | Claude Code | claude-code | .claude/skills/ | ~/.claude/skills/ | | Codex | codex | .codex/skills/ | ~/.codex/skills/ | | OpenCode | opencode | .opencode/skills/ | ~/.config/opencode/skills/ |

How installs work

  • source of truth: bundled skills live under ./skills/<skill-name>/SKILL.md
  • canonical store: installs copy into .agents/skills/<skill-name>/ (project) or ~/.agents/skills/<skill-name>/ (global)
  • agent install:
    • copy: copies from canonical store into each agent directory
    • symlink: symlinks each agent directory to canonical store

Available Skills

This section is auto-generated from ./skills/*/SKILL.md. To refresh it, run npm run sync-skills.

| Skill | Purpose | | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | | data-quality-audit | Audits database data quality (nulls, duplicates, orphans, invalid ranges) and produces a short findings report with remediation queries | | debug-slow-queries | Diagnoses and fixes slow database queries using explain plans, statistics, and targeted indexes or rewrites | | query-database-schema | Inspects database schema and metadata (tables, columns, indexes, constraints, relationships) | | write-safe-migrations | Plans and executes safe database migrations with low-downtime patterns, verification, and rollback |

Contributing

This repo is curated. Skill requests and focused PRs are welcome.

  • request a skill: open an issue using the “db-skill request” template
  • contribute a skill: see CONTRIBUTING.md

Troubleshooting

"No skills found"

  • ensure skills live at skills/<skill-name>/SKILL.md
  • ensure frontmatter has name and description
  • ensure name matches the directory name exactly

Skill not loading in agent

  • verify the skill exists under the agent skills directory after install
  • some agents require additional configuration to load skills from disk

License

MIT