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

@yayaluoya-claude-plugins/git-plugin

v0.1.16

Published

Git 工作流命令 — 中文 commit、智能创建分支等

Readme

git-plugin

提供 Git 工作流相关的 Claude Code 命令插件。

命令

/commit

检查工作区改动,按项目已有的 commit 风格生成一条中文提交。

执行流程:

  1. 并行运行 git statusgit diffgit diff --cachedgit log --oneline -10 收集上下文
  2. 读取完整 diff,识别改动目的,检测敏感文件
  3. 跟随 git log 历史风格(Conventional Commits 前缀 feat / fix / chore / refactor / docs / style),生成中文 commit message
  4. git add <具体文件> 暂存,创建新 commit,不推送

注意事项:

  • 工作区干净时直接提示"无可提交的改动",不造空提交
  • 遇到 .env / *.pem 等可能含密钥的文件会先警告
  • 跨主题改动会询问是否拆成多个 commit
  • 不跳过 pre-commit hook;hook 失败后修好再创建新 commit,不用 --amend
  • 不会主动 git push,由用户决定是否推送

/new-branch

根据用户提供的名字,侦测项目现有分支的命名规范,转成合规的英文分支名后创建并切换。

执行流程:

  1. 并行运行 git branch -agit branch --show-currentgit status 收集分支与工作区上下文
  2. 扫描所有分支名侦测命名规范(如 feat/xxx 斜杠前缀、feature-xxx 短横线、Jira issue 号等),分支太少时回退到默认 <type>/<name>
  3. 把名字转成英文 slug:英文直接规范化;中文优先简洁意译;专有名词 / 产品名用拼音;过长则用拼音首字母缩写
  4. 推断类型前缀(feat / fix / docs / refactor / chore),也支持在参数里显式指定
  5. 校验分支名合法性后用 git checkout -b 创建并切换

注意事项:

  • 名字可含中文,用了拼音 / 首字母时会在输出里附中文原意
  • 名字为空或含义不清时先询问,不硬造
  • 工作区有未提交改动时会先提醒(不自动 stash / commit)
  • 与现有分支重名时提示加区分,不覆盖已有分支
  • 不会主动 git push,由用户决定是否推送

安装

/plugin install git-plugin@yayaluoya-claude-plugins