feat: add bundled OpenCode skills and refine module flow
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-08-14 18:15:55 +08:00
parent 88f9ee8708
commit c809002180
31 changed files with 1153 additions and 241 deletions

View File

@@ -2,7 +2,12 @@ import { describe, expect, it } from 'vitest';
import { BUNDLED_COURSE_SKILL_IDS } from '@electron/opencode/course-skills';
describe('bundled Skill allowlist', () => {
it('keeps only the explicitly retained Agent Browser Skill', () => {
expect([...BUNDLED_COURSE_SKILL_IDS]).toEqual(['agent-browser']);
it('keeps only the explicitly retained project Skills', () => {
expect([...BUNDLED_COURSE_SKILL_IDS]).toEqual([
'agent-browser',
'frontend-slides',
'grilling',
'planning-with-files',
]);
});
});