agentleFS
datashamandatashaman/code-skills/skills/audit-jira/SKILL.md

audit-jira

Skill1 starsChanged 7 months agoMITView on GitHub

Jira project health audit via the Atlassian MCP. Identifies velocity trends, backlog rot, bug clusters, assignee concentration risk, and firefighting patterns. Requires the Atlassian MCP to be connected. Use when asked to "audit jira", "project health", "backlog analysis", or "team velocity".

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call mcp__atlassian__getAccessibleAtlassianResources to get the list of Atlassian sites.

    line 25
  2. Very specific:

    Call mcp__atlassian__searchJiraIssuesUsingJql for each of the five queries below.

    line 29
  3. Distinctive:

    If frequent: signals unreliable releases, missing test coverage, or a fragile deploy process

    line 98
  4. Distinctive:

    If absent: either the team is stable, or priority/label discipline is inconsistent — check a sample of recent issues before concluding …

    line 99
  5. Very specific:

    Write the report into the skill's own directory, under a subfolder named after the project key.

    line 112
  6. Distinctive:

    If assignee concentration is concerning, call it out prominently

    line 237
  7. Distinctive:

    Ask if they want to drill deeper into any specific area (e.g.

    line 238

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Jira Project Health Audit

Query five dimensions of Jira data to build a picture of team health, backlog quality, and delivery risk.

Uses the Atlassian MCP (mcp__atlassian__*). The user must have the Atlassian MCP connected and authenticated before running.

Arguments

  • project (required): Jira project key (e.g. ENG, PLAT). Can be passed positionally — /audit-jira ENG.
  • since (optional): JQL date expression for the analysis window (default: "-52w").

Steps

0. Resolve the cloud ID

Call mcp__atlassian__getAccessibleAtlassianResources to get the list of Atlassian sites. Use the id field of the first result as cloudId for all subsequent calls. If multiple sites are returned, ask the user which one to use.

1. Gather raw data

Call mcp__atlassian__searchJiraIssuesUsingJql for each of the five queries below. Use maxResults: 100 and page via nextPageToken until exhausted for each query.

Velocity / throughput — completed issues in the window:

jql: "project = $PROJECT AND statusCategory = Done AND resolutiondate >= $SINCE ORDER BY resolutiondate ASC"
fields: ["key", "issuetype", "assignee", "priority", "resolutiondate", "labels", "components"]

Backlog health — all open issues ordered oldest first:

jql: "project = $PROJECT AND statusCategory in ('To Do', 'In Progress') ORDER BY created ASC"
fields: ["key", "issuetype", "summary", "assignee", "priority", "status", "created", "labels", "components", "story_points"]

Bug clusters — all bugs in the window:

jql: "project = $PROJECT AND issuetype = Bug AND created >= $SINCE ORDER BY created ASC"
fields: ["key", "summary", "assignee", "priority", "status", "resolutiondate", "labels", "components", "created"]

Assignee concentration — all issues in the window:

jql: "project = $PROJECT AND created >= $SINCE ORDER BY created ASC"
fields: ["key", "issuetype", "assignee", "status", "priority"]

Firefighting patterns — high-priority and escalation-labeled issues:

jql: "project = $PROJECT AND (priority in (Highest, High) OR labels in (hotfix, urgent, escalation, incident)) AND created >= $SINCE ORDER BY created DESC"
fields: ["key", "summary", "priority", "labels", "assignee", "created", "resolutiondate", "status"]

2. Analyze each dimension

For each area, produce a short analysis section by aggregating the returned issue data.

Velocity & Throughput

  • Count completed issues per month: group resolutiondate by YYYY-MM
  • Break down by issue type (story, task, bug, spike)
  • Identify the trajectory: growing, stable, declining, erratic
  • Flag sharp drops or spikes and hypothesize causes (staff changes, release crunches, holidays)
  • Note current velocity relative to the period average

Backlog Health

  • Count total open issues, split by status (To Do vs In Progress)
  • Age distribution: bucket by created date — 0-30d / 30-90d / 90-180d / 180d+
  • Unestimated items: issues with no story_points value
  • Unassigned items: issues with no assignee
  • Stale in-progress: items in In Progress status with created > 14 days ago and no recent activity signal
  • Priority skew: what fraction are High/Highest vs lower priorities

Bug Clusters

  • Group bugs by components and labels, count per group
  • Calculate bug ratio: bugs as a percentage of all completed work in the window
  • Cross-reference with backlog: open bugs that are also old and unassigned are highest-risk
  • Flag any component with a disproportionate share (2x+ the median)
  • Note if bug volume is growing or shrinking month-over-month

Assignee Concentration

  • Group all issues in the window by assignee, count completed and in-progress separately
  • Calculate what percentage of work the top assignee accounts for
  • Flag single-assignee risk: if one person accounts for 40%+ of in-progress work, that's a bus factor concern
  • Identify unassigned work: issues with no owner
  • Note contributors active in earlier months but absent recently

Firefighting Patterns

  • Count P0/P1 (Highest/High) issues and hotfix/escalation/incident-labeled items
  • Calculate frequency (e.g. "2 incidents per month")
  • Flag if volume is increasing month-over-month
  • If frequent: signals unreliable releases, missing test coverage, or a fragile deploy process
  • If absent: either the team is stable, or priority/label discipline is inconsistent — check a sample of recent issues before concluding stability

3. Cross-reference and synthesize

Combine findings across all five dimensions:

  • Danger zones: Components with high bug counts AND old backlog items AND a single assignee. Highest-risk areas
  • Team health signals: Is velocity stable? Are issues distributed? Is knowledge shared or siloed?
  • Process signals: Are firefighting events increasing? Do bugs cluster around specific components or time periods?
  • Backlog rot indicators: Items bumped repeatedly but never done. Stale in-progress with no owner. Unestimated work aged 90d+

4. Generate the report

Write the report into the skill's own directory, under a subfolder named after the project key. Full path: {skill-base-dir}/{project-key}/YYYY-MM-DD-audit.md. Create the subfolder if it doesn't exist.

# Jira Project Health Audit

**Date**: [date] | **Project**: [key] | **Window**: [since period] | **Total issues in window**: [count]

## Executive Summary

[3-5 bullet points capturing the most important findings. Lead with risks.]

## Risk Matrix

| Risk | Severity | Evidence | Recommendation |
|------|----------|----------|----------------|
| [risk name] | HIGH/MEDIUM/LOW | [data point from the analysis] | [actionable next step] |

---

## 1. Velocity & Throughput

| Month | Completed | Stories | Bugs | Tasks | Spikes |
|-------|-----------|---------|------|-------|--------|

[ASCII bar chart of monthly completions]

**Trajectory**: [growing / stable / declining / erratic]
**Current velocity vs period average**: [above / at / below]

[Notable inflection points and hypothesized causes]

---

## 2. Backlog Health

**Total open issues**: [N] ([X] To Do, [Y] In Progress)
**Unestimated**: [N] ([X]%)
**Unassigned**: [N] ([X]%)

### Age distribution
| Age bucket  | Count | % of backlog |
|-------------|-------|-------------|
| 0-30 days   | N     | X%          |
| 30-90 days  | N     | X%          |
| 90-180 days | N     | X%          |
| 180+ days   | N     | X%          |

### Stale in-progress (>14 days)
| Issue | Summary | Assignee | Days in progress |
|-------|---------|----------|-----------------|

**Analysis**: [interpretation]

---

## 3. Bug Clusters

### Bugs by component
| # | Component | Bug count | % of all bugs |
|---|-----------|-----------|--------------|

### Bugs by label
| # | Label | Bug count |
|---|-------|-----------|

**Bug ratio**: [N]% of completed work was bugs (window average)

### Highest-risk areas (bugs + stale backlog)
| Component/Label | Bug count | Open bugs | Oldest open | Primary assignee |
|----------------|-----------|-----------|-------------|-----------------|

**These areas are the top candidates for dedicated attention or test investment.**

---

## 4. Assignee Concentration

### All work in window
| # | Assignee | Issues | % of total |
|---|----------|--------|------------|

### Current in-progress
| # | Assignee | Issues | % of in-progress |
|---|----------|--------|-----------------|

### Knowledge gap analysis
[Assignees active earlier in the window but absent recently, what they likely owned]

---

## 5. Firefighting Patterns

**Total P0/P1 issues**: [N] in [time window]
**Hotfix/escalation/incident labels**: [N]
**Frequency**: [X per month/quarter]

| Issue | Summary | Priority | Created | Resolved | Assignee |
|-------|---------|----------|---------|----------|---------|

[Analysis of what this signals about release process and stability]

---

## Cross-Reference Analysis

### Danger zones
[Components/areas that score badly across multiple dimensions — the highest-value findings]

### Positive signals
[Areas that show health — steady velocity, distributed ownership, low bug rate]

---

## Recommendations

1. [Most urgent action based on findings]
2. [Second priority]
3. [Third priority]

5. Present findings

  • Tell the user where the report was saved
  • Lead with the executive summary and risk matrix
  • Highlight the cross-referenced danger zones — these are the highest-value findings
  • If assignee concentration is concerning, call it out prominently
  • Ask if they want to drill deeper into any specific area (e.g. read the actual stale issues, trace a specific assignee's workload, analyze a specific danger zone component)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.