mvc-kit 2.12.1 → 2.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,13 +40,22 @@ export function installClaude(projectRoot) {
|
|
|
40
40
|
|
|
41
41
|
const files = [];
|
|
42
42
|
|
|
43
|
-
// 1. Guide skill — framework reference (on-demand,
|
|
43
|
+
// 1. Guide skill — framework reference (on-demand, model-invocable)
|
|
44
44
|
const guideSkill = readFileSync(join(SKILLS_DIR, 'guide', 'SKILL.md'), 'utf-8');
|
|
45
45
|
const guideBody = stripFrontmatter(guideSkill)
|
|
46
46
|
// Remove the "Supporting Files" section — replaced by "Detailed Reference" below
|
|
47
47
|
.replace(/\n## Supporting Files[\s\S]*$/, '');
|
|
48
48
|
|
|
49
|
-
const
|
|
49
|
+
const SKILL_FRONTMATTER = `---
|
|
50
|
+
name: mvc-kit
|
|
51
|
+
description: "mvc-kit framework reference — class roles, architecture rules, React hooks, and decision framework. Loaded on-demand when working with mvc-kit code."
|
|
52
|
+
invocable_by:
|
|
53
|
+
- model
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
`;
|
|
57
|
+
|
|
58
|
+
const skillContent = AUTO_HEADER + SKILL_FRONTMATTER + guideBody + `
|
|
50
59
|
|
|
51
60
|
## Detailed Reference
|
|
52
61
|
|