mirror of
https://github.com/xr843/Master-skill.git
synced 2026-05-10 05:16:25 +00:00
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:
@@ -0,0 +1,22 @@
|
||||
# 玄奘法师 Sources 索引
|
||||
|
||||
本目录为离线可用的经文片段,对应本 master 引用的核心经典。
|
||||
|
||||
## 收录文件
|
||||
|
||||
| 文件 | 来源经典 | CBETA | FoJin | 覆盖主题 |
|
||||
|---|---|---|---|---|
|
||||
| `chengweishi-excerpts.md` | 《成唯识论》 | T31n1585 | [44](https://fojin.app/texts/44) | 八识、三性三无性、转识成智、唯识观行四重 |
|
||||
| `xinjing-excerpts.md` | 《般若波罗蜜多心经》 | T08n0251 | [9](https://fojin.app/texts/9) | 色空不二、五蕴皆空、心无挂碍 |
|
||||
|
||||
## 引用规范
|
||||
|
||||
- 格式:`【《经名》卷N,CBETA_ID】→ https://fojin.app/texts/{fojin_text_id}`
|
||||
- 示例:`【《成唯识论》卷八,T31n1585】→ https://fojin.app/texts/44`
|
||||
|
||||
## 说明
|
||||
|
||||
- 所有片段节选自 CBETA 公开资料
|
||||
- 用于教学引用,不代表完整经义
|
||||
- 深入研究请查阅 FoJin 或 CBETA 全本
|
||||
- 增补片段欢迎 PR
|
||||
@@ -0,0 +1,67 @@
|
||||
# 《成唯识论》关键片段
|
||||
|
||||
> 护法等菩萨造,玄奘法师译。CBETA ID: T31n1585。FoJin: https://fojin.app/texts/44
|
||||
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
|
||||
|
||||
## 八识——能变识三种(卷一)
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 由假说我法,有种种相转。彼依识所变,此能变唯三:谓异熟、思量及了别境识。
|
||||
|
||||
**引用格式:**【《成唯识论》卷一,T31n1585】→ https://fojin.app/texts/44
|
||||
|
||||
**教义要点:**
|
||||
- 一切诸法皆是识之所变现,离识无别实境
|
||||
- 能变识三种:异熟(第八识)、思量(第七识)、了别境识(前六识)
|
||||
- 我法皆假说,实唯有识
|
||||
- 此为唯识学根本立场
|
||||
|
||||
---
|
||||
|
||||
## 三性(卷八)
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 由彼彼遍计,遍计种种物。此遍计所执,自性无所有。依他起自性,分别缘所生。圆成实于彼,常远离前性。
|
||||
|
||||
**引用格式:**【《成唯识论》卷八,T31n1585】→ https://fojin.app/texts/44
|
||||
|
||||
**教义要点:**
|
||||
- 遍计所执性 (parikalpita):凡夫妄执实我实法,情有理无
|
||||
- 依他起性 (paratantra):诸法依因缘和合而生,如幻如化
|
||||
- 圆成实性 (parinispanna):于依他起上远离遍计所执,显真如法性
|
||||
- 三性为唯识学理解万法之纲领
|
||||
|
||||
---
|
||||
|
||||
## 转识成智(卷十)
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 大圆镜智相应心品,谓此心品离诸分别,所缘行相微细难知,不妄不愚一切境相,性相清净离诸杂染。
|
||||
|
||||
**引用格式:**【《成唯识论》卷十,T31n1585】→ https://fojin.app/texts/44
|
||||
|
||||
**教义要点:**
|
||||
- 转前五识为成所作智 (krtyānusthāna-jñāna)
|
||||
- 转第六意识为妙观察智 (pratyaveksanā-jñāna)
|
||||
- 转第七末那识为平等性智 (samatā-jñāna)
|
||||
- 转第八阿赖耶识为大圆镜智 (ādarśa-jñāna)
|
||||
- 转识成智为唯识修行之究竟目标
|
||||
|
||||
---
|
||||
|
||||
## 唯识观行四重(卷九)
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 菩萨于定位,观影唯是心。义想既灭除,审观唯自想。如是住内识,知所取非有。次能取亦无,后触无所得。
|
||||
|
||||
**引用格式:**【《成唯识论》卷九,T31n1585】→ https://fojin.app/texts/44
|
||||
|
||||
**教义要点:**
|
||||
- 遣虚存实:遣遍计所执之虚,存依他起与圆成实之实
|
||||
- 舍滥留纯:舍外境之滥,留内识之纯
|
||||
- 摄末归本:摄末为本,归于阿赖耶识
|
||||
- 遣相证性:遣识之相分见分,证入圆成实性真如
|
||||
@@ -0,0 +1,34 @@
|
||||
# 《般若波罗蜜多心经》关键片段
|
||||
|
||||
> 玄奘法师译。CBETA ID: T08n0251。FoJin: https://fojin.app/texts/9
|
||||
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
|
||||
|
||||
## 色空不二
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 观自在菩萨,行深般若波罗蜜多时,照见五蕴皆空,度一切苦厄。舍利子,色不异空,空不异色,色即是空,空即是色。受想行识,亦复如是。
|
||||
|
||||
**引用格式:**【《心经》,T08n0251】→ https://fojin.app/texts/9
|
||||
|
||||
**教义要点:**
|
||||
- 五蕴皆空,度一切苦厄
|
||||
- 色空不二:空者遣遍计所执之空,不废依他起之有
|
||||
- 般若空性与唯识缘起非对立——中道圆融
|
||||
- 二百六十字为般若经典之精髓
|
||||
|
||||
---
|
||||
|
||||
## 心无挂碍
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 以无所得故,菩提萨埵依般若波罗蜜多故,心无挂碍,无挂碍故无有恐怖,远离颠倒梦想,究竟涅槃。
|
||||
|
||||
**引用格式:**【《心经》,T08n0251】→ https://fojin.app/texts/9
|
||||
|
||||
**教义要点:**
|
||||
- 无智亦无得,以无所得故
|
||||
- 般若智慧能破一切执著恐惧
|
||||
- 远离颠倒梦想,究竟涅槃
|
||||
- 玄奘西行传说诵心经降魔,体现般若破障之义
|
||||
Reference in New Issue
Block a user