@compilr-dev/sdk 0.24.1 → 0.24.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.
- package/dist/guide/shared-content.js +9 -9
- package/dist/skills/types.d.ts +8 -2
- package/dist/skills/types.js +10 -44
- package/package.json +1 -1
|
@@ -44,12 +44,12 @@ After creation, the project is set as active and agents can start working in it.
|
|
|
44
44
|
content: `Each project type determines which agent roles, skills, and tools are most relevant:
|
|
45
45
|
|
|
46
46
|
**software** — Agent roles: dev, pm, qa, arch. Skills: /design, /prd, /architecture, /scaffold, /build
|
|
47
|
-
**research** — Agent roles: researcher, reviewer, writer. Skills: /outline, /literature-review, /
|
|
48
|
-
**book** — Agent roles: editor, writer, reviewer. Skills: /outline, /
|
|
49
|
-
**course** — Agent roles: instructor, writer, reviewer. Skills: /
|
|
50
|
-
**business-plan** — Agent roles: analyst, strategist, writer. Skills: /business-vision, /market-analysis, /financial-model, /pitch
|
|
51
|
-
**content-marketing** — Agent roles: writer, editor, strategist. Skills: /
|
|
52
|
-
**tech-docs** — Agent roles: writer, dev, reviewer. Skills: /
|
|
47
|
+
**research** — Agent roles: researcher, reviewer, writer. Skills: /research-scaffold, /outline, /literature-review, /draft-section, /peer-review
|
|
48
|
+
**book** — Agent roles: editor, writer, reviewer. Skills: /book-outline, /character-design, /plot-threads, /scene-breakdown, /book-review
|
|
49
|
+
**course** — Agent roles: instructor, writer, reviewer. Skills: /curriculum-design, /lesson-plan, /assessment-design, /course-review
|
|
50
|
+
**business-plan** — Agent roles: analyst, strategist, writer. Skills: /business-vision, /market-analysis, /competitor-analysis, /financial-model, /pitch-outline, /business-review
|
|
51
|
+
**content-marketing** — Agent roles: writer, editor, strategist. Skills: /content-strategy, /content-calendar, /create-content, /content-review, /brand-setup
|
|
52
|
+
**tech-docs** — Agent roles: writer, dev, reviewer. Skills: /outline, /draft-section, /peer-review
|
|
53
53
|
|
|
54
54
|
All project types support: teams, backlog, documents, knowledge base, file references, anchors.`,
|
|
55
55
|
},
|
|
@@ -122,11 +122,11 @@ The delegated agent runs independently and returns results to the coordinator.`,
|
|
|
122
122
|
|
|
123
123
|
Use them by typing / followed by the skill name (e.g., /design, /build).
|
|
124
124
|
|
|
125
|
-
Skills vary by project type. Software projects have: /design, /prd, /architecture, /scaffold, /build, /
|
|
125
|
+
Skills vary by project type. Software projects have: /design, /sketch, /prd, /architecture, /scaffold, /build, /refine, /session-notes.
|
|
126
126
|
|
|
127
|
-
Research projects have: /outline, /literature-review, /
|
|
127
|
+
Research projects have: /research-scaffold, /outline, /literature-review, /draft-section, /peer-review.
|
|
128
128
|
|
|
129
|
-
Business projects have: /business-vision, /market-analysis, /financial-model, /pitch.
|
|
129
|
+
Business projects have: /business-vision, /market-analysis, /competitor-analysis, /financial-model, /pitch-outline, /business-review.
|
|
130
130
|
|
|
131
131
|
Skills can be combined with your own instructions: type /design then add context.`,
|
|
132
132
|
},
|
package/dist/skills/types.d.ts
CHANGED
|
@@ -77,8 +77,14 @@ export interface CustomSkill {
|
|
|
77
77
|
* /skill fork <name> → clone under a new name
|
|
78
78
|
* /skill bind <cmd> → remap slash command to a custom skill
|
|
79
79
|
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
80
|
+
* ⚠️ DERIVED, NOT MAINTAINED. This used to be a hand-written list with a comment saying "keep
|
|
81
|
+
* it in sync when adding new SDK skills". It drifted: 34 entries against 42 platform skills,
|
|
82
|
+
* missing the entire canvas family — so `/skill new canvas` was accepted, the user's skill
|
|
83
|
+
* silently outranked the SDK's (project and user scope beat sdk in `resolveSkillPrompt`), and
|
|
84
|
+
* the collision detector stayed quiet because it only warns about names it knows are reserved.
|
|
85
|
+
*
|
|
86
|
+
* A second copy of a list is a list that will disagree with the first. Deriving it costs one
|
|
87
|
+
* import and cannot go stale.
|
|
82
88
|
*/
|
|
83
89
|
export declare const RESERVED_SKILL_NAMES: readonly string[];
|
|
84
90
|
export declare function isReservedSkillName(name: string): boolean;
|
package/dist/skills/types.js
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* extensions live under the optional `compilr:` block, which
|
|
10
10
|
* Anthropic-compatible runtimes ignore.
|
|
11
11
|
*/
|
|
12
|
+
import { platformSkills } from './platform-skills.js';
|
|
12
13
|
/**
|
|
13
14
|
* SDK skill names that are reserved — user/project skills cannot use these.
|
|
14
15
|
*
|
|
@@ -17,51 +18,16 @@
|
|
|
17
18
|
* /skill fork <name> → clone under a new name
|
|
18
19
|
* /skill bind <cmd> → remap slash command to a custom skill
|
|
19
20
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
21
|
+
* ⚠️ DERIVED, NOT MAINTAINED. This used to be a hand-written list with a comment saying "keep
|
|
22
|
+
* it in sync when adding new SDK skills". It drifted: 34 entries against 42 platform skills,
|
|
23
|
+
* missing the entire canvas family — so `/skill new canvas` was accepted, the user's skill
|
|
24
|
+
* silently outranked the SDK's (project and user scope beat sdk in `resolveSkillPrompt`), and
|
|
25
|
+
* the collision detector stayed quiet because it only warns about names it knows are reserved.
|
|
26
|
+
*
|
|
27
|
+
* A second copy of a list is a list that will disagree with the first. Deriving it costs one
|
|
28
|
+
* import and cannot go stale.
|
|
22
29
|
*/
|
|
23
|
-
export const RESERVED_SKILL_NAMES =
|
|
24
|
-
// Software (9)
|
|
25
|
-
'design',
|
|
26
|
-
'sketch',
|
|
27
|
-
'prd',
|
|
28
|
-
'refine',
|
|
29
|
-
'refine-item',
|
|
30
|
-
'architecture',
|
|
31
|
-
'session-notes',
|
|
32
|
-
'build',
|
|
33
|
-
'scaffold',
|
|
34
|
-
// Research (5)
|
|
35
|
-
'outline',
|
|
36
|
-
'literature-review',
|
|
37
|
-
'draft-section',
|
|
38
|
-
'peer-review',
|
|
39
|
-
'research-scaffold',
|
|
40
|
-
// Business (6)
|
|
41
|
-
'business-vision',
|
|
42
|
-
'market-analysis',
|
|
43
|
-
'competitor-analysis',
|
|
44
|
-
'financial-model',
|
|
45
|
-
'pitch-outline',
|
|
46
|
-
'business-review',
|
|
47
|
-
// Content (5)
|
|
48
|
-
'brand-setup',
|
|
49
|
-
'content-strategy',
|
|
50
|
-
'content-calendar',
|
|
51
|
-
'create-content',
|
|
52
|
-
'content-review',
|
|
53
|
-
// Course (4)
|
|
54
|
-
'curriculum-design',
|
|
55
|
-
'lesson-plan',
|
|
56
|
-
'assessment-design',
|
|
57
|
-
'course-review',
|
|
58
|
-
// Book (5)
|
|
59
|
-
'book-outline',
|
|
60
|
-
'character-design',
|
|
61
|
-
'plot-threads',
|
|
62
|
-
'scene-breakdown',
|
|
63
|
-
'book-review',
|
|
64
|
-
];
|
|
30
|
+
export const RESERVED_SKILL_NAMES = platformSkills.map((s) => s.name);
|
|
65
31
|
export function isReservedSkillName(name) {
|
|
66
32
|
return RESERVED_SKILL_NAMES.includes(name);
|
|
67
33
|
}
|