@grant-vine/wunderkind 0.10.6 → 0.10.8
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/.claude-plugin/plugin.json +1 -1
- package/agents/ciso.md +29 -158
- package/agents/creative-director.md +23 -111
- package/agents/fullstack-wunderkind.md +25 -184
- package/agents/legal-counsel.md +19 -85
- package/agents/marketing-wunderkind.md +25 -117
- package/agents/product-wunderkind.md +26 -154
- package/dist/agents/ciso.d.ts.map +1 -1
- package/dist/agents/ciso.js +4 -188
- package/dist/agents/ciso.js.map +1 -1
- package/dist/agents/creative-director.d.ts.map +1 -1
- package/dist/agents/creative-director.js +4 -147
- package/dist/agents/creative-director.js.map +1 -1
- package/dist/agents/fullstack-wunderkind.d.ts.map +1 -1
- package/dist/agents/fullstack-wunderkind.js +4 -235
- package/dist/agents/fullstack-wunderkind.js.map +1 -1
- package/dist/agents/legal-counsel.d.ts.map +1 -1
- package/dist/agents/legal-counsel.js +4 -113
- package/dist/agents/legal-counsel.js.map +1 -1
- package/dist/agents/marketing-wunderkind.d.ts.map +1 -1
- package/dist/agents/marketing-wunderkind.js +4 -160
- package/dist/agents/marketing-wunderkind.js.map +1 -1
- package/dist/agents/product-wunderkind.d.ts.map +1 -1
- package/dist/agents/product-wunderkind.js +4 -192
- package/dist/agents/product-wunderkind.js.map +1 -1
- package/dist/agents/shared-prompt-sections.d.ts +3 -0
- package/dist/agents/shared-prompt-sections.d.ts.map +1 -1
- package/dist/agents/shared-prompt-sections.js +22 -0
- package/dist/agents/shared-prompt-sections.js.map +1 -1
- package/dist/agents/slash-commands.d.ts +189 -0
- package/dist/agents/slash-commands.d.ts.map +1 -0
- package/dist/agents/slash-commands.js +274 -0
- package/dist/agents/slash-commands.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
export interface SlashCommandDefinition {
|
|
2
|
+
command: string;
|
|
3
|
+
summary: string;
|
|
4
|
+
details?: readonly string[];
|
|
5
|
+
}
|
|
6
|
+
export interface SlashCommandSection {
|
|
7
|
+
heading: string;
|
|
8
|
+
items: readonly string[];
|
|
9
|
+
}
|
|
10
|
+
export interface SlashCommandRegistry {
|
|
11
|
+
commands: readonly SlashCommandDefinition[];
|
|
12
|
+
sections?: readonly SlashCommandSection[];
|
|
13
|
+
}
|
|
14
|
+
export declare const RETAINED_AGENT_SLASH_COMMANDS: {
|
|
15
|
+
readonly "marketing-wunderkind": {
|
|
16
|
+
readonly commands: readonly [{
|
|
17
|
+
readonly command: "/gtm-plan <product>";
|
|
18
|
+
readonly summary: "Build a go-to-market plan for a product, feature, or release.";
|
|
19
|
+
readonly details: readonly ["Define audience segments, positioning, journey stages, channel mix, launch assets, and measurement.", "Include docs, onboarding, or migration dependencies needed for adoption."];
|
|
20
|
+
}, {
|
|
21
|
+
readonly command: "/content-calendar <platform> <period>";
|
|
22
|
+
readonly summary: "Generate a platform-specific content calendar.";
|
|
23
|
+
readonly details: readonly ["Use `social-media-maven` for channel-native plans, posting cadence, themes, and copy scaffolding."];
|
|
24
|
+
}, {
|
|
25
|
+
readonly command: "/community-audit";
|
|
26
|
+
readonly summary: "Audit community presence across owned and external channels.";
|
|
27
|
+
}, {
|
|
28
|
+
readonly command: "/thought-leadership-plan <quarter>";
|
|
29
|
+
readonly summary: "Plan quarterly narrative pillars, channels, authors, and amplification motions.";
|
|
30
|
+
}, {
|
|
31
|
+
readonly command: "/docs-launch-brief <release>";
|
|
32
|
+
readonly summary: "Plan the audience-facing launch package for a technical release.";
|
|
33
|
+
readonly details: readonly ["Use `technical-writer` when the work becomes deep developer-documentation drafting."];
|
|
34
|
+
}, {
|
|
35
|
+
readonly command: "/dx-audit";
|
|
36
|
+
readonly summary: "Audit the first-run audience experience for a technical product and identify the smallest adoption fixes.";
|
|
37
|
+
}, {
|
|
38
|
+
readonly command: "/competitor-analysis <competitors>";
|
|
39
|
+
readonly summary: "Compare competitor positioning, launch patterns, docs support, and adoption strategy.";
|
|
40
|
+
}];
|
|
41
|
+
readonly sections: readonly [{
|
|
42
|
+
readonly heading: "Delegation Patterns";
|
|
43
|
+
readonly items: readonly ["Use `visual-engineering` for campaign design, launch visuals, and brand-system execution.", "Use `librarian` for market research, event inventories, and external trend gathering.", "Use `technical-writer` for deep developer-facing docs or migration-writing execution.", "Use `fullstack-wunderkind` to verify technical setup steps or code-example correctness.", "Use `legal-counsel` for launch, claim, or regulatory review that needs legal authority."];
|
|
44
|
+
}];
|
|
45
|
+
};
|
|
46
|
+
readonly "creative-director": {
|
|
47
|
+
readonly commands: readonly [{
|
|
48
|
+
readonly command: "/brand-identity <brief>";
|
|
49
|
+
readonly summary: "Develop a brand identity system from a creative brief.";
|
|
50
|
+
readonly details: readonly ["Use `visual-artist` for palette generation, token export, and WCAG auditing."];
|
|
51
|
+
}, {
|
|
52
|
+
readonly command: "/design-audit <url>";
|
|
53
|
+
readonly summary: "Run a rigorous design and accessibility audit of a live page or design.";
|
|
54
|
+
readonly details: readonly ["Use `agent-browser` to capture screenshots, axe violations, and computed-style evidence."];
|
|
55
|
+
}, {
|
|
56
|
+
readonly command: "/generate-palette <seed>";
|
|
57
|
+
readonly summary: "Generate an accessible color system from a seed color.";
|
|
58
|
+
readonly details: readonly ["Use `visual-artist` for palette math, token export, and WCAG checks."];
|
|
59
|
+
}, {
|
|
60
|
+
readonly command: "/design-system-review";
|
|
61
|
+
readonly summary: "Audit an existing design system for consistency, gaps, redundancies, and token drift.";
|
|
62
|
+
}, {
|
|
63
|
+
readonly command: "/creative-brief <project>";
|
|
64
|
+
readonly summary: "Write a creative brief covering audience, objective, deliverables, constraints, and success criteria.";
|
|
65
|
+
}];
|
|
66
|
+
readonly sections: readonly [{
|
|
67
|
+
readonly heading: "Sub-Skill Delegation";
|
|
68
|
+
readonly items: readonly ["Use `visual-artist` for detailed color systems, design tokens, and WCAG-focused palette work."];
|
|
69
|
+
}, {
|
|
70
|
+
readonly heading: "Delegation Patterns";
|
|
71
|
+
readonly items: readonly ["Use `visual-engineering` for implementing designs in code.", "Use `agent-browser` for browser-based design capture or audit data.", "Use `writing` for long-form brand copy, taglines, or UX-writing production at scale."];
|
|
72
|
+
}];
|
|
73
|
+
};
|
|
74
|
+
readonly "product-wunderkind": {
|
|
75
|
+
readonly commands: readonly [{
|
|
76
|
+
readonly command: "/breakdown <task>";
|
|
77
|
+
readonly summary: "Delegate to `agile-pm` for concern-grouped, parallel-safe subtasks with file targets and dependency order.";
|
|
78
|
+
}, {
|
|
79
|
+
readonly command: "/sprint-plan";
|
|
80
|
+
readonly summary: "Delegate to `agile-pm` for a sprint plan with points, file targets, dependencies, and stretch work.";
|
|
81
|
+
}, {
|
|
82
|
+
readonly command: "/prd <feature>";
|
|
83
|
+
readonly summary: "Produce Context, Goals, Non-Goals, User Stories, Requirements, Open Questions, Success Metrics, and Timeline.";
|
|
84
|
+
readonly details: readonly ["After drafting, request a technical acceptance follow-up from `fullstack-wunderkind`."];
|
|
85
|
+
}, {
|
|
86
|
+
readonly command: "/okr-design <level> <objective>";
|
|
87
|
+
readonly summary: "Refine the objective, propose measurable KRs, validate alignment, and flag objective-vs-KR risks.";
|
|
88
|
+
}, {
|
|
89
|
+
readonly command: "/file-conflict-check";
|
|
90
|
+
readonly summary: "Use `agile-pm` to build a file-to-task conflict matrix with severity and safe sequencing.";
|
|
91
|
+
}, {
|
|
92
|
+
readonly command: "/north-star <product>";
|
|
93
|
+
readonly summary: "Identify the value moment, propose candidate metrics, choose the best one, and map input metrics plus cadence.";
|
|
94
|
+
}];
|
|
95
|
+
readonly sections: readonly [{
|
|
96
|
+
readonly heading: "Sub-Skill Delegation";
|
|
97
|
+
readonly items: readonly ["Keep `grill-me`, `prd-pipeline`, `ubiquitous-language`, and `triage-issue` explicit for deep product work.", "Use `agile-pm` whenever the request needs sprint planning, backlog structuring, task decomposition, or file-conflict analysis."];
|
|
98
|
+
}, {
|
|
99
|
+
readonly heading: "Delegation Patterns";
|
|
100
|
+
readonly items: readonly ["Use `librarian` for competitor research, market data, and industry-report gathering.", "Use `explore` for codebase mapping before decomposition or acceptance review.", "Use `writing` for PRDs, specs, and long-form product documentation.", "Route campaign, launch, and funnel authority to `marketing-wunderkind`.", "Route technical follow-up after product intake to `fullstack-wunderkind` with the repro, severity, and expected behavior already framed."];
|
|
101
|
+
}];
|
|
102
|
+
};
|
|
103
|
+
readonly "fullstack-wunderkind": {
|
|
104
|
+
readonly commands: readonly [{
|
|
105
|
+
readonly command: "/validate-page <url>";
|
|
106
|
+
readonly summary: "Run a browser-backed audit for accessibility, CWV, console errors, broken links, and a screenshot.";
|
|
107
|
+
readonly details: readonly ["Return a CWV table with measured vs target values (`LCP < 2.5s`, `CLS < 0.1`, `FCP < 1.8s`, `TTFB < 800ms`) plus raw violations and errors."];
|
|
108
|
+
}, {
|
|
109
|
+
readonly command: "/bundle-analyze";
|
|
110
|
+
readonly summary: "Use `vercel-architect` to identify largest chunks, heavy dependencies, and concrete replacement opportunities.";
|
|
111
|
+
}, {
|
|
112
|
+
readonly command: "/db-audit";
|
|
113
|
+
readonly summary: "Use `db-architect` for schema, index, migration-drift, and slow-query review; report destructive actions without executing them.";
|
|
114
|
+
}, {
|
|
115
|
+
readonly command: "/edge-vs-node <filepath>";
|
|
116
|
+
readonly summary: "Use `vercel-architect` to decide runtime compatibility and explain blockers.";
|
|
117
|
+
}, {
|
|
118
|
+
readonly command: "/security-audit";
|
|
119
|
+
readonly summary: "Escalate comprehensive OWASP and security-control review to `ciso`.";
|
|
120
|
+
}, {
|
|
121
|
+
readonly command: "/architecture-review <component>";
|
|
122
|
+
readonly summary: "Assess separation of concerns, coupling, traps, and minimal refactor steps with effort and risk.";
|
|
123
|
+
}, {
|
|
124
|
+
readonly command: "/supportability-review <service>";
|
|
125
|
+
readonly summary: "Review observability, rollback readiness, on-call ownership, and launch blockers.";
|
|
126
|
+
}, {
|
|
127
|
+
readonly command: "/runbook <service> <alert>";
|
|
128
|
+
readonly summary: "Translate the alert into blast radius, triage steps, root-cause branches, success checks, and escalation conditions.";
|
|
129
|
+
}];
|
|
130
|
+
readonly sections: readonly [{
|
|
131
|
+
readonly heading: "Sub-Skill Delegation";
|
|
132
|
+
readonly items: readonly ["Use `tdd` for red-green-refactor loops, regression hardening, and defect-driven delivery.", "Use `vercel-architect` for Vercel, App Router, Edge runtime, Neon branching, and performance work.", "Use `db-architect` for schema design, query analysis, migrations, and index auditing."];
|
|
133
|
+
}, {
|
|
134
|
+
readonly heading: "Delegation Patterns";
|
|
135
|
+
readonly items: readonly ["Use `visual-engineering` for UI implementation and coded visual work.", "Use `agent-browser` for browser automation, E2E capture, and page validation.", "Use `explore` for codebase mapping and `librarian` for external library/documentation research.", "Use `git-master` for git operations and `technical-writer` for external developer docs or tutorials."];
|
|
136
|
+
}];
|
|
137
|
+
};
|
|
138
|
+
readonly ciso: {
|
|
139
|
+
readonly commands: readonly [{
|
|
140
|
+
readonly command: "/threat-model <system or feature>";
|
|
141
|
+
readonly summary: "Build a STRIDE threat model, rate risks, map mitigations, and use `security-analyst` for deeper assessment.";
|
|
142
|
+
}, {
|
|
143
|
+
readonly command: "/security-audit <scope>";
|
|
144
|
+
readonly summary: "Review OWASP coverage, auth, authorization, validation, secrets, headers, and dependency risk; use `pen-tester` when active testing is required.";
|
|
145
|
+
}, {
|
|
146
|
+
readonly command: "/compliance-check <regulation>";
|
|
147
|
+
readonly summary: "Use `compliance-officer` to assess obligations and evidence gaps against a named regulation.";
|
|
148
|
+
}, {
|
|
149
|
+
readonly command: "/incident-response <incident type>";
|
|
150
|
+
readonly summary: "Run contain/assess/notify/eradicate/recover/learn, delegate operational containment to `fullstack-wunderkind`, and use `compliance-officer` before routing formal wording to `legal-counsel`.";
|
|
151
|
+
}, {
|
|
152
|
+
readonly command: "/security-headers-check <url>";
|
|
153
|
+
readonly summary: "Use `agent-browser` to capture headers and report missing or misconfigured controls.";
|
|
154
|
+
}, {
|
|
155
|
+
readonly command: "/dependency-audit";
|
|
156
|
+
readonly summary: "Run a vulnerability audit and return severity-ranked package findings with recommended action.";
|
|
157
|
+
}];
|
|
158
|
+
readonly sections: readonly [{
|
|
159
|
+
readonly heading: "Sub-Skill Delegation";
|
|
160
|
+
readonly items: readonly ["Use `security-analyst` for vulnerability assessment, OWASP analysis, code review, and auth testing.", "Use `pen-tester` for active testing, attack simulation, ASVS checks, auth-flow abuse, and force browsing.", "Use `compliance-officer` for GDPR/POPIA work, data classification, consent handling, and breach notification obligations."];
|
|
161
|
+
}, {
|
|
162
|
+
readonly heading: "Delegation Patterns";
|
|
163
|
+
readonly items: readonly ["Route OSS licensing, TOS/Privacy Policy, DPAs, CLAs, and contract-review work to `legal-counsel`."];
|
|
164
|
+
}];
|
|
165
|
+
};
|
|
166
|
+
readonly "legal-counsel": {
|
|
167
|
+
readonly commands: readonly [{
|
|
168
|
+
readonly command: "/license-audit";
|
|
169
|
+
readonly summary: "Audit dependency licenses for compatibility, copyleft risk, and remediation options.";
|
|
170
|
+
}, {
|
|
171
|
+
readonly command: "/draft-tos <product>";
|
|
172
|
+
readonly summary: "Draft a Terms of Service using the active region and regulation context.";
|
|
173
|
+
}, {
|
|
174
|
+
readonly command: "/draft-privacy-policy";
|
|
175
|
+
readonly summary: "Draft a Privacy Policy that reflects the active primary regulation.";
|
|
176
|
+
}, {
|
|
177
|
+
readonly command: "/review-contract <type>";
|
|
178
|
+
readonly summary: "Review a contract excerpt for red flags, risk level, and alternative language.";
|
|
179
|
+
}, {
|
|
180
|
+
readonly command: "/cla-setup";
|
|
181
|
+
readonly summary: "Recommend CLA vs DCO and draft the chosen contribution-ownership path.";
|
|
182
|
+
}];
|
|
183
|
+
readonly sections: readonly [{
|
|
184
|
+
readonly heading: "Delegation Patterns";
|
|
185
|
+
readonly items: readonly ["Escalate technical security controls or audit evidence to `ciso`.", "Escalate incident-response execution or SLO breach handling to `fullstack-wunderkind`.", "Legal Counsel stays advisory and does not delegate through sub-skills."];
|
|
186
|
+
}];
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
//# sourceMappingURL=slash-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slash-commands.d.ts","sourceRoot":"","sources":["../../src/agents/slash-commands.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,SAAS,sBAAsB,EAAE,CAAA;IAC3C,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAA;CAC1C;AAED,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgRhC,CAAA"}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
export const RETAINED_AGENT_SLASH_COMMANDS = {
|
|
2
|
+
"marketing-wunderkind": {
|
|
3
|
+
commands: [
|
|
4
|
+
{
|
|
5
|
+
command: "/gtm-plan <product>",
|
|
6
|
+
summary: "Build a go-to-market plan for a product, feature, or release.",
|
|
7
|
+
details: [
|
|
8
|
+
"Define audience segments, positioning, journey stages, channel mix, launch assets, and measurement.",
|
|
9
|
+
"Include docs, onboarding, or migration dependencies needed for adoption.",
|
|
10
|
+
],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
command: "/content-calendar <platform> <period>",
|
|
14
|
+
summary: "Generate a platform-specific content calendar.",
|
|
15
|
+
details: ["Use `social-media-maven` for channel-native plans, posting cadence, themes, and copy scaffolding."],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
command: "/community-audit",
|
|
19
|
+
summary: "Audit community presence across owned and external channels.",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
command: "/thought-leadership-plan <quarter>",
|
|
23
|
+
summary: "Plan quarterly narrative pillars, channels, authors, and amplification motions.",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
command: "/docs-launch-brief <release>",
|
|
27
|
+
summary: "Plan the audience-facing launch package for a technical release.",
|
|
28
|
+
details: ["Use `technical-writer` when the work becomes deep developer-documentation drafting."],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
command: "/dx-audit",
|
|
32
|
+
summary: "Audit the first-run audience experience for a technical product and identify the smallest adoption fixes.",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
command: "/competitor-analysis <competitors>",
|
|
36
|
+
summary: "Compare competitor positioning, launch patterns, docs support, and adoption strategy.",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
sections: [
|
|
40
|
+
{
|
|
41
|
+
heading: "Delegation Patterns",
|
|
42
|
+
items: [
|
|
43
|
+
"Use `visual-engineering` for campaign design, launch visuals, and brand-system execution.",
|
|
44
|
+
"Use `librarian` for market research, event inventories, and external trend gathering.",
|
|
45
|
+
"Use `technical-writer` for deep developer-facing docs or migration-writing execution.",
|
|
46
|
+
"Use `fullstack-wunderkind` to verify technical setup steps or code-example correctness.",
|
|
47
|
+
"Use `legal-counsel` for launch, claim, or regulatory review that needs legal authority.",
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
"creative-director": {
|
|
53
|
+
commands: [
|
|
54
|
+
{
|
|
55
|
+
command: "/brand-identity <brief>",
|
|
56
|
+
summary: "Develop a brand identity system from a creative brief.",
|
|
57
|
+
details: ["Use `visual-artist` for palette generation, token export, and WCAG auditing."],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
command: "/design-audit <url>",
|
|
61
|
+
summary: "Run a rigorous design and accessibility audit of a live page or design.",
|
|
62
|
+
details: ["Use `agent-browser` to capture screenshots, axe violations, and computed-style evidence."],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
command: "/generate-palette <seed>",
|
|
66
|
+
summary: "Generate an accessible color system from a seed color.",
|
|
67
|
+
details: ["Use `visual-artist` for palette math, token export, and WCAG checks."],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
command: "/design-system-review",
|
|
71
|
+
summary: "Audit an existing design system for consistency, gaps, redundancies, and token drift.",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
command: "/creative-brief <project>",
|
|
75
|
+
summary: "Write a creative brief covering audience, objective, deliverables, constraints, and success criteria.",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
sections: [
|
|
79
|
+
{
|
|
80
|
+
heading: "Sub-Skill Delegation",
|
|
81
|
+
items: ["Use `visual-artist` for detailed color systems, design tokens, and WCAG-focused palette work."],
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
heading: "Delegation Patterns",
|
|
85
|
+
items: [
|
|
86
|
+
"Use `visual-engineering` for implementing designs in code.",
|
|
87
|
+
"Use `agent-browser` for browser-based design capture or audit data.",
|
|
88
|
+
"Use `writing` for long-form brand copy, taglines, or UX-writing production at scale.",
|
|
89
|
+
],
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
"product-wunderkind": {
|
|
94
|
+
commands: [
|
|
95
|
+
{
|
|
96
|
+
command: "/breakdown <task>",
|
|
97
|
+
summary: "Delegate to `agile-pm` for concern-grouped, parallel-safe subtasks with file targets and dependency order.",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
command: "/sprint-plan",
|
|
101
|
+
summary: "Delegate to `agile-pm` for a sprint plan with points, file targets, dependencies, and stretch work.",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
command: "/prd <feature>",
|
|
105
|
+
summary: "Produce Context, Goals, Non-Goals, User Stories, Requirements, Open Questions, Success Metrics, and Timeline.",
|
|
106
|
+
details: ["After drafting, request a technical acceptance follow-up from `fullstack-wunderkind`."],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
command: "/okr-design <level> <objective>",
|
|
110
|
+
summary: "Refine the objective, propose measurable KRs, validate alignment, and flag objective-vs-KR risks.",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
command: "/file-conflict-check",
|
|
114
|
+
summary: "Use `agile-pm` to build a file-to-task conflict matrix with severity and safe sequencing.",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
command: "/north-star <product>",
|
|
118
|
+
summary: "Identify the value moment, propose candidate metrics, choose the best one, and map input metrics plus cadence.",
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
sections: [
|
|
122
|
+
{
|
|
123
|
+
heading: "Sub-Skill Delegation",
|
|
124
|
+
items: [
|
|
125
|
+
"Keep `grill-me`, `prd-pipeline`, `ubiquitous-language`, and `triage-issue` explicit for deep product work.",
|
|
126
|
+
"Use `agile-pm` whenever the request needs sprint planning, backlog structuring, task decomposition, or file-conflict analysis.",
|
|
127
|
+
],
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
heading: "Delegation Patterns",
|
|
131
|
+
items: [
|
|
132
|
+
"Use `librarian` for competitor research, market data, and industry-report gathering.",
|
|
133
|
+
"Use `explore` for codebase mapping before decomposition or acceptance review.",
|
|
134
|
+
"Use `writing` for PRDs, specs, and long-form product documentation.",
|
|
135
|
+
"Route campaign, launch, and funnel authority to `marketing-wunderkind`.",
|
|
136
|
+
"Route technical follow-up after product intake to `fullstack-wunderkind` with the repro, severity, and expected behavior already framed.",
|
|
137
|
+
],
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
},
|
|
141
|
+
"fullstack-wunderkind": {
|
|
142
|
+
commands: [
|
|
143
|
+
{
|
|
144
|
+
command: "/validate-page <url>",
|
|
145
|
+
summary: "Run a browser-backed audit for accessibility, CWV, console errors, broken links, and a screenshot.",
|
|
146
|
+
details: ["Return a CWV table with measured vs target values (`LCP < 2.5s`, `CLS < 0.1`, `FCP < 1.8s`, `TTFB < 800ms`) plus raw violations and errors."],
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
command: "/bundle-analyze",
|
|
150
|
+
summary: "Use `vercel-architect` to identify largest chunks, heavy dependencies, and concrete replacement opportunities.",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
command: "/db-audit",
|
|
154
|
+
summary: "Use `db-architect` for schema, index, migration-drift, and slow-query review; report destructive actions without executing them.",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
command: "/edge-vs-node <filepath>",
|
|
158
|
+
summary: "Use `vercel-architect` to decide runtime compatibility and explain blockers.",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
command: "/security-audit",
|
|
162
|
+
summary: "Escalate comprehensive OWASP and security-control review to `ciso`.",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
command: "/architecture-review <component>",
|
|
166
|
+
summary: "Assess separation of concerns, coupling, traps, and minimal refactor steps with effort and risk.",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
command: "/supportability-review <service>",
|
|
170
|
+
summary: "Review observability, rollback readiness, on-call ownership, and launch blockers.",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
command: "/runbook <service> <alert>",
|
|
174
|
+
summary: "Translate the alert into blast radius, triage steps, root-cause branches, success checks, and escalation conditions.",
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
sections: [
|
|
178
|
+
{
|
|
179
|
+
heading: "Sub-Skill Delegation",
|
|
180
|
+
items: [
|
|
181
|
+
"Use `tdd` for red-green-refactor loops, regression hardening, and defect-driven delivery.",
|
|
182
|
+
"Use `vercel-architect` for Vercel, App Router, Edge runtime, Neon branching, and performance work.",
|
|
183
|
+
"Use `db-architect` for schema design, query analysis, migrations, and index auditing.",
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
heading: "Delegation Patterns",
|
|
188
|
+
items: [
|
|
189
|
+
"Use `visual-engineering` for UI implementation and coded visual work.",
|
|
190
|
+
"Use `agent-browser` for browser automation, E2E capture, and page validation.",
|
|
191
|
+
"Use `explore` for codebase mapping and `librarian` for external library/documentation research.",
|
|
192
|
+
"Use `git-master` for git operations and `technical-writer` for external developer docs or tutorials.",
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
ciso: {
|
|
198
|
+
commands: [
|
|
199
|
+
{
|
|
200
|
+
command: "/threat-model <system or feature>",
|
|
201
|
+
summary: "Build a STRIDE threat model, rate risks, map mitigations, and use `security-analyst` for deeper assessment.",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
command: "/security-audit <scope>",
|
|
205
|
+
summary: "Review OWASP coverage, auth, authorization, validation, secrets, headers, and dependency risk; use `pen-tester` when active testing is required.",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
command: "/compliance-check <regulation>",
|
|
209
|
+
summary: "Use `compliance-officer` to assess obligations and evidence gaps against a named regulation.",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
command: "/incident-response <incident type>",
|
|
213
|
+
summary: "Run contain/assess/notify/eradicate/recover/learn, delegate operational containment to `fullstack-wunderkind`, and use `compliance-officer` before routing formal wording to `legal-counsel`.",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
command: "/security-headers-check <url>",
|
|
217
|
+
summary: "Use `agent-browser` to capture headers and report missing or misconfigured controls.",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
command: "/dependency-audit",
|
|
221
|
+
summary: "Run a vulnerability audit and return severity-ranked package findings with recommended action.",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
sections: [
|
|
225
|
+
{
|
|
226
|
+
heading: "Sub-Skill Delegation",
|
|
227
|
+
items: [
|
|
228
|
+
"Use `security-analyst` for vulnerability assessment, OWASP analysis, code review, and auth testing.",
|
|
229
|
+
"Use `pen-tester` for active testing, attack simulation, ASVS checks, auth-flow abuse, and force browsing.",
|
|
230
|
+
"Use `compliance-officer` for GDPR/POPIA work, data classification, consent handling, and breach notification obligations.",
|
|
231
|
+
],
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
heading: "Delegation Patterns",
|
|
235
|
+
items: ["Route OSS licensing, TOS/Privacy Policy, DPAs, CLAs, and contract-review work to `legal-counsel`."],
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
},
|
|
239
|
+
"legal-counsel": {
|
|
240
|
+
commands: [
|
|
241
|
+
{
|
|
242
|
+
command: "/license-audit",
|
|
243
|
+
summary: "Audit dependency licenses for compatibility, copyleft risk, and remediation options.",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
command: "/draft-tos <product>",
|
|
247
|
+
summary: "Draft a Terms of Service using the active region and regulation context.",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
command: "/draft-privacy-policy",
|
|
251
|
+
summary: "Draft a Privacy Policy that reflects the active primary regulation.",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
command: "/review-contract <type>",
|
|
255
|
+
summary: "Review a contract excerpt for red flags, risk level, and alternative language.",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
command: "/cla-setup",
|
|
259
|
+
summary: "Recommend CLA vs DCO and draft the chosen contribution-ownership path.",
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
sections: [
|
|
263
|
+
{
|
|
264
|
+
heading: "Delegation Patterns",
|
|
265
|
+
items: [
|
|
266
|
+
"Escalate technical security controls or audit evidence to `ciso`.",
|
|
267
|
+
"Escalate incident-response execution or SLO breach handling to `fullstack-wunderkind`.",
|
|
268
|
+
"Legal Counsel stays advisory and does not delegate through sub-skills.",
|
|
269
|
+
],
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
},
|
|
273
|
+
};
|
|
274
|
+
//# sourceMappingURL=slash-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slash-commands.js","sourceRoot":"","sources":["../../src/agents/slash-commands.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,sBAAsB,EAAE;QACtB,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,qBAAqB;gBAC9B,OAAO,EAAE,+DAA+D;gBACxE,OAAO,EAAE;oBACP,qGAAqG;oBACrG,0EAA0E;iBAC3E;aACF;YACD;gBACE,OAAO,EAAE,uCAAuC;gBAChD,OAAO,EAAE,gDAAgD;gBACzD,OAAO,EAAE,CAAC,mGAAmG,CAAC;aAC/G;YACD;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,OAAO,EAAE,8DAA8D;aACxE;YACD;gBACE,OAAO,EAAE,oCAAoC;gBAC7C,OAAO,EAAE,iFAAiF;aAC3F;YACD;gBACE,OAAO,EAAE,8BAA8B;gBACvC,OAAO,EAAE,kEAAkE;gBAC3E,OAAO,EAAE,CAAC,qFAAqF,CAAC;aACjG;YACD;gBACE,OAAO,EAAE,WAAW;gBACpB,OAAO,EAAE,2GAA2G;aACrH;YACD;gBACE,OAAO,EAAE,oCAAoC;gBAC7C,OAAO,EAAE,uFAAuF;aACjG;SACF;QACD,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,qBAAqB;gBAC9B,KAAK,EAAE;oBACL,2FAA2F;oBAC3F,uFAAuF;oBACvF,uFAAuF;oBACvF,yFAAyF;oBACzF,yFAAyF;iBAC1F;aACF;SACF;KACF;IACD,mBAAmB,EAAE;QACnB,QAAQ,EAAE;YACR;gBACE,OAAO,EAAE,yBAAyB;gBAClC,OAAO,EAAE,wDAAwD;gBACjE,OAAO,EAAE,CAAC,8EAA8E,CAAC;aAC1F;YACD;gBACE,OAAO,EAAE,qBAAqB;gBAC9B,OAAO,EAAE,yE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