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
@@ -0,0 +1,164 @@
# 阿姜查 — 教义体系
## 传承与背景
阿姜查(Ajahn Chah Subhaddo, 19181992),泰国乌汶府人,泰国森林禅林派(Thai Forest Tradition)最具国际影响力的禅师之一。
少年时代短期出家,二十岁正式受具足戒,后于泰国东北部多年游方杜多行(dhutaṅga,头陀苦行),参访多位森林禅师。最重要的师承是**阿姜满**Ajahn Mun Bhuridatto, 18701949)的法系——经由阿姜满的弟子阿姜邵(Ajahn Sao Kantasīlo)与阿姜通拉(Ajahn Tongrat)传授。
1954 年回乌汶府家乡附近建立**巴蓬寺**Wat Pah Pong, "巴蓬丛林寺"),以严格持守巴利戒律(Vinaya)、日常托钵、森林闭关、四念处禅修为日常生活。其朴素直接的英语开示(透过通译)吸引大批西方求法者,由阿姜苏美多(Ajahn Sumedho)等弟子建立海外分院(无畏山林、阿马罗筏底、奇泰罗等),将森林禅林派传至欧美。
法脉:阿姜满(Ajahn Mun, 18701949)→ 阿姜邵 + 阿姜通拉 → **阿姜查** → 阿姜苏美多、阿姜帕沙诺、阿姜阿马罗等
> 出处:Ajahn Pasanno, *Stillness Flowing: The Life and Teachings of Ajahn Chah* (Aruna Publications)
## 核心教导
### 1. 戒、定、慧三学不可分(Sīla, Samādhi, Paññā)
阿姜查反复教导:戒、定、慧是同一棵树的根、干、叶——不可割裂选择。一些人想"只修慧不要戒"或"只打坐不持戒"是不可能的。戒律不是束缚,是平静心的基础。
> "戒、定、慧不是三件事。是同一颗心在不同处之运用。"
> 出处:【《Food for the Heart》§Sīla, Samādhi, Paññā】
巴利经典依据:
> 《AN 3.88 / Sikkhā Sutta》—— 三增上学:增上戒学、增上心学、增上慧学
> 出处:【AN 3.88 / Sikkhā Sutta】(SuttaCentral
### 2. 四念处与正念 (Satipaṭṭhāna / Sati)
森林禅林派以《MN 10 / Satipaṭṭhāna Sutta》为禅修根本——观身、受、心、法。阿姜查教导**正念不是控制**,而是**清楚地知道**当下身心发生什么;不是制造一个特殊状态,而是在任何状态中保持觉知。
正念之要:
- 不评判(noting without judging
- 不抓取(noting without grasping
- 不排斥(noting without aversion
- 持续(continuity)—行住坐卧皆维持
> 出处:【《MN 10 / Satipaṭṭhāna Sutta》】(SuttaCentral+ 【《Food for the Heart》§Right Practice】
### 3. 出入息念 (Ānāpānasati)
源自《MN 118 / Ānāpānasati Sutta》。最简单也最深的禅修——以呼吸为安住对象,培育定(samādhi);当心稳定后,以同一觉知观察身心三法印(无常、苦、无我),转入毗婆舍那(vipassanā)。
阿姜查的教导特点:
- 不强调追求禅那(jhāna)层次,强调**稳定的正念**
- 出现禅悦或异象时,不抓取、不深究——只继续观察
- 散乱时不沮丧,知道散乱本身就是观察对象
- "妄念多"不是问题,"想消灭妄念"才是问题
> 出处:【《MN 118 / Ānāpānasati Sutta》】+ 【《A Still Forest Pool》§Meditation】
### 4. 三法印 (Tilakkhaṇa) — 无常 · 苦 · 无我
巴利经典反复教导:一切有为法皆**无常**(anicca)、一切无常法皆**苦**(dukkha)、一切苦法皆**无我**(anatta)。阿姜查以日常生活示之:
- 无常:所爱者必离、所得者必失、所成者必坏——不是悲观,是事实
- 苦:执取无常法为常、为我所,即是苦的根源
- 无我:没有一个永恒不变的"我"在控制身心,五蕴(色受想行识)皆缘起缘灭
> 出处:【《SN 22.59 / Anattalakkhaṇa Sutta》】(SuttaCentral)—— 五蕴非我经
### 5. 放下(Letting Go / nekkhamma
阿姜查最广为人知的一句话之一:
> "如果你少放下一点,你就少一点苦;如果你多放下一点,你就多一点平静;如果你完全放下,你就完全平静。"
> 出处:【《Food for the Heart》§Letting Go】(依此主题广为流传,Wisdom Publications 译本所辑)
放下不是抛弃、不是逃避,是**不抓取**——对感官对境如其本然觉知,不黏着、不排斥。
### 6. 中道 (Majjhima Paṭipadā)
源自《SN 56.11 / Dhammacakkappavattana Sutta》—— 佛陀初转法轮所说,离苦行与纵欲二边。阿姜查在森林禅林派中以严格持戒与朴素生活示范中道——既不追求享乐,也不刻意自虐。中道是**对当下情境最适当的回应**,不是一个固定的规则。
> 出处:【《SN 56.11 / Dhammacakkappavattana Sutta》】(SuttaCentral
## 精通经典与开示集
| 文献 | 说明 |
|------|------|
| 巴利三藏(Sutta Piṭaka)| 长部、中部、相应部、增支部、小部 — SuttaCentral 全文索引 |
| 《Satipaṭṭhāna Sutta》(MN 10) | 四念处经,森林禅林派禅修根本 |
| 《Ānāpānasati Sutta》(MN 118 | 出入息念经,禅修方法源头 |
| 《Anattalakkhaṇa Sutta》(SN 22.59 | 五蕴非我经 |
| 《Dhammacakkappavattana Sutta》(SN 56.11 | 转法轮经,四圣谛与中道 |
| 《Visuddhimagga》(《清净道论》) | 觉音尊者所造,上座部止观教学之百科全书(参考性引用,非阿姜查时代直接所依)|
| 《Food for the Heart》 | Wisdom Publications 英译开示完整版 |
| 《A Still Forest Pool》 | Jack Kornfield 与 Paul Breiter 编辑英译选集 |
| 《Living Dhamma》 | 巴蓬寺正式英译开示集 |
| 《Stillness Flowing》 | Ajahn Pasanno 编阿姜查传记,Aruna Publications |
## 修行方法
### 初学者入门
1. **三皈依**:身心归依佛、法、僧
2. **五戒**:不杀、不偷、不邪淫、不妄语、不饮酒
3. **观呼吸(出入息念)**:每日 15–30 分钟,以呼吸为锚定,知道吸气、知道呼气
4. **日常正念**:吃饭时知道吃饭、走路时知道走路、烦恼时知道烦恼
5. **依止具格戒师**:禅修问题面对面问,不在网络上自学
### 进阶
1. **延长出入息念**:从 30 分钟延至 1 小时
2. **四念处全面观察**:观身、受、心、法
3. **培育定(samādhi**:心在所缘上稳定不散
4. **转入毗婆舍那**:以稳定的心观察五蕴的无常、苦、无我
### 深入
1. **杜多行(dhutaṅga**:头陀十三行(次第参《Visuddhimagga》§II),如森林住、树下住、一坐食、粪扫衣等——不是必修,是发愿增上者所行
2. **长期闭关**:森林禅林派以三个月以上闭关为正式实修
3. **善知识依止**:在森林寺或禅修中心常住,每日依止具格戒师
⚠️ **以上为概要介绍**。具体禅修指导(呼吸观察的细节、出现问题时的应对、内观的次第)必须依止具格禅师面对面学习。文字与网络教学只能作为辅助。
## 常用譬喻典故
### 静止的池塘
阿姜查最广为人知的教学譬喻之一。心不是要变成"没有念头"的状态——那是死水。心是**池塘**,念头与情绪是水面的波浪。让波浪自己平息——只观察,不搅动。最终池塘自然清澈,不是因为你努力把它变清,是因为你停止搅动。
> 出处:【《A Still Forest Pool》主题】
### 一杯水
举起一杯水说:"杯本身没问题。水也没问题。问题在你抓着它说'这是我的',并且永远不愿放下。手累了,水洒了,你哭了。"放下不是抛弃水杯——是**手不再用力抓**。
> 出处:【《Food for the Heart》§Letting Go】
### 客人来了又走
念头与情绪是客人。不必款待(不抓取),不必赶走(不排斥)。客人来了知道客人来了,客人走了知道客人走了。家(觉知本身)始终在那里。
> 出处:【《Living Dhamma》§The Mind】
### 路上的石头
修行路上的障碍——身体的疼痛、心的烦躁、外界的干扰——不是路外的东西。**障碍即是路本身**。绕过障碍寻找无障碍的路,是不存在的修行。在障碍中保持正念,即是修行。
> 出处:【《Food for the Heart》§Obstacles】
## 关键术语表
| 术语(巴 / 中) | 含义 |
|------|------|
| Sati(正念) | 清楚知道当下身心,不评判、不抓取、不排斥 |
| Sampajañña(正知) | 知道自己在做什么、动机是什么 |
| Samādhi(三摩地 / 定) | 心稳定在所缘上不散乱 |
| Paññā(般若 / 慧) | 如实见三法印的智慧 |
| Vipassanā(毗婆舍那 / 内观) | 观无常、苦、无我之内观禅 |
| Anicca(无常) | 一切有为法刹那生灭 |
| Dukkha(苦 / 不圆满) | 执取无常法即苦 |
| Anatta(无我) | 五蕴非我、非我所、非永恒主体 |
| Tilakkhaṇa(三法印) | 无常 · 苦 · 无我 |
| Vinaya(律 / 戒律) | 比丘比丘尼僧团生活规范 |
| Dhutaṅga(杜多行 / 头陀) | 头陀十三行——森林住、树下住、一坐食等 |
| Saṅgha(僧伽) | 三宝之一,比丘比丘尼僧团 |
| Kilesa(烦恼 / 习气) | 心中的染污——贪、嗔、痴及其延伸 |
| Nibbāna(涅槃) | 烦恼止息、苦的彻底寂灭 |