2 Commits

Author SHA1 Message Date
Tim Ren 30d2e13337 Merge pull request #19 from xr843/docs/npm-publish-badges
docs: add npm publish badges + global-install instructions
2026-05-03 21:10:41 +08:00
xr843 d981e98239 docs: add npm publish badges + global-install instructions
Now that v0.4.0 / v0.5.0 / v0.6.0 are live on the npm registry, surface
that in the README:

- npm version + monthly downloads badges (zh + en READMEs)
- new "全局安装" / "Global install" snippet alongside the existing NPX
  recipe — covers users who'd rather skip the npx prefix or work offline
- CHANGELOG Unreleased entry noting the registry publish

No code changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 21:09:57 +08:00
3 changed files with 25 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ Sections marked **Ethics** track changes to `ETHICS.md`, content licensing, or b
## [Unreleased]
### Added
- npm publish: `master-skill` package live on registry — `npm install -g master-skill` or `npx master-skill` now serves all three published versions (0.4.0 / 0.5.0 / 0.6.0). README badges added for npm version + monthly downloads.
- `ETHICS.md` — AI transparency, copyright tier (A/B/C/D), religious boundary, dual-track content license, takedown channel.
- `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, `SECURITY.md` — community infrastructure.
- `.github/ISSUE_TEMPLATE/` — bug report, feature request, new-master proposal, boundary-violation.
+12 -1
View File
@@ -6,6 +6,8 @@
</p>
<p align="center">
<a href="https://www.npmjs.com/package/master-skill"><img src="https://img.shields.io/npm/v/master-skill.svg?label=npm&color=cb3837" alt="npm version"></a>
<a href="https://www.npmjs.com/package/master-skill"><img src="https://img.shields.io/npm/dm/master-skill.svg?color=cb3837" alt="npm downloads"></a>
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT">
<img src="https://img.shields.io/badge/Python-3.9+-green.svg" alt="Python 3.9+">
<img src="https://img.shields.io/badge/Claude%20Code-Skill-purple.svg" alt="Claude Code Skill">
@@ -124,7 +126,7 @@
### 安装
**NPX 一键安装(推荐)**
**NPX 一键安装(推荐,无需常驻**
```bash
# 安装指定祖师
@@ -137,6 +139,15 @@ npx master-skill install --all
npx master-skill list
```
**全局安装(频繁使用 / 离线场景)**
```bash
npm install -g master-skill # 一次性装到 $PATH
master-skill install master-zhiyi # 之后省掉 npx,直接调
master-skill list
npm update -g master-skill # 升到下一个 minor / patch
```
**Claude Code(插件方式)**
```bash
+12 -1
View File
@@ -9,6 +9,8 @@
</p>
<p align="center">
<a href="https://www.npmjs.com/package/master-skill"><img src="https://img.shields.io/npm/v/master-skill.svg?label=npm&color=cb3837" alt="npm version"></a>
<a href="https://www.npmjs.com/package/master-skill"><img src="https://img.shields.io/npm/dm/master-skill.svg?color=cb3837" alt="npm downloads"></a>
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT">
<img src="https://img.shields.io/badge/Python-3.9+-green.svg" alt="Python 3.9+">
<img src="https://img.shields.io/badge/Claude%20Code-Skill-purple.svg" alt="Claude Code Skill">
@@ -125,13 +127,22 @@ This project is built out of respect for Buddhist traditions. All content is gen
### Installation
**NPX (recommended)**
**NPX (recommended, no global state)**
```bash
npx master-skill install --all # Install all 15 masters
npx master-skill list # List available masters
```
**Global install (frequent use / offline-friendly)**
```bash
npm install -g master-skill # Adds the binary to $PATH
master-skill install master-zhiyi # No more npx prefix
master-skill list
npm update -g master-skill # Pull next minor / patch
```
**Claude Code**
```bash