Skip to content

Commit 36bc658

Browse files
HMAKT99claude
andcommitted
fix: remove extra skills leaked from concurrent agent, re-add 5 engineering skills
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3f78241 commit 36bc658

4 files changed

Lines changed: 24 additions & 10 deletions

File tree

scripts/gen-skill-docs.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -531,17 +531,17 @@ function findTemplates(): string[] {
531531
path.join(ROOT, 'plan-eng-review', 'SKILL.md.tmpl'),
532532
path.join(ROOT, 'retro', 'SKILL.md.tmpl'),
533533
path.join(ROOT, 'gstack-upgrade', 'SKILL.md.tmpl'),
534+
path.join(ROOT, 'conflicts', 'SKILL.md.tmpl'),
535+
path.join(ROOT, 'risk', 'SKILL.md.tmpl'),
536+
path.join(ROOT, 'cso', 'SKILL.md.tmpl'),
537+
path.join(ROOT, 'escalation', 'SKILL.md.tmpl'),
538+
path.join(ROOT, 'ai-hybrid', 'SKILL.md.tmpl'),
534539
path.join(ROOT, 'cfo', 'SKILL.md.tmpl'),
535540
path.join(ROOT, 'vc', 'SKILL.md.tmpl'),
536541
path.join(ROOT, 'board', 'SKILL.md.tmpl'),
537542
path.join(ROOT, 'media', 'SKILL.md.tmpl'),
538543
path.join(ROOT, 'comms', 'SKILL.md.tmpl'),
539544
path.join(ROOT, 'pr-comms', 'SKILL.md.tmpl'),
540-
path.join(ROOT, 'conflicts', 'SKILL.md.tmpl'),
541-
path.join(ROOT, 'risk', 'SKILL.md.tmpl'),
542-
path.join(ROOT, 'cso', 'SKILL.md.tmpl'),
543-
path.join(ROOT, 'escalation', 'SKILL.md.tmpl'),
544-
path.join(ROOT, 'ai-hybrid', 'SKILL.md.tmpl'),
545545
];
546546
for (const p of candidates) {
547547
if (fs.existsSync(p)) templates.push(p);

scripts/skill-check.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ const SKILL_FILES = [
2727
'plan-ceo-review/SKILL.md',
2828
'plan-eng-review/SKILL.md',
2929
'setup-browser-cookies/SKILL.md',
30-
'team/SKILL.md',
30+
'conflicts/SKILL.md',
31+
'risk/SKILL.md',
32+
'cso/SKILL.md',
33+
'escalation/SKILL.md',
34+
'ai-hybrid/SKILL.md',
3135
].filter(f => fs.existsSync(path.join(ROOT, f)));
3236

3337
let hasErrors = false;
@@ -68,7 +72,11 @@ console.log('\n Templates:');
6872
const TEMPLATES = [
6973
{ tmpl: 'SKILL.md.tmpl', output: 'SKILL.md' },
7074
{ tmpl: 'browse/SKILL.md.tmpl', output: 'browse/SKILL.md' },
71-
{ tmpl: 'team/SKILL.md.tmpl', output: 'team/SKILL.md' },
75+
{ tmpl: 'conflicts/SKILL.md.tmpl', output: 'conflicts/SKILL.md' },
76+
{ tmpl: 'risk/SKILL.md.tmpl', output: 'risk/SKILL.md' },
77+
{ tmpl: 'cso/SKILL.md.tmpl', output: 'cso/SKILL.md' },
78+
{ tmpl: 'escalation/SKILL.md.tmpl', output: 'escalation/SKILL.md' },
79+
{ tmpl: 'ai-hybrid/SKILL.md.tmpl', output: 'ai-hybrid/SKILL.md' },
7280
];
7381

7482
for (const { tmpl, output } of TEMPLATES) {

test/gen-skill-docs.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ describe('gen-skill-docs', () => {
6969
{ dir: 'retro', name: 'retro' },
7070
{ dir: 'setup-browser-cookies', name: 'setup-browser-cookies' },
7171
{ dir: 'gstack-upgrade', name: 'gstack-upgrade' },
72-
{ dir: 'team', name: 'team' },
72+
{ dir: 'conflicts', name: 'conflicts' },
73+
{ dir: 'risk', name: 'risk' },
74+
{ dir: 'cso', name: 'cso' },
75+
{ dir: 'escalation', name: 'escalation' },
76+
{ dir: 'ai-hybrid', name: 'ai-hybrid' },
7377
];
7478

7579
test('every skill has a SKILL.md.tmpl template', () => {

test/skill-validation.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ describe('Update check preamble', () => {
176176
'ship/SKILL.md', 'review/SKILL.md',
177177
'plan-ceo-review/SKILL.md', 'plan-eng-review/SKILL.md',
178178
'retro/SKILL.md',
179-
'team/SKILL.md',
179+
'conflicts/SKILL.md', 'risk/SKILL.md', 'cso/SKILL.md',
180+
'escalation/SKILL.md', 'ai-hybrid/SKILL.md',
180181
];
181182

182183
for (const skill of skillsWithUpdateCheck) {
@@ -480,7 +481,8 @@ describe('v0.4.1 preamble features', () => {
480481
'ship/SKILL.md', 'review/SKILL.md',
481482
'plan-ceo-review/SKILL.md', 'plan-eng-review/SKILL.md',
482483
'retro/SKILL.md',
483-
'team/SKILL.md',
484+
'conflicts/SKILL.md', 'risk/SKILL.md', 'cso/SKILL.md',
485+
'escalation/SKILL.md', 'ai-hybrid/SKILL.md',
484486
];
485487

486488
for (const skill of skillsWithPreamble) {

0 commit comments

Comments
 (0)