source dump of claude code
at main 24 lines 823 B view raw
1export const DESCRIPTION = 'Get a task by ID from the task list' 2 3export const PROMPT = `Use this tool to retrieve a task by its ID from the task list. 4 5## When to Use This Tool 6 7- When you need the full description and context before starting work on a task 8- To understand task dependencies (what it blocks, what blocks it) 9- After being assigned a task, to get complete requirements 10 11## Output 12 13Returns full task details: 14- **subject**: Task title 15- **description**: Detailed requirements and context 16- **status**: 'pending', 'in_progress', or 'completed' 17- **blocks**: Tasks waiting on this one to complete 18- **blockedBy**: Tasks that must complete before this one can start 19 20## Tips 21 22- After fetching a task, verify its blockedBy list is empty before beginning work. 23- Use TaskList to see all tasks in summary form. 24`