mirror of
https://github.com/xr843/Master-skill.git
synced 2026-05-10 13:26: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 | 覆盖主题 |
|
||||
|---|---|---|---|---|
|
||||
| `tanjing-excerpts.md` | 《六祖大师法宝坛经》 | T48n2008 | [58](https://fojin.app/texts/58) | 直指见性、顿悟、无念无相无住、定慧一体、烦恼即菩提 |
|
||||
| `jingang-excerpts.md` | 《金刚般若波罗蜜经》 | T08n0235 | [7](https://fojin.app/texts/7) | 应无所住、凡所有相皆是虚妄、一切有为法 |
|
||||
|
||||
## 引用规范
|
||||
|
||||
- 格式:`【《经名》{品名},CBETA_ID】→ https://fojin.app/texts/{fojin_text_id}`
|
||||
- 示例:`【《六祖坛经·般若品》,T48n2008】→ https://fojin.app/texts/58`
|
||||
|
||||
## 说明
|
||||
|
||||
- 所有片段节选自 CBETA 公开资料
|
||||
- 用于教学引用,不代表完整经义
|
||||
- 深入研究请查阅 FoJin 或 CBETA 全本
|
||||
- 增补片段欢迎 PR
|
||||
@@ -0,0 +1,47 @@
|
||||
# 《金刚般若波罗蜜经》关键片段
|
||||
|
||||
> 鸠摩罗什译。CBETA ID: T08n0235。FoJin: https://fojin.app/texts/7
|
||||
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
|
||||
|
||||
## 应无所住而生其心
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 不应住色生心,不应住声香味触法生心,应无所住而生其心。
|
||||
|
||||
**引用格式:**【《金刚经》,T08n0235】→ https://fojin.app/texts/7
|
||||
|
||||
**教义要点:**
|
||||
- 慧能闻此句豁然大悟,为禅宗传法之关键
|
||||
- 不住于色声香味触法而生清净心
|
||||
- 此即般若观照之要——于一切法不执不取
|
||||
|
||||
---
|
||||
|
||||
## 凡所有相皆是虚妄
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 凡所有相,皆是虚妄。若见诸相非相,则见如来。
|
||||
|
||||
**引用格式:**【《金刚经》,T08n0235】→ https://fojin.app/texts/7
|
||||
|
||||
**教义要点:**
|
||||
- 一切相皆因缘所生,无有自性
|
||||
- 不执著于相,方见真如实相
|
||||
- 与慧能"无相"纲领一脉相承
|
||||
|
||||
---
|
||||
|
||||
## 一切有为法
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 一切有为法,如梦幻泡影,如露亦如电,应作如是观。
|
||||
|
||||
**引用格式:**【《金刚经》,T08n0235】→ https://fojin.app/texts/7
|
||||
|
||||
**教义要点:**
|
||||
- 以六喻说明有为法之空性本质
|
||||
- 了知此理即是般若观照的起点
|
||||
- 慧能以此经为印心之经
|
||||
@@ -0,0 +1,81 @@
|
||||
# 《六祖大师法宝坛经》关键片段
|
||||
|
||||
> 慧能大师说法,弟子法海记录。CBETA ID: T48n2008。FoJin: https://fojin.app/texts/58
|
||||
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
|
||||
|
||||
## 直指见性(行由品)
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 菩提自性,本来清净,但用此心,直了成佛。
|
||||
|
||||
**引用格式:**【《六祖坛经·行由品》,T48n2008】→ https://fojin.app/texts/58
|
||||
|
||||
**教义要点:**
|
||||
- 一切众生皆有佛性,佛性即自性
|
||||
- 自性本自具足,不假外求
|
||||
- 见性者即见自心本来面目,当下即佛
|
||||
- "何期自性本自清净,本不生灭,本自具足,本无动摇,能生万法"
|
||||
|
||||
---
|
||||
|
||||
## 顿悟(般若品)
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 不悟即佛是众生,一念悟时众生是佛。故知万法尽在自心,何不从自心中顿见真如本性。
|
||||
|
||||
**引用格式:**【《六祖坛经·般若品》,T48n2008】→ https://fojin.app/texts/58
|
||||
|
||||
**教义要点:**
|
||||
- 迷来经累劫,悟则刹那间
|
||||
- 法无顿渐,人有利钝
|
||||
- 悟与迷只在一念之间
|
||||
- 万法尽在自心,从自心顿见真如本性
|
||||
|
||||
---
|
||||
|
||||
## 三大纲领(定慧品)
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 我此法门,从上以来,先立无念为宗,无相为体,无住为本。无相者,于相而离相;无念者,于念而无念;无住者,人之本性。
|
||||
|
||||
**引用格式:**【《六祖坛经·定慧品》,T48n2008】→ https://fojin.app/texts/58
|
||||
|
||||
**教义要点:**
|
||||
- 无念:于念而不念,于一切境上不染,非断灭
|
||||
- 无相:于相而离相,不执著一切外在形相
|
||||
- 无住:念念不住,于诸法上不起执著停留
|
||||
- 此三纲领为慧能禅法之总纲
|
||||
|
||||
---
|
||||
|
||||
## 定慧一体(定慧品)
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 定慧一体,不是二。定是慧体,慧是定用。即慧之时定在慧,即定之时慧在定。
|
||||
|
||||
**引用格式:**【《六祖坛经·定慧品》,T48n2008】→ https://fojin.app/texts/58
|
||||
|
||||
**教义要点:**
|
||||
- 定与慧如灯与光,灯是光之体,光是灯之用
|
||||
- 不可说先定后慧、先慧后定
|
||||
- 定慧不二,一体双运
|
||||
|
||||
---
|
||||
|
||||
## 般若品——烦恼即菩提
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 凡夫即佛,烦恼即菩提。前念迷即凡夫,后念悟即佛。前念著境即烦恼,后念离境即菩提。
|
||||
|
||||
**引用格式:**【《六祖坛经·般若品》,T48n2008】→ https://fojin.app/texts/58
|
||||
|
||||
**教义要点:**
|
||||
- 烦恼与菩提不是两个对立的东西
|
||||
- 迷与悟只在一念之间
|
||||
- 不在断烦恼上求解脱,而在转念上见真如
|
||||
- 自性本来清净,本自具足,能生万法
|
||||
Reference in New Issue
Block a user