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 | 覆盖主题 |
|---|---|---|---|---|
| `mituo-yaojie-excerpts.md` | 《阿彌陀經要解》 | T37n1762 | [7934](https://fojin.app/texts/7934) | 六信、事持理持、一念心性、信愿行 |
| `jiaoguan-gangzong-excerpts.md` | 《教觀綱宗》 | T46n1939 | [T46n1939](https://fojin.app/texts/T46n1939) | 化仪化法四教、藏通别圆、圆教观法 |
## 引用规范
- 格式:`【《经名》卷NCBETA_ID】→ https://fojin.app/texts/{fojin_text_id}`
- 示例:`【《阿彌陀經要解》,T37n1762】→ https://fojin.app/texts/7934`
## 说明
- 所有片段节选自 CBETA 公开资料
- 用于教学引用,不代表完整经义
- 深入研究请查阅 FoJin 或 CBETA 全本
- 增补片段欢迎 PR
@@ -0,0 +1,34 @@
# 《教觀綱宗》关键片段
> 蕅益大师著。CBETA ID: T46n1939。FoJin: https://fojin.app/texts/T46n1939
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
## 化仪四教与化法四教
原典(节选):
> 佛之设教,有化仪四教,化法四教。化仪如药方,化法如药味。化仪者,顿、渐、秘密、不定也。化法者,藏、通、别、圆也。
**引用格式:**【《教觀綱宗》,T46n1939】→ https://fojin.app/texts/T46n1939
**教义要点:**
- 化仪四教:顿、渐、秘密、不定——说法方式
- 化法四教:藏、通、别、圆——教义层次
- 化仪如药方(怎么开),化法如药味(什么药)
- 此为天台判教体系的纲要总论
---
## 圆教观法
原典(节选):
> 圆教者,圆妙、圆融、圆足、圆顿。所谓"一色一香,无非中道"。观一念心即空即假即中,三观圆融,一心具足。
**引用格式:**【《教觀綱宗》,T46n1939】→ https://fojin.app/texts/T46n1939
**教义要点:**
- 圆教为天台判教之最高
- 一色一香无非中道
- 一心三观圆融,非次第
- 蕅益大师以此天台圆教为教理框架
@@ -0,0 +1,50 @@
# 《阿彌陀經要解》关键片段
> 蕅益大师著。CBETA ID: T37n1762。FoJin: https://fojin.app/texts/7934
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
## 六信(正宗分)
原典(节选):
> 信自者,信我现前一念之心,本非肉团,亦非缘影,竖穷横遍,当体即是阿弥陀佛。信他者,信释迦如来决无诳语,弥陀世尊决无虚愿,六方诸佛决无二言。信因者,信散乱称名,犹为成佛种子,况一心不乱,安得不生净土。信果者,信净土诸上善人,皆由念佛得生,如是因如是果。信事者,信极乐世界,实有国土依正主伴,非同庄生寓言。信理者,信十万亿土,实不出我今现前介尔一念心外。
**引用格式:**【《阿彌陀經要解》,T37n1762】→ https://fojin.app/texts/7934
**教义要点:**
- 六信为净土法门信愿之完整内涵
- 信自信他:自性弥陀与他方佛愿兼具
- 信因信果:因果不虚,念佛必生
- 信事信理:极乐真有,不出一念心外
- 六信具足方为真信,真信发愿必定往生
---
## 事持理持
原典(节选):
> 事持者,信有西方阿弥陀佛,而未达是心作佛是心是佛,但以决志愿求生故,如子忆母,无时暂忘。理持者,信西方阿弥陀佛,是我心具、是我心造,即以自心所具所造洪名,为系心之境,令不暂忘。
**引用格式:**【《阿彌陀經要解》,T37n1762】→ https://fojin.app/texts/7934
**教义要点:**
- 事持:未达理解但信愿真切,如子忆母
- 理持:了达心佛不二,称性念佛
- 事持即理持,理持不离事持
- 初学以事持入手,渐达理持
---
## 一念心性
原典(节选):
> 阿弥陀佛是法界藏身,故相好光明遍照法界。又佛既是法界藏身,故我一念心性,亦是法界藏身。既我心性与佛心性平等不二,然则托彼弥陀名号,显我自性弥陀。
**引用格式:**【《阿彌陀經要解》,T37n1762】→ https://fojin.app/texts/7934
**教义要点:**
- 现前一念心性竖穷三际、横遍十方
- 自性弥陀与他方弥陀不二
- 信自心性即是净土法门最深之理持