KanbanPrompts
MMO\client\classes · 1 symbol · generated 5 Oct 2026
KanbanPrompts
KanbanPrompts.php:29The AI prompts of <mmo-kanban> tickets: fenced code blocks of a ticket's description whose language is an AI agent's name, so the agent (or whoever drives it) can pick up the tickets meant for it.
- Namespace
MMO\client\classes
Index
| AGENTS | the languages of a fenced block that make it a prompt: an agent's name, ai for any | |
| STATUSES | a board's statuses when it gives none: <mmo-kanban>'s defaults | |
| Answer($route, $board, $data) static | What a kanban controller's prompts.json route answers, its query read from $route: - agent: the agents whose prompts are wanted, comma separated (claude,chatgpt); every one when absent - `sta… | |
| Extract($markdown, $agents) static | ||
| Fence($text, $language) static | ||
| FromBoard($data, $agents, $done, $statuses) static | The prompts of a board's tickets, each with its ticket. | |
| Markdown($board, $prompts) static | The prompts, as a brief an agent reads: one section per ticket, its description's context and its prompts. | |
| StatusTypes($statuses) static |
Constants2
AGENTS
the languages of a fenced block that make it a prompt: an agent's name, ai for any
STATUSES
a board's statuses when it gives none: <mmo-kanban>'s defaults
Methods6
Answer($route, $board, $data)
staticKanbanPrompts.php:103Extract($markdown, $agents)
staticKanbanPrompts.php:45Fence($text, $language)
staticKanbanPrompts.php:162FromBoard($data, $agents, $done, $statuses)
staticKanbanPrompts.php:77The prompts of a board's tickets, each with its ticket.
| $data | array | <mmo-kanban>'s data: {statuses, tickets, ...} |
| $agents = null | null | array | as Extract |
| $done = false | bool | whether a done ticket's prompts are wanted too |
| $statuses = null | null | array | only the tickets with one of these statuses (their ids), null for any |
| returns | array | string, info: string, prompt: string, line: int, ticket: array}> in the board's order; ticket is the ticket as the data has it, with its statusType (backlog, active or done) |
Markdown($board, $prompts)
staticKanbanPrompts.php:134The prompts, as a brief an agent reads: one section per ticket, its description's context and its prompts.