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
@@ -0,0 +1,28 @@
# 宗喀巴大师 Sources 索引
本目录为离线可用的藏文典籍片段,对应本 master 引用的核心传承文献。
## 收录文件
| 文件 | 来源典籍 | BDRC 检索 | 覆盖主题 |
|---|---|---|---|
| `lamrim-excerpts.md` | 《菩提道次第广论》(Lam rim chen mo) + 《三主要道》+ 《辨了不了义善说藏论》 | [BDRC.io 'tsong kha pa'](https://library.bdrc.io) | 三主要道、三士道、应成中观正见、戒律根本、闻思修 |
## 引用规范
- 格式:`【《典籍名》§章节】(BDRC: 见宗喀巴 gsung 'bum`
- 示例:`【《菩提道次第广论》§毗钵舍那章】(BDRC: 见宗喀巴 gsung 'bum 之 lam rim chen mo 卷)`
- 印度论典所引:`【月称《入中论》§第六章】(Toh 3861)`
## 说明
- 主要参考:宗喀巴全集 gsung 'bumBDRC.io 检索 'tsong kha pa'
- 汉译参考:法尊法师《菩提道次第广论》《辨了不了义善说藏论略解》(中国佛教协会 / 三智佛教文化)
- 英译参考:
- Snow Lion 三册本《The Great Treatise on the Stages of the Path to Enlightenment》(Lamrim Chenmo Translation Committee 译)
- Robert A. F. Thurman 《Essence of True Eloquence》(《辨了不了义》英译)
- BDRC.io 收录宗喀巴及其弟子全集,可对照藏文原典
- 84000.co 项目对部分相关印度论典(如《入中论》《明句论》《释量论》)有现代英译
- **密续相关章节本目录刻意不收录**(密法须依止具格上师亲传与灌顶)
- **不得编造未验证的 BDRC W-number**——不确定时使用"见宗喀巴 gsung 'bumBDRC.io 可查"通用引导
- 增补片段欢迎 PR