- agent/library.yaml: catalog of all 48 skills (37 operational + 11 features), 4 agents with skill assignments, 2 prompt refs - src/skill-library.ts: loadLibrary, searchSkills, getSkillContent, getAgentSkills, validateLibrary, reloadLibrary - scripts/skill-list.ts: grouped table output with color, optional search query - scripts/skill-add.ts: add skill from local/codeberg/github/raw source - scripts/skill-sync.ts: refresh all remote-sourced skills in cache - scripts/validate-library.ts: validate all local: sources exist on disk - .agent/identities/: COORDINATOR, SYSADMIN, DB_ADMIN, GIT_ADMIN stubs - .agent/context/FREEBSD.md: FreeBSD gotchas context for agents Typecheck passes. `just skill-list` and `just skill-search` ready to wire up in the justfile (Phase 4). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --- Build: pass | Tests: pass — Tests 942 passed (942)
9 lines
287 B
TypeScript
9 lines
287 B
TypeScript
import { validateLibrary } from '../src/skill-library.js';
|
|
const r = validateLibrary();
|
|
if (r.ok) {
|
|
console.log('Library valid — all local: sources found.');
|
|
} else {
|
|
console.log('Validation errors:');
|
|
r.errors.forEach((e: string) => console.log(' ' + e));
|
|
process.exit(1);
|
|
}
|