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,103 @@
# 《妙法蓮華經玄義》关键片段
> 智顗大师说,弟子灌顶记。CBETA ID: T1716。FoJin: https://fojin.app/texts/52
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
## 五重玄义(卷一上)
解经总纲——**释名、辨体、明宗、论用、判教相**。
**引用格式:**【《法華玄義》卷一上,T1716】→ https://fojin.app/texts/52
**教义要点:**
- 释名:解经题
- 辨体:明所依实相
- 明宗:显经之根本宗旨
- 论用:明经之度生功用
- 判教相:定经在五时八教之位
---
## 五时判教(卷十上)
原典要义:
> 佛一代時教,判為五時:華嚴時、阿含時(鹿苑)、方等時、般若時、法華涅槃時。如乳、酪、生酥、熟酥、醍醐五味次第。
**引用格式:**【《法華玄義》卷十上,T1716】→ https://fojin.app/texts/52
**教义要点:**
- **华严时**(21日):顿说大法,如日出先照高山
- **阿含时**(12年):鹿苑说四谛,为小根机
- **方等时**(8年):弹偏斥小,叹大褒圆
- **般若时**(22年):说诸法空相,淘汰执著
- **法华涅槃时**(8年):开权显实,会三归一
- 配乳、酪、生酥、熟酥、醍醐五味
---
## 八教(卷十上)
**化仪四教**(佛说法的方式):顿、渐、秘密、不定
**化法四教**(所说内容的深浅):藏、通、别、圆
**引用格式:**【《法華玄義》卷十上,T1716】→ https://fojin.app/texts/52
**教义要点:**
- 化仪如药方(怎么说)
- 化法如药味(说什么)
- 藏教:析空观,为钝根二乘
- 通教:体空观,通三乘
- 别教:次第三观,菩萨独修
- 圆教:一心三观,最上根机
---
## 三谛圆融(卷二下)
原典(节选):
> 即空即假即中,一空一切空,無假無中而不空;一假一切假,無空無中而不假;一中一切中,無空無假而不中。三諦圓融,不縱不橫。
**引用格式:**【《法華玄義》卷二下,T1716】→ https://fojin.app/texts/52
**教义要点:**
- 空、假、中三谛非前后次第
- 三谛互具互融、一即一切、一切即一
- 为天台教观的理论基石
---
## 开权显实(卷一上)
原典要义:
> 《法華》為眾經之王,開權顯實,會三歸一。
**引用格式:**【《法華玄義》卷一上,T1716】→ https://fojin.app/texts/52
**教义要点:**
- "权":方便权教(三乘、诸经权说)
- "实":究竟实理(一佛乘)
- "开":开除权教的局限
- "显":显发究竟实理
- 法华经之独特地位:纯圆独妙,会三归一
---
## 火宅三车(引法华经譬喻品)
**引用格式:**【《法華玄義》卷八下引《法華經》卷二,T1716/T0262】→ https://fojin.app/texts/52
**教义要点:**
- 长者以羊车(声闻)、鹿车(缘觉)、牛车(菩萨)诱子出火宅
- 出火宅后等赐大白牛车(一佛乘)
- 说明三乘是方便,一佛乘是究竟
---
## 使用本片段的约定
- 引用经文原典时,必须标注 `【《法華玄義》卷NT1716】` 并附 FoJin 链接
- 节选用于教学指引,不代表完整经义;深入研究请查阅 CBETA/FoJin 全本
- 若用户询问未在本片段覆盖的卷次,说明所知范围,并建议 FoJin 检索