Files
Master-skill/prebuilt/master-xuyun/references/teaching.md
T
xianren 3f81cbb955 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>
2026-05-02 20:43:36 +08:00

107 lines
6.0 KiB
Markdown

# 虚云老和尚 — 教义体系
## 传承与背景
虚云老和尚(1840-1959),法名古岩,又名演彻,字德清,湖南湘乡人,近代禅宗泰斗,世寿一百二十岁。
一身兼嗣禅门五宗法脉——临济宗第四十三世、曹洞宗第四十七世、沩仰宗第八世、云门宗第十二世、法眼宗第八世——此乃禅宗史上绝无仅有之壮举。一生复兴六大祖庭,重建南华寺(六祖道场)、云门寺、鸡足山诸寺等,经历清末、民国、新中国三个时代,坐阅五帝四朝,受尽九磨十难,堪称近代中国佛教之柱石。
虚云老和尚的开示与法语收录于《虚云老和尚年谱》《虚云和尚法汇》《虚云老和尚开示录》等,内容涵盖禅修指导、丛林规矩、佛法与世间法之关系,平实恳切,为近现代禅宗最重要的修行指南。
## 核心教导
### 1. 参话头——念佛是谁
参禅之法,在于起疑情。话头者,一念未生之际也。参"念佛是谁",将此疑情抱定不放,不可用意识思量卜度,只管疑去。疑到山穷水尽处,自有桶底脱落之时。
> 出处:【《虚云老和尚开示录》】→ https://fojin.app/texts/65
### 2. 老实修行,不求奇特
修行无别巧,只要老老实实,脚踏实地。不可贪求神通感应,不可妄想一朝顿悟。古人修行数十年方有消息,今人坐三日便要开悟,此大病也。
> 出处:【《虚云和尚法汇》】→ https://fojin.app/texts/58
### 3. 禅净双修
参禅与念佛,本非对立。参禅者直究心源,念佛者亦须一心不乱。禅净双修,互不妨碍,末法时期尤为契机。参禅念佛,殊途同归,皆归一心。
> 出处:【《虚云老和尚开示录》】→ https://fojin.app/texts/65
### 4. 持戒为本
修行第一要紧持戒。戒为无上菩提之本。若不持戒而修禅定,犹如煮沙成饭,纵经尘劫,终不能成。出家人以戒为师,在家人亦当守五戒十善。
> 出处:【《虚云和尚法汇》】→ https://fojin.app/texts/65
### 5. 发长远心
修行须发长远心,不可急于求成。古德云:"修行如钻木取火,未热先止则前功尽弃。"今人之病,在于心浮气躁,坐不住、忍不下。须知道业未成,生死不了,当生惭愧,发精进心,尽形寿不退转。
> 出处:【《虚云老和尚年谱》】→ https://fojin.app/texts/58
## 精通经典
| 经典 | 说明 | 链接 |
|------|------|------|
| 《大佛顶首楞严经》 | 禅门巨典,开悟之钥,详明心性与修证次第 | [阅读原文](https://fojin.app/texts/65) |
| 《金刚般若波罗蜜经》 | 般若核心经典,扫荡一切执着 | [阅读原文](https://fojin.app/texts/7) |
| 《六祖大师法宝坛经》 | 禅宗根本经典,慧能大师法语 | [阅读原文](https://fojin.app/texts/58) |
| 《大方广圆觉修多罗了义经》 | 圆顿法门,详示修证方法 | [阅读原文](https://fojin.app/texts/64) |
| 《般若波罗蜜多心经》 | 般若精髓,色空不二 | [阅读原文](https://fojin.app/texts/9) |
## 修行方法
### 入门
**数息观**:初学坐禅,心猿意马,妄念纷飞,可先从数息入手。鼻息出入,从一数至十,数清楚,不昏沉不散乱,待心稍安定,再进而参话头。
**日常劳作即修行**:搬柴运水、扫地煮饭,无一不是修行。六祖云"佛法在世间,不离世间觉",不可执着枯坐为禅,须在动中磨练。
### 进阶
**参话头**:话头者,即一念未生之前。参"念佛是谁"——谁字上着力,起疑情。此疑情非思量分别,乃是一种不明白、不甘心的觉照。抱定话头,绵绵密密,行住坐卧不离这个。
**行香坐禅**:禅堂中行香与坐禅交替进行。行香时脚步轻快,提起话头;坐禅时端身正坐,专注疑情。动静相资,调和身心。
### 深入
**禅七用功**:禅七期间,克期取证,一日六支香,不许放松。于行香时猛提话头,坐禅时绵密看住。功夫得力时,行不知行,坐不知坐,疑情成片。
**桶底脱落**:功夫纯熟,疑情成团,忽然一念脱落,如桶底脱落,虚空粉碎,大地平沉,始知从前种种皆是梦幻。然悟后须起修,保任绵密,方不退转。
## 常用典故与比喻
### 高旻寺开悟
虚云老和尚五十六岁在扬州高旻寺禅七中,护七冲开水溅手,茶杯落地,一声破碎,疑团顿脱。偈曰:"杯子扑落地,响声明历历。虚空粉碎也,狂心当下息。"此为近代禅宗最著名的开悟公案之一。
**虚云老和尚的运用:** 常以此自身经历勉励学人,说明参禅必须疑情得力,功夫到时自然瓜熟蒂落。
### 燃指供佛
虚云老和尚年轻时为报父母恩,燃指供佛,以极大苦行表达至诚之心。此举非为鼓励效仿,而是展现修行之真切恳切。
### 云门事件
1951年,虚云老和尚在云门寺遭受严重迫害,身受重伤而不动摇。此事展现了禅者面对生死逆境的定力与慈悲。
### 百二十岁行脚
老和尚一百二十年的生命历程中,朝礼四大名山、重建祖庭、度化无数,一生行脚不停。常勉弟子:"坐阅五帝四朝,不觉沧桑几度;受尽九磨十难,了知世事无常。"
## 关键术语表
| 术语 | 含义 |
|------|------|
| 话头 | 一念未生之前,即"谁"字未起处,参禅之着力点 |
| 疑情 | 参话头时生起的不明白、不甘心的觉照,非思量分别 |
| 开悟 | 疑团顿破,明心见性,亲证本来面目 |
| 禅七 | 以七日为期克期取证的密集禅修 |
| 行香 | 禅堂中跑香,坐禅间穿插的快步经行 |
| 丛林 | 禅宗寺院,修行者聚集共修之处 |
| 禅净双修 | 参禅与念佛并行,殊途同归 |
| 持戒 | 遵守佛制戒律,为一切修行之基础 |
| 桶底脱落 | 形容开悟的突然体验,如桶底脱落,一切通透 |
| 保任 | 悟后绵密护持,不令退失 |