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

@q01/claude-skill-create-mockdataprovider

v1.0.0

Published

Q01 Mock Data Provider generation skill for Claude Code

Downloads

38

Readme

@q01/claude-skill-create-mockdataprovider

Q01 Mock Data Provider generation skill for Claude Code.

This package installs a Claude Code skill that guides the generation of mock data providers for Q01 platform microservices. Mock data providers enable deterministic, repeatable, and realistic test data generation for development and testing workflows.

Installation

npx @q01/claude-skill-create-mockdataprovider install

Commands

# Install the skill into Claude Code
npx @q01/claude-skill-create-mockdataprovider install

# Update an existing installation
npx @q01/claude-skill-create-mockdataprovider update

# Remove the skill from Claude Code
npx @q01/claude-skill-create-mockdataprovider uninstall

# Check installation health
npx @q01/claude-skill-create-mockdataprovider doctor

install

Copies all skill files into ~/.claude/skills/q01-create-mockdataprovider/, installs the /create-mockdataprovider command into ~/.claude/commands/q01-create-mockdataprovider/, and appends the skill reference block to ~/.claude/CLAUDE.md (using sentinel comments to track the block). Creates backups of existing files before overwriting.

update

Reinstalls all skill files while preserving the original installedAt timestamp. Updates the CLAUDE.md block if it has changed. Creates a backup of the existing skill directory before updating.

uninstall

Removes all installed skill files, the commands directory, the sentinel block from CLAUDE.md, and the manifest. Leaves the skill directory in place if other files remain.

doctor

Verifies the installation is healthy: checks that all expected files exist, the manifest is consistent, the CLAUDE.md sentinel block is present, and the installed version matches the package version. Exits with code 0 if everything is OK, 1 if problems are found.

Environment Variables

| Variable | Description | |---|---| | Q01_CLAUDE_SKILL_TARGET | Override the default ~/.claude target directory. Useful for testing or custom installations. |

Local Testing

npm test

The test suite uses a temporary directory (via Q01_CLAUDE_SKILL_TARGET) to run install/update/uninstall/doctor cycles without touching your real ~/.claude directory.

Project Structure

bin/
  cli.js                    # CLI entry point

src/
  index.js                  # Programmatic API re-exports
  commands/
    install.js              # Install command
    update.js               # Update command
    uninstall.js            # Uninstall command
    doctor.js               # Doctor (health check) command
  lib/
    logger.js               # Minimal ANSI color logger
    paths.js                # Path resolution (supports Q01_CLAUDE_SKILL_TARGET)
    fs-utils.js             # File system utilities (zero dependencies)
    backup.js               # Backup helpers
    manifest.js             # Manifest read/write

skill/                      # Skill files distributed with the package
  SKILL.md
  CUSTOM_CLAUDE.md
  commands/
    create-mockdataprovider.md
  contract/
    coreapi.rules.md
    coreapi.openapi.yaml
  docs/
    playbook.md
    examples.md
    snippets/
      go_get_list_resty.md
      go_get_single_resty.md
      go_post_bulk_resty.md

test/
  run-tests.js              # Test suite

commands/                   # Source command (not distributed)
  create-mockdataprovider.md

contract/                   # Source contract files (not distributed)
  coreapi.rules.md
  coreapi.openapi.yaml

docs/                       # Source documentation (not distributed)
  playbook.md
  examples.md
  snippets/
    go_get_list_resty.md
    go_get_single_resty.md
    go_post_bulk_resty.md

Usage in Claude Code

After installation, use the /create-mockdataprovider command in Claude Code to start a guided workflow for generating mock data providers. Claude will verify the microservice compatibility, collect entity definitions, validate the input against the schema, generate realistic mock data, and verify the final result following the skill's rules and conventions.

Esempio di utilizzo:

/create-mockdataprovider Genera un mock data provider per il microservizio corrente, con entità User, Order, Product.