Merge pull request #19 from xr843/docs/npm-publish-badges

docs: add npm publish badges + global-install instructions
This commit is contained in:
Tim Ren
2026-05-03 21:10:41 +08:00
committed by GitHub
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] ## [Unreleased]
### Added ### 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. - `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. - `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, `SECURITY.md` — community infrastructure.
- `.github/ISSUE_TEMPLATE/` — bug report, feature request, new-master proposal, boundary-violation. - `.github/ISSUE_TEMPLATE/` — bug report, feature request, new-master proposal, boundary-violation.
+12 -1
View File
@@ -6,6 +6,8 @@
</p> </p>
<p align="center"> <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/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/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"> <img src="https://img.shields.io/badge/Claude%20Code-Skill-purple.svg" alt="Claude Code Skill">
@@ -124,7 +126,7 @@
### 安装 ### 安装
**NPX 一键安装(推荐)** **NPX 一键安装(推荐,无需常驻**
```bash ```bash
# 安装指定祖师 # 安装指定祖师
@@ -137,6 +139,15 @@ npx master-skill install --all
npx master-skill list 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(插件方式)** **Claude Code(插件方式)**
```bash ```bash
+12 -1
View File
@@ -9,6 +9,8 @@
</p> </p>
<p align="center"> <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/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/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"> <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 ### Installation
**NPX (recommended)** **NPX (recommended, no global state)**
```bash ```bash
npx master-skill install --all # Install all 15 masters npx master-skill install --all # Install all 15 masters
npx master-skill list # List available 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** **Claude Code**
```bash ```bash