Files
xianren 3f81cbb955 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>
2026-05-02 20:43:36 +08:00

69 lines
2.8 KiB
Markdown

# 《华严一乘教义分齐章》关键片段
> 法藏大师著。CBETA ID: T45n1866。FoJin: https://fojin.app/texts/8038
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
## 四法界(卷四)
原典(节选):
> 初事法界,谓诸众生色心等法,一一差别,各有分齐,故名事法界。二理法界,谓诸众生色心等法,虽有差别,而同一体性,故名理法界。三理事无碍法界,谓理由事显,事揽理成,理事互融,故名理事无碍法界。四事事无碍法界,谓诸事法,称性融通,一一事中,一切理事无碍,故名事事无碍法界。
**引用格式:**【《华严一乘教义分齐章》卷四,T45n1866】→ https://fojin.app/texts/8038
**教义要点:**
- 四法界为华严宗统摄一切的框架
- 事法界:差别万象各有自相
- 理法界:真如平等一味无差
- 理事无碍:理由事显,事揽理成
- 事事无碍:一切现象圆融无碍,为华严最究竟境界
---
## 十玄门(卷四)
原典(节选):
> 一同时具足相应门,二广狭自在无碍门,三一多相容不同门,四诸法相即自在门,五隐密显了俱成门,六微细相容安立门,七因陀罗网法界门,八托事显法生解门,九十世隔法异成门,十主伴圆明具德门。
**引用格式:**【《华严一乘教义分齐章》卷四,T45n1866】→ https://fojin.app/texts/8038
**教义要点:**
- 十玄门揭示法界缘起的十种深义
- 说明一切法之间相即相入、重重无尽
- 因陀罗网法界门:如帝释珠网,珠珠互映
- 十玄门为理解华严法界缘起的核心框架
---
## 六相圆融(卷四)
原典(节选):
> 总相者,一含多德故;别相者,多德非一故;同相者,多义不相违,同成一总故;异相者,多义相望,各各异故;成相者,由此诸缘起成故;坏相者,诸义各住自法,不移动故。
**引用格式:**【《华严一乘教义分齐章》卷四,T45n1866】→ https://fojin.app/texts/8038
**教义要点:**
- 一切缘起法皆具总、别、同、异、成、坏六相
- 六相互融,非一非异
- 如一栋房屋:合成一屋为总,梁柱各异为别
- 六相圆融说明缘起法的完整面貌
---
## 五教判教(卷一)
原典(节选):
> 圣教万差,要唯有五:一小乘教,二大乘始教,三大乘终教,四顿教,五圆教。
**引用格式:**【《华严一乘教义分齐章》卷一,T45n1866】→ https://fojin.app/texts/8038
**教义要点:**
- 小乘教:声闻缘觉之教
- 大乘始教:分相始教(唯识)与空始教(般若)
- 大乘终教:如来藏真常之教
- 顿教:不立文字,直显真性
- 圆教:法界缘起,事事无碍,唯华严为别教一乘圆教