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,23 @@
|
||||
# 印光大师 Sources 索引
|
||||
|
||||
本目录为离线可用的经文片段,对应本 master 引用的核心经典。
|
||||
|
||||
## 收录文件
|
||||
|
||||
| 文件 | 来源经典 | CBETA | FoJin | 覆盖主题 |
|
||||
|---|---|---|---|---|
|
||||
| `wenchao-excerpts.md` | 《印光法師文鈔》 | X62n1182/X62n1183 | [X62n1182](https://fojin.app/texts/X62n1182) | 信愿行三资粮、摄耳谛听念佛、带业往生横超 |
|
||||
| `yihanbianfu-excerpts.md` | 《一函遍復》 | X62n1183 | [X62n1183](https://fojin.app/texts/X62n1183) | 敦伦尽分、闲邪存诚、因果教育 |
|
||||
| `jingtu-sanjing-excerpts.md` | 净土三经 | T12n0366/T12n0360 | [20](https://fojin.app/texts/20) / [18](https://fojin.app/texts/18) | 持名念佛、第十八愿、一心不乱 |
|
||||
|
||||
## 引用规范
|
||||
|
||||
- 格式:`【《经名》卷N,CBETA_ID】→ https://fojin.app/texts/{fojin_text_id}`
|
||||
- 示例:`【《印光法師文鈔正編》卷一,X62n1182】→ https://fojin.app/texts/X62n1182`
|
||||
|
||||
## 说明
|
||||
|
||||
- 所有片段节选自 CBETA 公开资料
|
||||
- 用于教学引用,不代表完整经义
|
||||
- 深入研究请查阅 FoJin 或 CBETA 全本
|
||||
- 增补片段欢迎 PR
|
||||
@@ -0,0 +1,32 @@
|
||||
# 净土三经关键片段
|
||||
|
||||
> 本文件收录净土三经的核心片段,为印光大师教学常引经典。
|
||||
> 完整经文请访问 FoJin 或 CBETA。
|
||||
|
||||
## 《佛說阿彌陀經》(T12n0366)
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 舍利弗,若有善男子善女人,闻说阿弥陀佛,执持名号,若一日、若二日、若三日、若四日、若五日、若六日、若七日,一心不乱。其人临命终时,阿弥陀佛与诸圣众现在其前。是人终时心不颠倒,即得往生阿弥陀佛极乐国土。
|
||||
|
||||
**引用格式:**【《佛說阿彌陀經》,T12n0366】→ https://fojin.app/texts/20
|
||||
|
||||
**教义要点:**
|
||||
- 持名念佛为净土正行
|
||||
- 一心不乱为念佛功夫目标
|
||||
- 临终佛与圣众来迎
|
||||
|
||||
---
|
||||
|
||||
## 《佛說無量壽經》(T12n0360)
|
||||
|
||||
原典(节选,第十八愿):
|
||||
|
||||
> 设我得佛,十方众生,至心信乐,欲生我国,乃至十念,若不生者,不取正觉。唯除五逆,诽谤正法。
|
||||
|
||||
**引用格式:**【《佛說無量壽經》,T12n0360】→ https://fojin.app/texts/18
|
||||
|
||||
**教义要点:**
|
||||
- 阿弥陀佛第十八愿——念佛往生愿
|
||||
- 至心信乐、欲生彼国、乃至十念
|
||||
- 此为净土法门最根本之依据
|
||||
@@ -0,0 +1,50 @@
|
||||
# 《印光法師文鈔》关键片段
|
||||
|
||||
> 印光大师著。CBETA ID: X62n1182 (正编), X62n1183 (续编)。FoJin: https://fojin.app/texts/X62n1182
|
||||
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
|
||||
|
||||
## 信愿行三资粮
|
||||
|
||||
原典(节选,正编卷一·与大兴善寺体安和尚书):
|
||||
|
||||
> 念佛法门,以信愿行三法为宗。信则信我此世界是苦,信极乐世界是乐,信我是业力凡夫决定不能仗自力断惑证真了生脱死,信阿弥陀佛有大誓愿若众生念佛求生净土必垂慈接引。愿则厌离娑婆欣求极乐。行则至诚恳切常念南无阿弥陀佛,时刻不忘,朝暮定课,闲忙不废。
|
||||
|
||||
**引用格式:**【《印光法師文鈔正編》卷一,X62n1182】→ https://fojin.app/texts/X62n1182
|
||||
|
||||
**教义要点:**
|
||||
- 信愿行为净土法门三资粮,缺一不可
|
||||
- 信愿尤为重要,为净土之纲领
|
||||
- 行以持名念佛为正行
|
||||
- 得生与否全由信愿之有无
|
||||
|
||||
---
|
||||
|
||||
## 念佛方法——摄耳谛听
|
||||
|
||||
原典(节选,正编卷一):
|
||||
|
||||
> 念佛之法,各随所好。或小声念,或默念。除多人同念用引磬外,但宜心念,不宜口念。无论声念默念,皆须念从心起,声从口出,音从耳入。心口念得清清楚楚,耳根听得清清楚楚。如是摄心,妄念自息。
|
||||
|
||||
**引用格式:**【《印光法師文鈔正編》卷一,X62n1182】→ https://fojin.app/texts/X62n1182
|
||||
|
||||
**教义要点:**
|
||||
- 念从心起、声从口出、音从耳入
|
||||
- 都摄六根,净念相继
|
||||
- 摄耳谛听为印光大师最推崇的念佛方法
|
||||
- 心口念清楚、耳根听清楚,妄念自息
|
||||
|
||||
---
|
||||
|
||||
## 带业往生与横超
|
||||
|
||||
原典(节选,正编卷一·复邓伯诚居士书):
|
||||
|
||||
> 净土法门,乃如来一代时教中之特别法门。末法众生根钝障深,仗自力断惑证真,比登天还难。仗佛慈力,带业往生,则如风帆扬于顺水,更加橹棹之功,不离当念即登彼岸。
|
||||
|
||||
**引用格式:**【《印光法師文鈔正編》卷一,X62n1182】→ https://fojin.app/texts/X62n1182
|
||||
|
||||
**教义要点:**
|
||||
- 净土为特别法门,异于通途法门
|
||||
- 仗佛慈力,虽未断惑亦可往生
|
||||
- 横超三界,不同竖出之难
|
||||
- 末法众生最契机之法门
|
||||
@@ -0,0 +1,33 @@
|
||||
# 《一函遍復》关键片段
|
||||
|
||||
> 印光大师著,出自《印光法師文鈔續編》。CBETA ID: X62n1183。FoJin: https://fojin.app/texts/X62n1183
|
||||
> 本文件为教学引用用,节选自 CBETA 公开资料。完整经文请访问 FoJin 或 CBETA。
|
||||
|
||||
## 敦伦尽分、闲邪存诚
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 敦伦尽分,闲邪存诚,诸恶莫作,众善奉行。正心诚意,以立人道之本。然后以此回向净土,求生西方。在家人第一须尽各人本分。如父慈子孝,兄友弟恭,夫和妇顺。
|
||||
|
||||
**引用格式:**【《印光法師文鈔續編》·一函遍復,X62n1183】→ https://fojin.app/texts/X62n1183
|
||||
|
||||
**教义要点:**
|
||||
- 学佛首须敦伦尽分——尽好世间本分
|
||||
- 闲邪存诚——防邪念、保诚敬
|
||||
- 不可借修行之名废弃人伦职责
|
||||
- 世间善行为念佛之助行
|
||||
|
||||
---
|
||||
|
||||
## 因果为入道之基
|
||||
|
||||
原典(节选):
|
||||
|
||||
> 因果者,圣人治天下、佛度众生之大权也。若人人深信因果,则人心自善,风俗自淳,唐虞之治不难复见。
|
||||
|
||||
**引用格式:**【《印光法師文鈔續編》·一函遍復,X62n1183】→ https://fojin.app/texts/X62n1183
|
||||
|
||||
**教义要点:**
|
||||
- 因果为佛法入门之基础
|
||||
- 不信因果则一切善法无从建立
|
||||
- 印光大师一生极力提倡因果教育
|
||||
Reference in New Issue
Block a user