mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-27 20:29:44 +02:00
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:
parent
5cbe388096
commit
ea71705d85
24 changed files with 295 additions and 5350 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue