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,124 @@
# 《米拉日巴道歌集》(十万歌集,mGur 'bum)选段
> 来源:BDRC W1KG14334mi la ras pa'i mgur 'bum)。汉译参考张澄基《密勒日巴大师全集》。
> 引用格式:`【《米拉日巴道歌集·{歌名}》】(BDRC: W1KG14334`
---
## §出离(暇满 · 无常 · 苦 · 业)
### 与亲妹白达之歌(节选要旨)
尊者妹妹白达劝其放弃苦行回归世俗,尊者以长歌回答:暇满人身比摩尼宝更难得,世间荣华如朝露如闪电;荨麻为食、单衣御寒,于具修法心者乃真乐;轮回繁华于具出离心者乃枷锁。
**主旨**:暇满难得 → 无常迅猛 → 业果不虚 → 轮回是苦 → 故当精进。
> 出处:【《米拉日巴道歌集·与亲妹白达之歌》】(BDRC: W1KG14334
### 山中无常之歌(节选要旨)
雪山一夜大雪,鸟兽无踪、草木伏倒。尊者以雪喻无常:今日花开如锦,明日凋落归尘;今日强健如山,明日病老如朽。修行者当观此无常生猛厉出离心。
**主旨**:以自然现象观察无常 → 引发猛厉出离心 → 唯修法可恃。
> 出处:【《米拉日巴道歌集·无常诸歌》】(BDRC: W1KG14334
---
## §大手印见地(明空双运 · 心性本来)
### 见地之歌(节选要旨)
心性本如虚空——无生、无灭、无来、无去;念头如虚空中之云——聚散无碍、本不离虚空体。**见**乃明空双运,不偏空不偏明;**修**乃自然任运、不刻意造作;**行**乃日常一切作为皆为道用;**果**即三身(法身、报身、化身)圆满本自具足,非新得之物。
**主旨**:见、修、行、果四分;明空双运;本自具足。
> 出处:【《米拉日巴道歌集·见地诸歌》】(BDRC: W1KG14334
### 觉受与证悟之辨
闭关中常生起三种觉受——**乐觉受**(身心轻安、禅悦)、**明觉受**(心境明朗、见闻清晰)、**无念觉受**(妄念暂止)。修行人易将此三误认为证悟。
尊者明示:
- 觉受会退,证悟不退
- 觉受随因缘生,证悟无因缘可坏
- 执著觉受是修行最大歧路之一
- 当觉受生起时,应**不执取、不排斥**,继续修持,待其自然过渡
**主旨**:警惕禅修副产品被误认为证悟;觉受 ≠ rtogs pa。
> 出处:【《米拉日巴道歌集·禅修觉受之歌》】(BDRC: W1KG14334
---
## §闭关与精进
### 闭关诸歌(节选要旨)
无人之处一座岩窟,胜过千座有名寺院;荨麻一握果腹之食,胜过百味轮回之筵;身披单棉布坐于雪山,胜过锦衣玉食陷于八风;闭关三年决定胜过散乱十年闻思。
**主旨**:实修高于名相;山中胜于寺院;少欲胜于供养丰饶。
> 出处:【《米拉日巴道歌集·闭关诸歌》】(BDRC: W1KG14334
### 与猎人贡波多杰之歌
猎人贡波多杰追逐一鹿至尊者山洞,见鹿与犬皆温驯不动,深生希有。尊者以一首长歌为说法:杀生造恶业、轮回无义、暇满难得;劝其放弃猎业、皈依三宝、行十善业。猎人当下舍弓断箭,皈依尊者门下。
**主旨**:业果不虚 → 轮回是苦 → 皈依三宝 → 行十善。
> 出处:【《米拉日巴道歌集·与猎人贡波多杰之歌》】(BDRC: W1KG14334
---
## §上师瑜伽
### 上师瑜伽诸歌(节选要旨)
尊者一切道歌中反复回到对玛尔巴上师的赞颂与思念。上师即三宝总集——身为僧、语为法、意为佛;离上师别求佛者,如离日月寻光明。
修上师瑜伽乃噶举派一切修持之根本:
- 见上师与佛无别(**信心**
- 上师之教言不打折扣依教奉行(**承事**)
- 不论顺逆境皆视为上师加持(**接受**)
- 临终唯念上师之恩(**回向**
**主旨**:上师即三宝总集;信心为解脱根本;噶举派"口耳传承"之命脉。
> 出处:【《米拉日巴道歌集·上师瑜伽诸歌》】(BDRC: W1KG14334
---
## §给在家学人的开示
### 与施主对话之歌(节选要旨)
不必人人都入山闭关。在家学人之要:
1. **皈依**:身心归依三宝
2. **菩提心**:发利益一切众生之愿
3. **业果**:行十善、断十恶
4. **念死无常**:每日修死随念
5. **依止上师**:寻具格上师,依教奉行
6. **少欲知足**:不为名利所缚
> "在家亦能修,关键不在身处何处,而在心住何法。"
**主旨**:在家学人不必苦行入山,但须于日常持戒、修心、依师、念无常。
> 出处:【《米拉日巴道歌集·与诸施主之歌》主旨】(BDRC: W1KG14334
---
## ⚠️ 本目录不收录之内容
以下内容**故意不在本目录收录**,凡询问者统一回应"须依止具格上师亲传与灌顶":
- 拙火(tummo)具体修法步骤、姿势、宝瓶气、明点运行
- 那洛六法(拙火、幻身、梦观、明光、迁识、中阴)任一法之具体修法
- 生起次第具体观想步骤、本尊咒语
- 圆满次第气脉明点修法细节
- 颇瓦法(迁识)具体修持
- 任何须灌顶方可修学之密续教法