plugins/teamcraft-jcg/skills/pipeline-health/SKILL.md
Interpret GitHub Actions workflow status with context — not raw logs, but an explanation of what failed and why. Optionally create a trackable Jira issue from a persistent workflow failure. Use when CI is failing, the build is broken, checks are red, asking "why did the pipeline fail", or wanting to understand a workflow error. Also run when a PR's checks won't pass, deployments are stuck, or a recurring CI failure needs to be tracked as a ticket.
npx skillsauth add codingthefuturewithai/claude-code-primitives teamcraft-jcg:pipeline-healthInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Surface what failed in a GitHub Actions workflow run and why — not raw logs, but an interpreted explanation a developer or DevOps engineer can act on. When a failure is persistent, offer to create a trackable Jira issue from it so it does not get lost.
$ARGUMENTS is the starting point. If neither was provided, ask before searching.If a branch name or workflow run ID was provided in $ARGUMENTS, use it. If not, ask the user to specify — which branch or which workflow run they want to investigate.
The GitHub repo is identified from git remote: git remote -v via Bash. No project listing step is needed.
Use gh run list --branch [branch] to locate recent workflow runs for a branch. For a branch, the most recent run is typically the relevant one — confirm with the user if there is ambiguity.
Surface the workflow name alongside the run ID when presenting options. GitHub Actions has named workflows (.github/workflows/*.yml) — this context helps the user orient quickly.
Fetch the run details with gh run view [run-id]. For jobs and steps: gh run view [run-id] --json jobs.
For failed jobs, retrieve logs with gh run view [run-id] --log-failed. This retrieves logs for failed jobs only, which is the most relevant output for diagnosis.
Read the logs carefully. The goal is not to surface the log — it is to understand what the log is saying. Parse the failure at the right level of abstraction:
Not: "The test job failed."
But: "The auth service integration tests are failing because JWT_SECRET is not set in the CI environment. The test runner is erroring on the first test that calls the token validation endpoint, and all subsequent tests in that suite are also failing as a result."
That level of explanation is the deliverable. A developer reading this should know what broke and what to do about it.
Note: GitHub Actions organizes runs into jobs and steps. A job is roughly analogous to a GitLab CI job; a step is finer-grained. When reporting, surface the failing job name and the specific step within it.
Present the failure explanation to the user. Cover:
What failed — which workflow, which job, which step, and the nature of the failure in plain language.
Why it failed — the root cause as read from the logs. Be specific: environment variables, dependency issues, test failures with test names, build errors with the error message.
What to fix — a concrete, actionable suggestion. Not generic advice. What specifically to change, add, or investigate.
If multiple jobs failed, cover each one. Group failures that share a common root cause.
If the user or the context suggests this failure has appeared across multiple workflow runs on this branch, note that explicitly. A one-time flaky test and a structural configuration failure are different problems — the data helps distinguish them.
To check persistence, run gh run list --branch [branch] --limit 10 and compare recent run outcomes. If the failure appears across multiple runs (same job, same error), note that explicitly.
If the failure appears persistent, offer to create a Jira issue to make it trackable.
If the failure is persistent and the user wants to track it, read references/example-bug-issue.md and draft a bug issue matching its structure. The draft must include all sections from the reference: Problem Statement, Environment, Steps to Reproduce, Current/Expected Behavior, Debug Information, Investigation Areas, Potential Approaches, Testing Requirements, Priority, and Labels. Populate from what the workflow logs revealed.
Show the complete draft. Do not create the issue until the user confirms.
After confirmation, use mcp__sooperset-mcp-atlassian__jira_create_issue to confirm the correct issue type name for bugs in this Jira project. Then create the issue using mcp__sooperset-mcp-atlassian__jira_create_issue. Share the issue key and URL.
The Jira project key comes from .teamcraft/project.md if it exists. If not, ask the user for it.
After presenting findings, offer the developer their options:
gh run rerun [run-id] --failedgh run rerun [run-id]gh run cancel [run-id]Present these as choices. Do not act without explicit instruction.
development
Plan a time-boxed iteration (sprint, cycle, milestone) from the backlog and the PRD/roadmap behind it — gather the goal, the window, and the team's real capacity, then select, sequence, and size a committed set of work items to fit. Writes an `iteration` label onto each chosen work item. Use when the user says 'plan a sprint', 'plan the next iteration', 'plan our cycle', 'sprint planning', 'iteration planning', 'plan the next two weeks', 'set up a milestone', 'what should we take on this sprint', 'plan from the PRD', or otherwise wants to commit a scoped, time-boxed batch of work rather than create issues one at a time. This is the planning layer between requirements and the build loop — distinct from create-issue (one item) and pick-next-issue (pick one to build now).
tools
Capture feedback about Teamcraft itself and turn it into a well-structured GitHub issue on the plugin's repo. Vets whether the problem is really a Teamcraft skill defect (vs. misuse, the harness, or the user's own project) by root-causing against the actual skill source, then helps the developer decide whether to file and publishes via the GitHub CLI. Use when the user says 'improve teamcraft', 'a teamcraft skill did the wrong thing', 'file feedback on teamcraft', 'report a teamcraft bug', 'I have an idea to make teamcraft better', or when a Teamcraft skill clearly misbehaved and the user wants that captured upstream.
tools
Learn the Teamcraft plugin itself — how its workflow, skills, and artifacts fit together. A guided overview for a human getting started, or a system map for Claude orienting itself to how Teamcraft works before working in a Teamcraft repo. Teaching only; needs no project or environment access. Use when someone wants to understand Teamcraft (the tool, not their specific project), asks "how does Teamcraft work", "explain the workflow", "which skill do I use for X", or when Claude needs the big picture of how the skills hook together.
tools
--- name: teamcraft:work-board description: Launch (or re-launch) the user's live, multi-project work board. The dashboard is a single HTML file copied to a stable user-side location at ~/.claude/teamcraft-board.html and opened in the user's default browser. It has two views via a header toggle — a drag-and-drop Kanban Board and a live Status tab (analytics: work by status, throughput, cycle time, aging, blocked chains, recomputed on every poll). Each project is added via a header dropdown; the