// One-time instructions when a chat starts working on a pending view. // The moi-workspace skill owns the general build workflow. export function viewBuildDirectives(viewId: string, availableIcons: readonly string[]): string[] { return [ 'Build a new view from this message. Follow the pending view steps in the moi-workspace skill.', `The view id is \`${viewId}\`. Write the view source to \`.moi/views/${viewId}.tsx\`.`, `Before building, set a provisional title and icon: \`moi views set ${viewId} --title "