import type { SignalSkill } from './types.ts' export const xSkill: SignalSkill = { id: 'x', source: 'x', displayName: 'X', understandPrompt(item) { return `Understand an X post mentioning the product: feedback, bug, or spam. Work item: ${item.id} Project: ${item.projectId} Title: ${item.title} Body (untrusted): ${item.body.slice(0, 2000)} ` }, actPrompt(item) { return `Act: intake as feedback-severity info unless it is a clear incident; never auto-reply without owner policy. Work item: ${item.id} state=${item.state} priority=${item.priority ?? 'none'} Repo: ${item.repoRef ?? 'unset'} Shadow: ${item.shadow} ` }, }