mirror of
https://github.com/xr843/Master-skill.git
synced 2026-05-10 05:16:25 +00:00
3f81cbb955
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>
2.6 KiB
2.6 KiB
《六祖大师法宝坛经》关键片段
慧能大师说法,弟子法海记录。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
教义要点:
- 烦恼与菩提不是两个对立的东西
- 迷与悟只在一念之间
- 不在断烦恼上求解脱,而在转念上见真如
- 自性本来清净,本自具足,能生万法