From workflow-skills
Start a new task from a Jira ticket. Pulls latest from main, fetches ticket details via Atlassian MCP, runs preflight checks, creates a feature branch, and presents a task summary. Invoke when asked to "start task TRAIN-123", "start working on <ticket>", "begin task", "pick up ticket", "start a new feature branch", or any variant of starting work on a TRAIN board ticket.
npx claudepluginhub arosenkranz/claude-code-config --plugin workflow-skillsThis skill uses the workspace's default tool permissions.
Start a new task from a Jira ticket. Accepts a TRAIN board ticket ID as input (e.g., `TRAIN-456`). If no ticket ID is provided, ask: "Which ticket are you starting work on?"
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
Start a new task from a Jira ticket. Accepts a TRAIN board ticket ID as input (e.g., TRAIN-456). If no ticket ID is provided, ask: "Which ticket are you starting work on?"
Before touching git, verify the environment is safe to start work:
1a. Check for a git repository:
git rev-parse --is-inside-work-tree 2>/dev/null || echo "NOT_GIT"
If not in a git repo, stop and report: "Not inside a git repository. Navigate to your project directory first."
1b. Check for a dirty working tree:
git status --porcelain
If there are uncommitted changes, report them and ask: "Your working tree has uncommitted changes. Stash, commit, or discard them before starting a new task?" Do not proceed until the user confirms the tree is clean.
1c. Determine the source-of-truth branch:
Default to main. If main doesn't exist, check for master:
git branch -r | grep -E 'origin/(main|master)' | head -1
1d. Pull latest:
git checkout main && git pull origin main
If this fails (e.g., merge conflicts, network error), stop and report the error.
Use the Atlassian MCP to fetch the ticket. The Jira cloud ID for datadoghq.atlassian.net is 66c05bee-f5ff-4718-b6fc-81351e5ef659.
Call mcp__plugin_atlassian_atlassian__getJiraIssue with the provided ticket ID.
Extract and display:
If the ticket is not found, report: "Ticket <ID> not found on the TRAIN board. Check the ticket ID and try again."
From the ticket summary, generate a kebab-case branch name:
<TICKET-ID>-<short-description>Examples:
TRAIN-456 "Add dark mode toggle to dashboard" → train-456-dark-mode-dashboardTRAIN-123 "Fix NPE in user auth flow" → train-123-fix-npe-user-authCheck for branch name collision:
git branch -a | grep "<generated-branch-name>"
If the branch already exists locally or remotely, append -2 (or increment) and report to the user.
git checkout -b <generated-branch-name>
Confirm success:
git branch --show-current
Output a structured summary:
## Task Started: <TICKET-ID>
**Branch**: `<branch-name>`
**Ticket**: <TICKET-ID> — <Summary>
**Type**: <Issue Type> | **Priority**: <Priority> | **Status**: <Status>
**Epic**: <Epic name or "None">
**Labels**: <labels or "None">
### What to build
<Description excerpt>
### Definition of Done
<DoD bullets if present, or "See ticket for details">
### Suggested next steps
* Review the full ticket: https://datadoghq.atlassian.net/browse/<TICKET-ID>
* Create an ExecPlan: `mkdir -p ~/workspace/work-artifacts/<TICKET-ID>` then use plan mode (simple tasks) or the ExecPlan template at `~/.claude/templates/PLANS.md` (multi-session work)
* When done: use `commit-push-pr` skill to commit, push, and open a PR
| Situation | Response |
|---|---|
| Not in git repo | Stop, explain, suggest cd to project |
| Dirty working tree | Show changes, ask user to resolve first |
| Ticket not found | Report clearly, check spelling |
| Branch already exists | Suggest incrementing suffix, ask user |
| Pull fails | Show error, do not create branch |
| Atlassian MCP unavailable | Report MCP error, offer to create branch with just the ticket ID |