| name | create-task |
| description | Create a Kanban task from a user request using the pbi-agent CLI without starting implementation. Use when the user asks to create, add, file, or save a Kanban task/card/ticket. |
Create Kanban Task
Create a Kanban task from the user's request by invoking the existing CLI. Do not implement or start the task.
Workflow
-
Derive a concise task title from the user text and available conversation context.
-
Use the full user request/context as the task description, preserving important details, constraints, and acceptance criteria.
-
Default to the board's first lane by omitting --lane unless the user explicitly names a lane, stage, or state; when specified, pass it with --lane.
-
Run the CLI with the shell tool:
pbi-agent kanban create --title "TITLE" --desc "DESCRIPTION" --json
Add --lane "LANE", --project-dir "DIR", or --session-id "ID" only when the user provided them. Quote every dynamic argument safely for the shell; do not interpolate raw user text unescaped.
Final Report
Report the created task ID, title, and lane from the CLI output. If creation fails, report the CLI error and do not claim a task was created.