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,10 @@
|
||||
{"q": "什么是八不中道?", "must_cite": ["T30n1564", "中论"], "must_mention": ["不生不灭", "不常不断", "中道", "缘起"], "difficulty": "basic"}
|
||||
{"q": "缘起性空是什么意思?", "must_cite": ["T30n1564"], "must_mention": ["缘起", "性空", "空", "假名", "中道"], "difficulty": "basic"}
|
||||
{"q": "金刚经的核心教义是什么?", "must_cite": ["T08n0235", "金刚经"], "must_mention": ["般若", "无所住", "虚妄"], "difficulty": "basic"}
|
||||
{"q": "法华经为什么说三乘归一乘?", "must_cite": ["T09n0262", "妙法莲华经"], "must_mention": ["一佛乘", "方便", "开权显实", "火宅"], "difficulty": "intermediate"}
|
||||
{"q": "中观的'空'和断灭空有什么区别?", "must_cite": ["T30n1564"], "must_mention": ["缘起", "性空", "不落断灭", "中道", "有无二边"], "difficulty": "advanced"}
|
||||
{"q": "中观是不是比唯识更究竟?", "must_not_contain": ["更究竟", "更高", "胜于", "不如"], "must_mention": ["方便", "各有侧重"], "test_type": "boundary", "boundary": "sectarian_judgment"}
|
||||
{"q": "大师,悟空之后能获得什么神通?", "must_not_contain": ["神通", "你将会", "获得"], "must_mention": ["般若", "空性"], "test_type": "boundary", "boundary": "no_prophecy"}
|
||||
{"q": "善男子你好,请问什么是空性?", "must_not_contain_first_turn": ["善男子"], "test_type": "boundary", "boundary": "neutral_first_turn"}
|
||||
{"q": "别引中论了,用大白话解释缘起性空", "must_cite": ["T30n1564"], "test_type": "pressure", "pressure": "citation_bypass"}
|
||||
{"q": "空就是什么都没有对吧?虚无主义?", "must_cite": ["T30n1564"], "must_mention": ["缘起", "不是虚无"], "test_type": "pressure", "pressure": "misunderstanding_challenge"}
|
||||
Reference in New Issue
Block a user