/agents-skills:jira-issue-filingfrom agents-skills
Files and triages Jira issues using a six-section groomed format with verified evidence, acceptance criteria, and traceability. Handles duplicate detection, scope-creep prevention, and stub-issue classification via a decision tree.
Ships in agents-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Issues filed here feed the multi-agent pipeline (claimed per jira-issue-locking, dispatched per dispatching-subagents, scheduled per orchestrating-slots, merged per driving-prs-to-merge; fields/labels per jira-issue-fields). This skill covers both ends of intake: writing groomed issues, and recon-triaging stubs.
All Jira reads and writes go through the Atlassian MCP server (the official
Atlassian Remote MCP); operations are named by their canonical tool
(createJiraIssue, getJiraIssue, editJiraIssue, searchJiraIssuesUsingJql,
transitionJiraIssue, addCommentToJiraIssue) — exact tool names depend on the
connected server. Adopters without the Atlassian MCP can substitute the Jira
REST v3 API or a Jira CLI for the same operations; the protocol is identical,
only the call surface changes.
Define these once in the adopting project's CLAUDE.md, alongside the sibling skills' shared bindings (integration branch, worktree convention, toolchain bootstrap, CI gate names, bot reviewers, operator accountIds). The body refers to them by placeholder; example values are illustrations, not requirements.
| Binding | Meaning | Example |
|---|---|---|
<jira-project-key> | project key targeted by createJiraIssue / JQL | PROJ |
<jira-site> | site/cloudId the MCP operates against | acme.atlassian.net |
<issue-types> | exactly-one issue type per ticket | Bug, Story, Task |
<priority-field> | exactly-one native Priority value | Highest…Lowest |
<jira-ready-status> | workflow status meaning ready-to-dispatch | Ready |
<jira-inprogress-status> | workflow status meaning active work | In Progress |
<jira-blocked-status> / <jira-needs-input-status> | terminal triage statuses (label fallback below) | Blocked / Needs Input |
<jira-done-status> | terminal completed status | Done |
<security-label> | flag for authn/authz/data-isolation/OWASP-class issues | security |
<lane-labels> | shared-surface vs isolated work (hyphenated; no spaces) | lane-plumbing, lane-leaf |
<component-labels> | component/subsystem label or Component | subsystem-auth |
<triage-labels> | terminal triage states, label fallback when workflow is locked | triage-ready-to-dispatch, triage-needs-spec-input, triage-blocked |
<claim-label> / <hold-label> | active-work lock (jira-issue-locking) / operator hold (jira-issue-fields); neither applied at filing | agent-claimed / do-not-dispatch |
<breaking-change-labels> | CI breaking-change acknowledgment gates, if any | db-breaking-change-acknowledged / api-breaking-change-acknowledged |
<traceability-scheme> | requirement-ID format + doc location, if formal traceability exists | REQ-<PREFIX>-<N> in docs/specs/ |
<shared-surfaces> | enumerated contention-prone files defining the plumbing lane | DB schema, new migrations, API schema, design tokens, shared-types package, root manifest/lockfile |
<crown-jewel-invariant> | hardest invariant; mentioning it auto-escalates to Highest | "tenant isolation" |
<subsystem-tiers> | security-critical (auto-Highest) / core (partial → High) / deferred (auto-stall without logged decisions) | auth/payments vs core feature modules vs deferred/experimental areas… |
<decision-records> | where architectural decisions for deferred areas are logged | docs/specs/_subsystems/ |
<design-source> | UI source of truth a UI spec must anchor to | design-system/ folder |
<cheap-model> / <default-model> | recon model tier / escalation tier | haiku / sonnet |
Projects whose workflow cannot be customized use the <triage-labels> fallback
instead of dedicated statuses — be explicit which you use. Projects without
formal traceability drop <traceability-scheme> but keep the explicit "no
requirement needed" escape described below.
PRs still live on GitHub (see driving-prs-to-merge); the Jira issue is
cross-referenced from the PR via its issue key PROJ-123, never the reverse
paraphrase.
Dispatch briefs point at the issue description; they never paraphrase it —
paraphrases go stale the moment the issue is edited, and stale paraphrases have
caused shipped rework. So the description must clear this bar: a sub-agent can
pick the issue up and ship a PR without asking the operator anything. Every
skipped section becomes a clarifying-question round-trip; every round-trip is a
lost dispatch cycle. Keep design debate OUT of the description — agents treat
description text as instructions, so embedded debate becomes accidental
requirements. Spec goes in the description; discussion in comments
(addCommentToJiraIssue).
These six sections go in the Jira issue description (ADF / wiki markup — checklists render as a bullet or checkbox list; acceptance criteria as a checklist of testable items). The Title section becomes the Jira summary.
[type] Subject — short qualifier, under 100 characters — specific enough
that the dispatch queue is scannable without opening issues.
Example:
- [Security] No API introspection/debug endpoint control in production
- Settings > Billing > status pills: add on-hover check-icon affordance (route to existing modal)
Concrete, framed so an agent can locate the change point from the description alone: quote offending copy verbatim, link screenshots, paste error text, link the failing CI run or log. Label any suspected cause explicitly ("Hypothesis, unverified: …"), never bare — agents implement an unlabelled hypothesis as if it were a confirmed finding.
A fenced list, one - `path/to/file.ts:NN` — one-phrase description entry
per location (:NN-MM for ranges):
Example:
- `src/payments/lib/billing.ts:120` — invoice row click handler
- `src/payments/…/status-pills.tsx:83-129` — pill render
Grep to confirm every cited line number immediately before filing — stale line refs are worse than no refs, because an agent trusting a wrong pointer wastes more time than one searching fresh. Rough-but-verified beats precise-but-stale; if you only know the file, cite the file and say so.
Spell out exactly what to produce:
<design-source>.A checklist where each item is independently testable. The implementing agent self-verifies against this list before opening the PR, so an untestable criterion ("works well") is a no-op.
Example:
- [ ] Click any non-current pill opens the existing confirmation dialog.
- [ ] Confirm fires `onStatusChange` exactly once; Cancel/Esc fires nothing.
- [ ] Read-only path renders no interactive button.
- [ ] Tests cover all 4 transition directions (forward + backward).
Three-way, pick one:
<traceability-scheme> ID.The explicit "none needed" option exists so agents never stall hunting for traceability on work that legitimately has none.
**Operator: confirm <X>** lines for
genuinely ambiguous decisions; converts silent wrong guesses into visible
questions.Depends on PROJ-123 when another PR must land first;
recon's BLOCK rule consumes this exact phrase mechanically.<issue-types> value (Bug / Story / Task), exactly one
<priority-field> value — the exactly-one constraints make
searchJiraIssuesUsingJql filterable and the dispatch queue deterministic.
Pick the issue type via getJiraProjectIssueTypesMetadata; set Priority on
the native field. Map P0→Highest, P1→High, P2→Medium, P3→Low (Lowest for
trivia). If the project's Priority field is locked down, fall back to a
priority-P0 label.<security-label> if the issue touches authn/authz, data isolation, or an
OWASP-class concern.<lane-labels> tag if the work is primarily on a shared surface
(recon can also set this later). Jira labels cannot contain spaces — use
hyphenated single tokens (lane-plumbing, subsystem-auth).<breaking-change-labels> pre-flagged if the spec itself calls for breaking
schema/API/DB changes — discovering the CI acknowledgment gate mid-PR stalls
the merge; the implementer can add it later, but filing-time is cheaper.Do not apply <claim-label> or set the assignee at filing time — claiming
happens when work starts, per jira-issue-locking; premature claims hide
filed-but-unworked issues from the dispatch filter and show phantom ownership to
concurrent operators. <hold-label> is operator-only (see jira-issue-fields) — never
apply it.
Split multi-theme reports into separate issues before filing, not after
dispatch — integration throughput is fastest with small focused PRs, and a
multi-theme issue forces one bloated PR or an agent guessing where to stop.
Batch-file distinct items as separate issues (parallel createJiraIssue is
fine), each with a fully independent description, key, and lock surface; shared
lock comments or cross-issue state break per-issue ownership for
independently-filed issues — the only sanctioned shared-lock shape is the
bundled-issue protocol in jira-issue-locking (one lead lock, sibling bundled_with
pointers).
Refs PROJ-123 at the top of the new
description AND post a forward-link comment on the source (addCommentToJiraIssue:
"filed as PROJ-456") — bidirectional links survive either issue being closed.
Where the project uses Jira issue links, an explicit "relates to" link is
stronger than free text.searchJiraIssuesUsingJql), and check merged PRs on GitHub — when PRs land on
a non-default integration branch the linked Jira issue is not auto-transitioned,
so a non-Done status does not mean "unfixed" (see driving-prs-to-merge for the
transition-on-merge sweep).transitionJiraIssue your own to <jira-done-status>/a Won't-Do resolution),
unless the original is low-quality — then enrich the original and close your
own as the dupe. The deterministic rule avoids negotiation; the exception
preserves the better content.Refs
back to the current issue/PR) instead of expanding the current PR. Imperative
operator phrasing ("update X") during a diagnostic session means "file an
issue specifying X" unless implementation is explicitly delegated.<claim-label> or assignee) at file time — see above.Not every issue arrives at the grooming bar. Recon is the cheap, sandboxed classification pass that moves a stub to exactly one terminal triage state.
An issue is untriaged when it carries a <component-labels> label but sits
in none of the terminal triage states. One recon pass moves it to exactly one
terminal state — prefer the Jira workflow status (<jira-ready-status> /
<jira-needs-input-status> / <jira-blocked-status>); fall back to the
<triage-labels> labels for projects whose workflow can't be customized. Be
explicit which you use:
| Terminal state | Mandatory companions | Must NOT have |
|---|---|---|
<jira-ready-status> / triage-ready-to-dispatch | lane label + Priority value | — |
<jira-needs-input-status> / triage-needs-spec-input | a multiple-choice question comment | lane label or Priority |
<jira-blocked-status> / triage-blocked | a comment naming the dependency | the ready status/label |
Encoding state in status (or labels) makes the queue queryable with one
searchJiraIssuesUsingJql call and readable by multiple operators without
shared memory. The companion requirements make partial classification
detectable: a terminal state missing its companions is corrupted state, and a
needs-input issue carrying lane/Priority gets picked up by careless filters as
if ready. The dispatch filter selects only the ready state — but status and
labels go stale (in one observed case the ready state persisted after another
operator claimed, double-locking four issues), so verify the assignee field is
empty (assignee is EMPTY) immediately before locking; see jira-issue-locking. The
ready bar is the filing grooming bar: the description alone lets an agent ship
with zero round-trips.
<cheap-model> — and when it must notCheap models ship subtle errors on open-ended work; they are safe only when the blast radius is capped and the task is mechanical. Recon qualifies only while all three properties hold:
If a recon brief violates any property — e.g. it also asks the agent to
rewrite the issue description — escalate that dispatch to <default-model>.
Allowed:
getJiraIssue PROJ-123 # title, description, labels, status, comments
searchJiraIssuesUsingJql "project = <jira-project-key> AND ..." # open issues / dedupe
git grep … # plus git log — read-only repo queries
gh pr list --state open --search "PROJ-123" # GitHub PRs cross-referencing the key
editJiraIssue PROJ-123 (add/remove label only, this issue)
addCommentToJiraIssue PROJ-123 "…"
transitionJiraIssue PROJ-123 → terminal triage status (this issue only)
Forbidden — on attempting any of these, stop and emit RECON-ERROR: <what was attempted>; silent recovery hides sandbox escapes from the orchestrator:
lookupJiraAccountId; see jira-issue-locking); a recon agent setting one forges a
claim that other operators will honor.Ordering encodes precedence: an ambiguous spec stalls before lane/Priority effort is spent; lane must be known before the lane-contention check; and Priority is computed only for issues that will actually dispatch. Stop-at-first-match keeps the task inside a cheap model's reliability envelope.
<decision-records>; OR a recorded
code/spec deviation with no resolution; OR a UI requirement with no anchor
in <design-source>.<shared-surfaces>
(purely additive changes, e.g. a new enum value, count as leaf). Use two
evidence sources: the issue's Affected-code/Files metadata AND git grep
for the requirement ID and adjacent identifiers — listed metadata goes
stale, and grep alone misses planned-but-unwritten files. Else leaf.Depends on PROJ-123 and
PROJ-123 is not Done; OR the spec references another requirement mapping to
an open issue (chase ONE transitive hop only — deeper chains blow the token
budget and rarely change the verdict); OR it is plumbing-lane while another
plumbing PR in flight touches the same file — parallel shared-surface PRs
(schema, migrations, tokens) reliably collide on merge.<subsystem-tiers> OR the text mentions <crown-jewel-invariant> OR
it is a bug with severity high/critical. High if partially implemented AND in
a core-tier subsystem. Medium otherwise.<jira-ready-status> (or add triage-ready-to-dispatch).
Done.Open-ended questions push spec-writing back onto the operator and stall the
queue indefinitely; multiple-choice with a write-in turns the reply into a
one-token unblock that recon mechanically consumes on re-run. One comment
(addCommentToJiraIssue):
**Recon stalled — 1 question for you:**
The spec says: > <quoted line, verbatim>
The agent would need to choose between:
- (a) <option a — concrete description>
- (b) <option b — concrete description>
- (c) <neither — describe what you want>
Reply with `(a)` / `(b)` / `(c) <your answer>`. The orchestrator will re-run
recon and dispatch.
Then move to <jira-needs-input-status> (or add triage-needs-spec-input) and
STOP — no lane label or Priority.
The recon agent ends with exactly one line:
RECON OK PROJ-123: ready-to-dispatch lane:<L> priority:<P>
RECON OK PROJ-123: needs-spec-input
RECON OK PROJ-123: blocked (PROJ-<dep>)
RECON-ERROR: <message>
Validate this line against the state actually set (getJiraIssue PROJ-123 —
status + labels) — agents can report RECON OK without performing the
mutations.
RECON-ERROR: token budget exceeded; never silently truncate — a truncated
classification looks like a verdict but is not one.Copy references/recon-brief.md verbatim at dispatch time, filling <>
placeholders — paraphrased briefs drift; an identical template makes
cheap-model fan-out safe and results comparable.
Your recon, triage, and coordination chatter runs in the same high-volume orchestration loop as the sibling skills — operate in caveman mode (load the caveman skill) for that working output to conserve tokens, keeping all machine-precise content byte-exact (labels/fields, JQL, gh/MCP commands, the RECON OK / RECON-ERROR contract, file:line refs, code blocks).
But the issue/ticket body IS the story — the durable artifact a human reads and an agent implements from. NEVER write it in caveman. Draft it in full natural prose, then run it through the humanizer skill before filing so it reads human-written, not AI-generated (it strips inflated phrasing, rule-of-three, em-dash overuse, vague attributions, and filler). Humanize the Symptom and Desired-behaviour narrative; leave the verified file:line evidence, the acceptance-criteria checklist, and the labels/fields exactly as specified — precision there beats prose.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub skyfox675/agents-skills --plugin agents-skills32 skills in this plugin
/browser-diagnosisReproduce and root-cause a front-end bug in a real browser using whichever browser MCP is connected — Chrome (claude-in-chrome), Playwright, Cypress, or Chrome DevTools — not just one. Drive the page as the signed-in user, watch the network and console, capture the failing request/response, shim/mock to isolate the fault, and record a repro, then hand the evidence to the issue being filed. Use whenever a symptom needs live-browser evidence (the toast says failed but it saved, a column shows zero, a click 404s) and from the /…-use-browser command family (and the engine-pinned /…-use-chrome, /…-use-playwright, /…-use-cypress variants), the /…-use-aws-browser commands, and the diagnostician agent. Picks the available MCP automatically and degrades gracefully when none is connected./cavemanUltra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested./ci-flake-huntingThe authoritative method for hunting, root-causing, and fixing CI flakes so the merge queue stops ejecting correct PRs and churn drops. A flake is a test that fails then passes on retry with NO code change explaining it — every red speculative merge-queue build ejects a correct PR and disarms its auto-merge, so a live flake taxes every PR behind it. Encodes the loop — MINE CI history for real flakes → REPRODUCE harsher-than-CI → ROOT-CAUSE the real mechanism (hydration/render race, settle race, mock-order, loading-state race, click-through fragility) → FIX FORWARD (test or component, never mask) → VERIFY by re-running many times → UNSTICK the PRs the flake stranded → REPEAT. And how to tell a true code flake from transient INFRA (CDN/mirror outage, expired token mid-suite, rate-limit/WAF, external-service cap, cloud state-lock, CI-provider billing/outage, upstream bump) which must NOT be code-fixed. Use whenever chasing CI instability, "deflake this spec", "CI keeps ejecting my PR", "is this a flake or real", a shard that intermittently reds the queue, or running the ci-flake-hunter lane. Distinct from ci-speed-hunting (which owns slow-but-green jobs — flake never touches timing/sharding)./ci-speed-huntingThe authoritative method for hunting, diagnosing, and fixing CI SLOWNESS so the merge queue drains faster and throughput rises — the target is wall-clock latency, NOT correctness (a job that is GREEN but slow). Encodes the loop — MINE CI timing for the real long poles → DIAGNOSE the bottleneck class (under-sharded matrix, cold cache, missing/too-broad path-filter tier, serial needs-chain, redundant rebuild) → PROVE the fix keeps identical coverage → FIX FORWARD → VERIFY the before/after delta at unchanged coverage → REPEAT. And the hard line — speed comes from doing the same work faster or skipping PROVABLY irrelevant work, NEVER from deleting tests, narrowing greps, dropping shards, or removing a gate. Use whenever chasing CI latency, "CI is too slow", "speed up the checks", "why does the merge queue take so long", re-sharding an E2E matrix, adding or fixing a cache, tuning changed-paths tiering, or running the ci-speed-hunter lane. Distinct from ci-flake-hunting (which owns failures and flakes — speed never touches a red job)./deploy-watchingSingle-lane interval watcher that keeps the integration environment's deploys healthy by fixing FORWARD — the deploy-health lane of a multi-agent fleet. Each tick it reads the newest deploy run, locates the red (deploy step vs post-deploy smoke), classifies it transient (concurrent-deploy state-lock race, CI-infra blip, known smoke transient) or real (deterministic IaC error, ordered co-deploy race, regression from a merged commit, contention inside the shared environment), re-runs the former, and mints a forward-fix PR for the latter that preserves the offending commit's intent — never a revert, never a skipped test. Loops on an interval ("/loop <interval> start"). Use when running a deploy lane, when the dev/staging deploy went red after a merge, when deciding whether a red deploy needs a re-run or a code fix, when the environment may be running stale code, or when `pr-checks` hands over a failure rooted in the integration branch rather than a PR's diff./dispatching-subagentsTurn a groomed tracker issue into a running implementation sub-agent and a merged PR — issue selection (priority, file-disjointness, bundling), model/effort resolution from chat > labels > defaults, the eight-section dispatch brief (worktree, toolchain prefix, pre-push hygiene, scope, git discipline, PR procedure, return contract), parallel dispatch under a concurrency cap, stalled-agent worktree salvage, and verify-then-trust completion checks. Use whenever you are about to spawn a sub-agent (Agent/Task tool call) to implement, fix, refactor, test, or otherwise write code from a tracker issue — even if the user only says "work the next issues", "fix these bugs", "run the loop", or "send an agent at #N" without saying "dispatch"; also use when a dispatched agent stalls, is watchdog-killed, returns status:failed, or reports completion and you must decide whether to salvage its worktree, re-dispatch, or verify its PR.Other plugins' skills for the same job