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,174 @@
# 宗喀巴道次第论著选段
> 来源:宗喀巴全集 gsung 'bumBDRC.io 检索 'tsong kha pa')。
> 引用格式:`【《典籍名》§章节】(BDRC: 见宗喀巴 gsung 'bum`
> 印度论典所引:`【作者《典籍》§章】(Toh 编号)`
> 汉译参考:法尊法师本;英译参考:Snow Lion 三册本《The Great Treatise》。
---
## §三主要道(Lam gtso rnam gsum
宗喀巴对道次第的极简凝练——三句偈即概括一切大乘修学:
**① 出离心(nges 'byung**
- 厌离三界轮回之乐
- 不为现世利益、不为来世人天善趣,唯求解脱
- 修法:思维暇满难得 + 死无常 + 业果 + 轮回过患
**② 菩提心(byang chub kyi sems**
- 为度化一切众生而发愿成佛
- 修法:七因果(继承阿底峡)或自他相换(寂天传统)
- 配合菩萨戒受持
**③ 清净见(即应成中观正见,yang dag pa'i lta ba**
- 通达诸法无自性(ngo bo nyid med pa
- 缘起与空性不二
- 离一切戏论的中道见
**主旨**
> "出离心若不与菩提心连,则堕小乘;菩提心若不与清净见连,则不能断三界根本。三者具足,是为大乘行者。"
> 出处:【《三主要道》(Lam gtso rnam gsum)】(BDRC: 见宗喀巴 gsung 'bum
---
## §菩提道次第(Lam rim) — 三士道完整版
依阿底峡《菩提道灯论》扩展为详尽的三士道修行次第——
**共下士道**(与下士共有 — 一切学佛者皆需)
- 皈依三宝
- 念死无常(死期不定,唯法可恃)
- 思维三恶道苦
- 深信业果
- 行十善业、断十不善
**共中士道**(与中士共有)
- 思维总体轮回过患(三苦:苦苦、坏苦、行苦)
- 思维别别六道苦
- 修四谛、十二缘起
- 戒定慧三学
- 目标:求自身解脱
**上士道**(不与下中共)
- 修菩提心(七因果或自他相换)
- 受菩萨戒
- 行六波罗蜜(布施、持戒、忍辱、精进、禅定、智慧)
- 行四摄(布施、爱语、利行、同事)
- 修奢摩他(śamatha / 止)+ 毗钵舍那(vipaśyanā / 观)
- 修空性见(应成中观)
- 目标:成佛度众生
**密咒道**(建立于显教三士道基础上)
- 四部续:事部、行部、瑜伽部、无上瑜伽部
- ⚠️ 仅介绍续部分类与历史哲学;具体修法步骤本目录**不展开**
**主旨**:道次第如阶梯,越阶而上必倒。先具下士道功夫(皈依、业果、出离心),再修中士道(求自解脱),方堪上士道(菩提心、空性、密咒)。
> 出处:【《菩提道次第广论》(Lam rim chen mo)】(BDRC: 见宗喀巴 gsung 'bum 之 lam rim chen mo 卷)
---
## §应成中观正见(dbu ma thal 'gyur ba
宗喀巴对藏地中观见之最大贡献——精确分判**应成派**(Prāsaṅgikavs **自续派**Svātantrika):
### 应成派(以月称为主)
- 不许"自方相续因"svatantra-hetu
- 以"应成(thal 'gyur"——指出对方立场内在矛盾——为主要论证方式
- 破一切自性见,**包括"名言中有自性"**
- 缘起即是空性,空性即是缘起
### 自续派(清辨 Bhāvaviveka 等)
- 许"名言中有自相"
- 以独立的三相比量论证空性
### 宗喀巴判摄
**应成派为印度中观最究竟立场**——以《辨了不了义善说藏论》系统判摄佛说与各派论义之了义、不了义。
**核心教导**
- 缘起与空性不二——"缘起即是空性义,空性即是缘起义"
- 名言中亦无自性
- 无自性 ≠ 无;缘起假名安立法仍能起作用
- **空性见的标准**:能在听到"无自性"时同时确信缘起作用("名言不坏因果"),方为中观正见
**主旨**
> "见空性而不坏因果,是为正见;见空性而坏因果,是为断灭见;执缘起而不见空性,是为常见。中观应成派远离此二边。"
> 出处:【《辨了不了义善说藏论》(Drang nges legs bshad snying po)】+【《入中论善显密意疏》】(BDRC: 见宗喀巴 gsung 'bum
⚠️ **重要 disclaimer**:宗喀巴对应成 vs 自续之精确分判,是其本人贡献,**不可作为阿底峡时代立场或一般中观共许立场**。
---
## §戒律 — 三聚戒清净持守
**别解脱戒**(出家众)
- 根本说一切有部 mūlasarvāstivāda 律为标准
- 比丘 253 条戒、比丘尼 364 条戒
**菩萨戒**(大乘行者)
- 依《菩萨戒品》《集学论》《入行论》
- 18 根本戒 + 46 支分戒
**密咒戒**(金刚乘行者)
- 14 根本堕戒 + 8 支分戒
- 须经灌顶后受持
**根本立场**:破戒而修密,犹如有漏器盛甘露,自损损他。
宗喀巴入藏地佛教界整顿戒律之贡献,令藏传僧团重立别解脱戒持守之标准——此为格鲁派区别于其他派系的重要标志之一。
> 出处:【宗喀巴《事师五十颂释》《密集根本续疏》戒律章节】(BDRC: 见宗喀巴 gsung 'bum
---
## §毗钵舍那(vipaśyanā) — 观空性
《菩提道次第广论》末半部分(毗钵舍那章)是宗喀巴对空性观之系统教导,被誉为"道次第之精华"。
修学次第:
1. **生定解**thob pa'i nges shes):通过思维(观察修)于空性义生起决定胜解
2. **奢摩他基础**(zhi gnas):以一心专注培定(九住心)
3. **奢摩他+毗钵舍那双运**zhi lhag zung 'jug):以稳定的定力观察空性,生起出世间智慧
**主旨**:单修止易堕昏沉散乱,单修观无定难起决定胜解。**止观双运**方能断惑证真。
> 出处:【《菩提道次第广论》§毗钵舍那章(最后两卷)】(BDRC: 见宗喀巴 gsung 'bum 之 lam rim chen mo 卷末)
---
## §密续位置(仅介绍历史与哲学,不传修法)
宗喀巴本人传授四大本尊修法(密集 Guhyasamāja、胜乐 Cakrasaṃvara、大威德 Yamāntaka、时轮 Kālacakra),是格鲁派密续传承之根本上师。
四部续分类:
1. **事部**Kriyā):以外在仪轨为主
2. **行部**Caryā):内外平衡
3. **瑜伽部**Yoga):以内在瑜伽为主
4. **无上瑜伽部**Anuttarayoga):父续、母续、不二续
⚠️ **本目录刻意不收录**
- 任何续部具体修法步骤、姿势、咒语、观想要点
- 灌顶仪轨细节
- 生起次第具体观想
- 圆满次第气脉明点修法
- 颇瓦法(迁识)具体修持
凡询问者统一回应:
> "此法门须具格上师亲传与灌顶,不可由文字或网络传授。请亲近善知识。"
> 出处:【《密宗道次第广论》(sNgags rim chen mo)】(BDRC: 见宗喀巴 gsung 'bum 之 sngags rim chen mo 卷;与上条 lam rim 非同一 W-number
---
## ⚠️ 引用警示
- 本目录所收录皆为宗喀巴论著主旨摘要,非藏文原典逐字翻译
- 引用时应注明"主旨"或具体章节(《广论》分共下、共中、上士、奢摩他、毗钵舍那五大段)
- 凡引"宗喀巴云"必须能在 gsung 'bum 追溯具体章节
- 涉及具体密续仪轨之段落本目录刻意不收录
- **不得编造未验证的 BDRC W-number**——不确定时使用"见宗喀巴 gsung 'bum"通用引导
- 深入研究请查阅 BDRC.io 或法尊法师 / Snow Lion 译本