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

magehub

v0.1.13

Published

AI coding skills for Magento 2 development

Readme

MageHub

MageHub is a TypeScript CLI for packaging Magento 2 AI coding skills as reusable context files for tools like Claude Code, OpenCode, Codex, and Qoder.

Project site: magehub.org

Status

MageHub now supports a complete local v1.0 workflow:

  • 13 bundled Magento 2 core skills
  • agent-oriented skill contracts for activation, workflow, guardrails, verification, and output expectations
  • skill listing, search, show, install, remove, and verification
  • config init/show/validate
  • context generation for multiple AI tool formats
  • JSON Schema validation for skill YAML and project config

Install

Install globally from npm:

npm install -g magehub

Or run ad-hoc without installing:

npx magehub --help

Quick Start

By default, MageHub installs skills globally for the current user:

magehub install module-plugin performance

On first global run, MageHub creates ~/.magehub/config.yaml and writes the rendered output to the selected tool's global location. If --format is omitted, MageHub uses claude.

Use -c / --current to install into the current project instead:

magehub install -c module-plugin performance

Project installs create or update .magehub.yaml, write the rendered files into the current project, and update .git/info/exclude so generated output stays local to your clone. If --format is omitted, MageHub uses claude; pass --format=codex or another supported format when you want a different target.

Other common tasks:

magehub skill:list                     # browse bundled skills
magehub skill:search plugin            # find skills by keyword
magehub skill:remove -g module-plugin  # uninstall globally and clean output
magehub generate                       # re-render current project from .magehub.yaml
magehub setup:init --format=codex      # optional: create .magehub.yaml without installing skills

Global output layout by format:

| Format | Strategy | Global output | | ---------- | -------------- | ---------------------------------- | | claude | per-skill file | ~/.claude/skills/<id>/SKILL.md | | opencode | per-skill file | ~/.opencode/skills/<id>/SKILL.md | | codex | per-skill file | ~/.codex/skills/<id>/SKILL.md | | qoder | per-skill file | ~/.qoder/skills/<id>/SKILL.md |

Bundled v1.0 Skills

  • module-scaffold
  • module-plugin
  • module-di
  • module-setup
  • admin-ui-grid
  • api-graphql-resolver
  • hyva-module-compatibility
  • testing-phpunit
  • performance
  • magento-upgrade
  • standards-coding
  • mage-review
  • devops-warden

Supported Commands

  • setup:init
  • skill:list
  • skill:search
  • skill:show
  • skill:install
  • skill:remove
  • skill:verify
  • config:show
  • config:validate
  • generate

Development

npm install
npm run build
npm run test
npm run lint

Local Custom Skills

You can point .magehub.yaml at a project-local custom skills directory with custom_skills_path.

Current local policy:

  • the path is resolved relative to the project root
  • the path must remain inside the project root
  • duplicate skill IDs across bundled/custom skills are rejected

Documentation

  • docs/PROPOSAL.md
  • docs/IMPLEMENTATION_CHECKLIST.md
  • docs/IMPLEMENTATION_BACKLOG.md
  • docs/cli-reference.md
  • docs/creating-skills.md