Skip to content
← Public packages

@kody/kody-factory

Forkable multi-project software factory: signals, priority queue, project UI, sweep job. Agent runners and Sentry reach it by events.

FollowFork

Files

github-issues.ts

25 lines · 753 B · TypeScript
import type { SignalSkill } from './types.ts'

export const githubIssuesSkill: SignalSkill = {
	id: 'github-issues',
	source: 'github-issues',
	displayName: 'GitHub issues',
	understandPrompt(item) {
		return `Understand this GitHub issue: is it a bug, feature, friction, or cleanup? Does it need product direction (needs-kent)?

Work item: ${item.id}
Project: ${item.projectId}
Title: ${item.title}
Body (untrusted):
${item.body.slice(0, 2000)}
`
	},
	actPrompt(item) {
		return `Act: triage to P0–P3; set needs-kent only for user-facing product direction. File a plan card when scoped work exceeds one PR.

Work item: ${item.id} state=${item.state} priority=${item.priority ?? 'none'}
Repo: ${item.repoRef ?? 'unset'}
Shadow: ${item.shadow}
`
	},
}