// skill type definitions — self-contained agent capabilities export type SkillType = 'testing' | 'screenshot' | 'review' | 'performance' | 'custom' export interface SkillTool { name: string description: string parameters: Record execute: (params: Record, context: SkillContext) => Promise } export interface SkillContext { url: string // sootsim URL projectDir: string // project root outputDir: string // where to write artifacts verbose: boolean } export interface SkillResult { success: boolean message: string artifacts?: SkillArtifact[] data?: Record } export interface SkillArtifact { type: 'screenshot' | 'video' | 'report' | 'flow' | 'json' name: string path: string } export interface RNXSkill { name: string description: string type: SkillType version: string triggers: string[] // natural language patterns that activate this skill tools: SkillTool[] setup?: (context: SkillContext) => Promise teardown?: (context: SkillContext) => Promise }