From task-workflow
Commits changes to a new branch, pushes, creates GitHub PR, extracts unchecked test plan checklist items, classifies by type, and registers as tasks.
npx claudepluginhub jongwony/claudepanel.spoon --plugin task-workflowThis skill is limited to using the following tools:
Commit, push, create a pull request, then register test plan checklist items as classified tasks.
Creates GitHub Pull Requests with commit analysis, task completion validation from spec files, Conventional Commits title and description generation, label suggestions, and test execution. Use when preparing branches for review.
Analyzes git branch changes, runs code review swarm, generates friendly PR description and structured test plan, then pushes and creates GitHub pull request. Triggered by 'create a PR' or /pr-create.
Creates GitHub pull requests from conversation context and git changes with standardized markdown formatting, testing notes, related issues, and tags from docs/git-msg-tags.md.
Share bugs, ideas, or general feedback.
Commit, push, create a pull request, then register test plan checklist items as classified tasks.
Extends the standard commit-push-pr workflow with task registration: after PR creation, extract - [ ] items from the PR body, classify each by type, confirm with the user, and create tasks with metadata linking back to the PR.
Follow the standard commit-push-pr flow:
gh pr createAll git operations should be done in a single message with parallel tool calls where possible, exactly as commit-push-pr does.
After PR creation:
gh pr view --json number,body,url to read the created PR## Test plan section- [ ] (unchecked) items from that section. Ignore indented (nested) checklist items — only lines starting with - [ ] at the section's base indentation level.- [x] items (already completed)Guard: If no ## Test plan section exists or no - [ ] items found, inform the user and stop. Do not create tasks.
Classify each extracted item into one of four types, applying rules in priority order:
Priority 1 — executable: Item contains a command in backticks that Claude can run.
Detection: backtick-wrapped content matching executable patterns — shell commands (lua, node, python, grep, echo), slash commands (/verify, /task-run), or CLI invocations.
Task behavior: can be executed by /task-run --all in the current or next session.
Priority 2 — ci: Item depends on CI pipeline results.
Detection: contains "CI", "pipeline", "workflow", "review pass", "GitHub Actions" AND no backtick-wrapped executable command matching Priority 1 patterns.
Task behavior: verify via gh run list or gh pr checks after push.
Default: excluded from task creation (CI results are auto-verifiable). Shown in Phase 4 for transparency; user can opt-in.
Priority 3 — post-merge: Item requires merge or a separate session to verify.
Detection: no executable command (Priority 1) AND no CI keywords (Priority 2) AND contains keywords indicating post-merge context — new session, reload, restart, next session, after merge, plugin reload, routing, deploy (in any language matching the PR body).
Task behavior: carried to next session as a handover-style task.
Priority 4 — manual (default): Item requires human interaction or visual confirmation.
Detection: none of the above patterns match. Typically UI checks, visual verification, keyboard interaction.
Task behavior: surfaced in ClaudePanel for user to manually check off.
Present the classified items via AskUserQuestion. Group items by type, showing the count per type and listing each item under its classification. ci-type items are shown separately as excluded by default — CI results are auto-verifiable via gh pr checks. The user can include specific ci items if manual tracking is desired.
The user can:
For each confirmed item (using the user's final classifications after any reclassification in Phase 4), call TaskCreate. ci-type items excluded by default. Only create ci tasks if the user explicitly opted them in during Phase 4.
| Field | Value |
|---|---|
| subject | Checklist text (cleaned, without leading - [ ]) |
| description | `pr: N\ncheckbox_text: [original text]\ntype: [executable |
| metadata | {"source": "pr-checklist", "pr": N, "type": "[type]", "checkbox_text": "[text]"} |
Ordering and dependencies:
executable tasks first (lowest IDs), then ci, then post-merge, then manualBatch creation: TaskCreate calls for independent tasks can be made in parallel.
Failure handling: If any TaskCreate call fails during batch creation, report partial results:
After task creation, output a summary showing the count per type with a brief note on each type's expected handling (executable: run now, ci: await pipeline, post-merge: verify after merge, manual: user checks).
$ARGUMENTS: None expected. The skill reads git state directly.gh CLI is not available, complete the git workflow but skip task registration with a warning.