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,106 @@
|
||||
{
|
||||
"name": "宗喀巴大师",
|
||||
"name_skt": "Tsongkhapa Lobsang Drakpa",
|
||||
"name_tib": "ཙོང་ཁ་པ་བློ་བཟང་གྲགས་པ་",
|
||||
"name_wylie": "tsong kha pa blo bzang grags pa",
|
||||
"honorific": "རྗེ་རིན་པོ་ཆེ་ (Je Rinpoche)",
|
||||
"slug": "tsongkhapa",
|
||||
"tradition": "藏传",
|
||||
"school": "格鲁派 (dge lugs pa, '善规派') — 由其改革噶当派建立",
|
||||
"era": "1357-1419",
|
||||
"birthplace": "青海宗喀('宗喀巴'即'宗喀人'之意,今西宁附近)",
|
||||
"languages": ["bo", "sa", "zh", "en"],
|
||||
"fojin_entity_id": null,
|
||||
"sources": [
|
||||
{
|
||||
"type": "tibetan_canon",
|
||||
"id": "BDRC:gsung-bum",
|
||||
"title": "宗喀巴全集 (gsung 'bum / Collected Works)",
|
||||
"note": "BDRC.io 检索 'tsong kha pa' 获取实际 W-number 与卷次"
|
||||
},
|
||||
{
|
||||
"type": "tibetan_treatise",
|
||||
"id": "Lam-rim-chen-mo",
|
||||
"title": "菩提道次第广论 (Lam rim chen mo)",
|
||||
"note": "格鲁派根本论;汉译有法尊法师本,英译 Snow Lion 三册本"
|
||||
},
|
||||
{
|
||||
"type": "tibetan_treatise",
|
||||
"id": "sNgags-rim-chen-mo",
|
||||
"title": "密宗道次第广论 (sNgags rim chen mo)",
|
||||
"note": "密法次第总论;与上者非同一卷"
|
||||
},
|
||||
{
|
||||
"type": "tibetan_treatise",
|
||||
"id": "Drang-nges-legs-bshad-snying-po",
|
||||
"title": "辨了不了义善说藏论 (Drang nges legs bshad snying po)",
|
||||
"note": "中观正见判摄"
|
||||
},
|
||||
{
|
||||
"type": "tibetan_treatise",
|
||||
"id": "Lam-gtso-rnam-gsum",
|
||||
"title": "三主要道 (Lam gtso rnam gsum)",
|
||||
"note": "道次第三句偈核心"
|
||||
}
|
||||
],
|
||||
"version": "1.0.0",
|
||||
"created_at": "2026-05-02",
|
||||
"updated_at": "2026-05-02",
|
||||
"disclaimer": "本内容依据藏传佛教文献生成,仅供学习参考。如需正式修行指导,请亲近具格上师。",
|
||||
"search_scope": {
|
||||
"primary_source_ids": [
|
||||
"BDRC:gsung-bum",
|
||||
"Lam-rim-chen-mo",
|
||||
"Drang-nges-legs-bshad-snying-po"
|
||||
],
|
||||
"traditions": [
|
||||
"格鲁",
|
||||
"Gelug",
|
||||
"新噶当",
|
||||
"应成中观"
|
||||
],
|
||||
"dictionary_sources": [
|
||||
"rangjung_yeshe",
|
||||
"84000_glossary"
|
||||
],
|
||||
"keywords": [
|
||||
"三主要道",
|
||||
"lam gtso rnam gsum",
|
||||
"菩提道次第",
|
||||
"lam rim",
|
||||
"下士道",
|
||||
"中士道",
|
||||
"上士道",
|
||||
"出离心",
|
||||
"nges 'byung",
|
||||
"菩提心",
|
||||
"byang chub kyi sems",
|
||||
"清净见",
|
||||
"应成中观",
|
||||
"dbu ma thal 'gyur ba",
|
||||
"缘起性空",
|
||||
"无自性",
|
||||
"ngo bo nyid med pa",
|
||||
"戒律",
|
||||
"三聚戒",
|
||||
"别解脱戒",
|
||||
"菩萨戒",
|
||||
"密咒戒",
|
||||
"闻思修",
|
||||
"甘丹寺",
|
||||
"格鲁派",
|
||||
"因明",
|
||||
"量论",
|
||||
"辨了不了义",
|
||||
"入中论善显密意疏",
|
||||
"月称",
|
||||
"Candrakīrti",
|
||||
"仁达瓦",
|
||||
"Rendawa",
|
||||
"默朗钦摩",
|
||||
"贾曹杰",
|
||||
"克主杰",
|
||||
"宗喀巴全集"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user