feat(v0.6): namespace all 14 master slash commands under /master-<slug> prefix

Slash command discoverability cleanup. Claude Code users typically have
50+ skills installed; bare-word commands like /atisha and /zhiyi got
scattered across the /-completion list. v0.6 prefixes all 14 master
slash commands with master- so they cluster under /m<tab> and clearly
signal "this is a Master-skill master skill".

Scope of rename
---------------
* Slash commands: /zhiyi → /master-zhiyi, /huineng → /master-huineng,
  ... all 14 affected.
* Directory layout: prebuilt/<slug>/ → prebuilt/master-<slug>/ for all
  14 masters (git mv preserves history).
* Frontmatter: each prebuilt/master-<slug>/SKILL.md updates `name:` to
  master-<slug>.
* compare-masters and create-master meta-skills are intentionally
  unchanged — they're already prefixed by their nature, and
  /master-compare-masters would be doublespeak.

Decoupling: fojin.app/chat is NOT affected
------------------------------------------
The fojin web frontend's master dropdown uses bare slug IDs (atisha,
huineng, ...) and is already grouped under "法师模式" in its UI. Backend
master_profiles.py keeps `id="atisha"` etc. unchanged. No fojin-side
migration required. The two surfaces (Claude Code slash + fojin
dropdown) are now formally decoupled by design, not coincidence.

Compatibility
-------------
* NPX installer accepts both forms: `npx master-skill install zhiyi`
  (short) and `install master-zhiyi` (full) both resolve to the same
  prebuilt/master-zhiyi/ source. Install destination is always
  ~/.claude/skills/master-<slug>/. Backward-compatible uninstall
  handles legacy non-prefixed installs (~/.claude/skills/zhiyi/).
* The cli.mjs already used `master-${name}` for install destinations
  (since v0.3 NPX installer was added), so existing v0.4/v0.5 NPX
  users were already getting the prefix in skills/ — only the source
  prebuilt/ layout and slash commands change in v0.6.

Files updated
-------------
* 14 directories renamed (28 files moved, 0 content changes).
* 14 SKILL.md frontmatter `name:` fields.
* prebuilt/compare/SKILL.md: 43 slug references updated to prefixed form.
* bin/cli.mjs: resolveMasterDir helper accepts both short and full;
  cmdInstall and cmdUninstall handle legacy paths.
* .github/workflows/validate-and-test.yml: fidelity-smoke MASTERS
  rotation array updated to all 14 prefixed names (was 8 hardcoded
  汉传 only — now properly rotates across the full set).
* scripts/{validate,cite,query,test-fidelity}.py: --master arg help
  text examples.
* README.md + README_EN.md: situational guidance table, install
  snippets, master cards. New v0.6 release banner.
* SKILL.md (project-level) preset list with new slash names.
* ETHICS.md Tier table slug references (4).
* All plugin manifests bumped 0.5.0 → 0.6.0 with description noting
  the /master-<slug> invocation pattern.
* CHANGELOG.md: [0.6.0] section with breaking-change notice and
  migration commands for existing NPX users.

Validation
----------
* python scripts/validate.py --strict           ✓ 15 masters pass
* python scripts/validate-fidelity.py           ✓ all valid
* python scripts/test-fidelity.py --all --dry-run  ✓
* pytest tests/                                  ✓ 31 passed, 6 skipped
* node bin/cli.mjs list                          ✓ shows all 14 with
                                                   master- prefix
* node bin/cli.mjs install zhiyi                 ✓ resolves to
                                                   prebuilt/master-zhiyi/
* node bin/cli.mjs install master-zhiyi          ✓ resolves to same

Migration for existing v0.4/v0.5 users
--------------------------------------
    npx master-skill@0.5 uninstall zhiyi huineng xuanzang ...
    # OR: rm -rf ~/.claude/skills/{zhiyi,huineng,...}
    npx master-skill@latest install --all

Then start a new Claude Code session; the new slash commands are
/master-zhiyi, /master-huineng, etc.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
xianren
2026-05-02 20:39:47 +08:00
parent 5d68deb963
commit 3f81cbb955
128 changed files with 278 additions and 188 deletions
+22
View File
@@ -0,0 +1,22 @@
# 虚云老和尚 Sources 索引
本目录为离线可用的经文片段,对应本 master 引用的核心经典。
## 收录文件
| 文件 | 来源经典 | CBETA | FoJin | 覆盖主题 |
|---|---|---|---|---|
| `lengyanjing-excerpts.md` | 《大佛頂首楞嚴經》 | T19n0945 | [65](https://fojin.app/texts/65) | 七处征心、四种清净明诲、心性与持戒 |
| `tanjing-excerpts.md` | 《六祖大師法寶壇經》 | T48n2008 | [58](https://fojin.app/texts/58) | 何期自性、定慧一体、见性成佛 |
## 引用规范
- 格式:`【《经名》卷NCBETA_ID】→ https://fojin.app/texts/{fojin_text_id}`
- 示例:`【《大佛頂首楞嚴經》卷一,T19n0945】→ https://fojin.app/texts/65`
## 说明
- 所有片段节选自 CBETA 公开资料
- 用于教学引用,不代表完整经义
- 深入研究请查阅 FoJin 或 CBETA 全本
- 增补片段欢迎 PR
@@ -0,0 +1,33 @@
# 《大佛頂首楞嚴經》关键片段
> 般剌蜜帝译。CBETA ID: T19n0945。FoJin: https://fojin.app/texts/65
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
## 七处征心(卷一)
原典(节选):
> 阿难,汝今欲知奢摩他路,愿出生死,今复问汝:即时如来举金色臂,屈五轮指,语阿难言,汝今见不?阿难言见。佛言,汝何所见?阿难言,我见如来举臂屈指为光明拳,耀我心目。佛言,汝将谁见?
**引用格式:**【《大佛頂首楞嚴經》卷一,T19n0945】→ https://fojin.app/texts/65
**教义要点:**
- 佛七处征心,阿难七处答均非
- 心不在内、不在外、不在中间
- 引导破除对心的执着,直指见性
- 虚云老和尚常引此经说明参禅须直究心源
---
## 四种清净明诲(卷六)
原典(节选):
> 汝修三昧,本出尘劳,淫心不除,尘不可出。纵有多智禅定现前,如不断淫必落魔道。
**引用格式:**【《大佛頂首楞嚴經》卷六,T19n0945】→ https://fojin.app/texts/65
**教义要点:**
- 四种清净明诲:断淫、断杀、断偷、断妄
- 持戒为修禅之根本前提
- 虚云老和尚以此为据强调"修行第一要紧持戒"
@@ -0,0 +1,32 @@
# 《六祖大師法寶壇經》关键片段
> CBETA ID: T48n2008。FoJin: https://fojin.app/texts/58
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
## 何期自性(行由品)
原典(节选):
> 何期自性本自清净,何期自性本不生灭,何期自性本自具足,何期自性本无动摇,何期自性能生万法。
**引用格式:**【《六祖大師法寶壇經》行由品,T48n2008】→ https://fojin.app/texts/58
**教义要点:**
- 五个"何期自性"概括禅宗见地
- 自性清净、不生灭、本具足、无动摇、能生万法
- 虚云老和尚以六祖见性偈勉励学人参禅
---
## 定慧一体(定慧品)
原典(节选):
> 善知识,我此法门,以定慧为本。大众勿迷,言定慧别。定慧一体,不是二。定是慧体,慧是定用。即慧之时定在慧,即定之时慧在定。
**引用格式:**【《六祖大師法寶壇經》定慧品,T48n2008】→ https://fojin.app/texts/58
**教义要点:**
- 定慧不二,如灯光一体
- 不可偏修定或偏修慧
- 虚云老和尚承此旨,强调动静皆修