Move skills to rowboatlabs/skills and fetch from there

Remove hardcoded skill definitions from the codebase. Skills are now
synced from the rowboatlabs/skills GitHub repo on launch and hourly.
Added skill resolver, override system, and update detection UI.
This commit is contained in:
tusharmagar 2026-03-24 08:04:53 +05:30
parent 5cbe388096
commit ea71705d85
24 changed files with 295 additions and 5350 deletions

View file

@ -1,5 +1,24 @@
import { z } from 'zod';
// SKILL.md frontmatter schema (Agent Skills spec compliant)
// Top-level: name, description, license, compatibility, allowed-tools, metadata
// Custom Rowboat fields go under metadata
export const SkillFrontmatter = z.object({
name: z.string().max(64),
description: z.string().max(1024),
license: z.string().optional(),
compatibility: z.string().max(500).optional(),
"allowed-tools": z.string().optional(),
metadata: z.object({
version: z.string().optional(),
title: z.string().optional(),
author: z.string().optional(),
tags: z.string().optional(),
}).passthrough().optional(),
});
export type SkillFrontmatter = z.infer<typeof SkillFrontmatter>;
// Official skill metadata (bundled with app)
export const OfficialSkillMeta = z.object({
id: z.string(),