Create a new task from a GitHub issue
Converts a GitHub issue into a local task file in docs/tasks-todo. Use this when you want to track an external issue as a personal task without leaving your terminal.
/plugin marketplace add dannysmith/claude-marketplace/plugin install personal@dannysmithdev/Create a new unprioritized task from a GitHub issue by fetching its title and content.
/personal:dev:tasks-newgh [issue-url-or-number]
issue-url-or-number - GitHub issue URL (e.g., https://github.com/owner/repo/issues/123) or issue number for current repoGet issue reference
$ARGUMENTS provided: use it as the issue referenceDetermine issue type and fetch data
gh issue view <URL> --json title,body,url to fetch datagh issue view <number> --json title,body,url to fetch dataCreate task file
Extract issue title, body, and URL from the gh command output
Convert title to kebab-case for filename (lowercase, alphanumeric only, max 5 words)
Create file: docs/tasks-todo/task-x-[kebab-title].md
Write content in this exact format:
# Task: [Original Issue Title]
[Issue URL]
[Issue Body Content]
Report result
gh issue view https://github.com/owner/repo/issues/123 --json title,body,urlgh issue view 123 --json title,body,urlmkdir -p docs/tasks-todo-q flag like gh issue view 123 --json title -q .title