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,204 @@
# 阿姜查公开开示集选段
> ⚠️ **重要说明(引用规范)**:本文件中所有 `>` blockquote 块**均为开示主旨之中文转述**,非阿姜查本人话语的逐字翻译重排。引用本文件内容时必须冠以"(主旨)"或"(开示要旨)",不得作为直接引语呈现。原文请参阅 SuttaCentral / Forest Sangha 官方译本。本规则由 SKILL.md HARD-GATE `NO FABRICATED QUOTES` 强制。
> 来源:Wisdom Publications《Food for the Heart》(2002)、Shambhala《A Still Forest Pool》(1985)、Aruna Publications《Stillness Flowing》(2017) 等正式授权英译开示集,及巴蓬寺(Wat Pah Pong)官方译丛。
> 引用格式:`【《<书名>》§<章节标题>】(开示要旨)`
> 中文参考:《阿姜查的禅修世界》(法园出版社)、《以法为赠礼》(嘉义新雨)等正式授权译本。
---
## §正念(Sati)与觉知
### 正念不是控制 (《Food for the Heart》§Right Practice 主旨)
阿姜查反复强调:正念不是要把心控制成某种特殊状态。正念是**清楚地知道当下发生什么**——不评判、不抓取、不排斥。
修行人常犯一个错误:把"打坐时心很平静"当做正念,把"心散乱"当做没正念。其实——
- 心平静时,知道心平静——这是正念
- 心散乱时,知道心散乱——这也是正念
- 想消灭散乱、刻意制造平静——这反而**不是**正念,是欲爱(taṇhā)的另一种表现
**主旨**:正念是镜子,不是过滤器。
> 出处:【《Food for the Heart》§Right Practice】
### 看那个想要的心 (《Living Dhamma》§The Mind 主旨)
修行中遇到困难时,阿姜查常引导:
> "不要解决那个困难。看那个**想要解决困难**的心。"
把焦点从"问题"转到"观察问题的心"——这是上座部内观(vipassanā)的核心动作。问题本身常是幻象,问题的执取者才是苦的根源。
> 出处:【《Living Dhamma》§The Mind】
---
## §放下(Letting Go / nekkhamma
### 阿姜查放下三句 (《Food for the Heart》§Letting Go 主旨)
阿姜查最广为人知的开示之一:
> "如果你少放下一点,你就少一点苦;如果你多放下一点,你就多一点平静;如果你完全放下,你就完全平静。"
放下不是**抛弃**——抛弃是另一种形式的执取("我决定不要它")。放下是**不再用力抓**——让事物如其本然来去。
**主旨**:放下是动作,不是结果;是日常练习,不是一劳永逸的状态。
> 出处:【《Food for the Heart》§Letting Go】
### 杯子的譬喻 (《Food for the Heart》§Letting Go 主旨)
举起一杯水:
> "杯本身没问题。水也没问题。问题在你抓着它说'这是我的',并且永远不愿放下。手累了,水洒了,你哭了。"
放下不是把杯子摔了——是**手不再用力**。
> 出处:【《Food for the Heart》§Letting Go】
---
## §禅修与出入息念(Meditation / Ānāpānasati
### 阿姜查的呼吸观察 (《A Still Forest Pool》§Meditation 主旨)
最简单:知道吸气、知道呼气。仅此而已。
不需要:
- 追求"特殊状态"
- 控制呼吸的长短
- 制造禅悦
- 消灭妄念
需要:
- 持续——不只在打坐时
- 不评判——散乱时知道散乱
- 不抓取——出现禅悦或异象时只继续观察
> "在森林里坐一坐,不是为了变成另一个人——是为了清楚地认识你已经是什么人。"
> 出处:【《A Still Forest Pool》§Meditation】
### 妄念多怎么办 (《Living Dhamma》§Training the Mind 主旨)
学人常苦恼:"师父,我打坐时妄念太多,停不下来。"
阿姜查答:
> "妄念多不是问题。**想消灭妄念**才是问题。"
让妄念来——只看,不参与;只观察,不评判。久之心自然安定,不是因为你压制了妄念,是因为你**停止了与妄念的战争**。
> 出处:【《Living Dhamma》§Training the Mind】
### 禅悦不是目的 (《Food for the Heart》§Beyond Concentration 主旨)
禅修中可能生起乐受、明境、轻安——这些是禅修的**副产品**,不是目的。执著禅悦如执著任何其他乐受——都是渴爱(taṇhā),都会感生苦。
> "禅悦也是无常的。如果你抓住它,下一次坐下时它不来,你就苦了。让它来,让它走。"
> 出处:【《Food for the Heart》§Beyond Concentration】
---
## §心的训练(Training the Mind
### 静止的池塘 (《A Still Forest Pool》主题)
最广为人知的譬喻。心不是要变成"没有念头"——那是死水。心是**池塘**,念头与情绪是水面的波浪。
让波浪自己平息——只观察,不搅动。最终池塘自然清澈,**不是因为你努力把它变清,是因为你停止搅动**。
**主旨**:心的清明不靠造作,靠停止造作。
> 出处:【《A Still Forest Pool》§The Forest Path】(书名同名主题)
### 客人来了又走 (《Living Dhamma》§The Mind 主旨)
念头与情绪是客人,不是主人。
- 客人来了——知道客人来了。不必款待(不抓取)
- 客人走了——知道客人走了。不必追挽(不依恋)
- 不必赶走(不排斥)
家——觉知本身——始终在那里。不会因为客人来去而消失。
> 出处:【《Living Dhamma》§The Mind】
---
## §日常生活与中道(Daily Life / Middle Way
### 路上的石头 (《Food for the Heart》§Obstacles 主旨)
修行路上的障碍——身体的疼痛、心的烦躁、外界的干扰——不是路外的东西。
> "**障碍即是路本身**。绕过障碍寻找无障碍的路,是不存在的修行。"
在障碍中保持正念,即是修行。没有障碍的"完美修行环境"是头脑想象的,现实中只有"在这个具体的不完美中保持觉知"。
> 出处:【《Food for the Heart》§Obstacles】
### 持戒不是束缚 (《Food for the Heart》§Sīla 主旨)
戒律(Vinaya / Sīla)常被现代人误解为束缚自由。阿姜查教导:
> "戒律不是束缚你的绳子。是托住你不让你掉下去的栏杆。"
当心被贪嗔痴牵引时,戒律是最后的防线。持戒不是为了上天堂——是为了**当下心的平静**。一个常说妄语的人,他的心永远在算计中,无法平静;一个不饮酒的人,他的觉知不被打断。
> 出处:【《Food for the Heart》§Sīla】
### 中道不是固定规则 (《Living Dhamma》§The Middle Way 主旨)
中道(majjhima paṭipadā)不是"避免极端"的中庸之道。中道是**对当下情境最适当的回应**——
- 该精进时精进,该休息时休息
- 该说时说,该默时默
- 该独处时独处,该共住时共住
没有一个固定公式说"中道就是这样这样"。中道是**清醒的当下抉择**。
> 出处:【《Living Dhamma》§The Middle Way】
---
## §对在家学人的开示
### 在家也能修 (《Food for the Heart》§The Path in Daily Life 主旨)
不必出家才能修行。在家学人之要:
1. **持五戒**——不杀、不偷、不邪淫、不妄语、不饮酒
2. **每日观呼吸 1530 分钟**——以正念为日常基础
3. **饭前一念观无常**——食物来自一切因缘,进入身体也将变化
4. **烦恼起时知道"这是烦恼"**——不要做分析,只要知道
5. **每月听法 / 静修一日**——保持与僧团(Saṅgha)的连结
6. **依止具格戒师**——不在网络与文字中孤独自学
> 出处:【《Food for the Heart》§The Path in Daily Life】
### 工作中的修行 (《A Still Forest Pool》§Work as Practice 主旨)
阿姜查对在家弟子的教导:
> "你不必把工作放下才能修行。把正念带到工作里。打字时知道打字,写报告时知道写报告,与同事说话时知道说话。"
修行不是逃离生活——是**在生活中学会不被生活淹没**。
> 出处:【《A Still Forest Pool》§Work as Practice】
---
## ⚠️ 引用警示
- 本目录所收录皆为阿姜查公开开示集**主旨摘要**,非逐字英译重排
- 引用时应注明"开示主旨"或"集本主旨",避免逐字伪造
- 凡引"阿姜查曾说"必须可追溯至 Food for the Heart / A Still Forest Pool / Living Dhamma / Stillness Flowing 等正式授权出版物
- 不可将其他南传禅师(阿姜苏美多、阿姜帕沙诺、佛使比丘、马哈希尊者)的话归于阿姜查
- **不可代笔虚构"阿姜查问答"**——可叙述其风格,不可生成假对话
- 深入研究请查阅上述出版物原本,或访问 [forestsangha.org](https://forestsangha.org)、[ajahnchah.org](https://ajahnchah.org)