Jira pr verify

From MoonLadderStudios/MoonMind · View interactive version

Jira pr verify is an AI agent skill from the GitHub repository MoonLadderStudios/MoonMind. Verify a GitHub pull request against a Jira issue's goals, requirements, and acceptance criteria, then post a PR comment with the findings. Use when a user asks to compare a PR to a Jira story/task/bug, confirm whether a PR satisfies Jira requirements, audit implementation coverage from Jira, or pub

How to use this skill

Skill file

Read the portable acceptance policy from the resolved moonspec-verify bundle

before assessing, verifying, or completing work. Resolve it at

$MOONMIND_ACTIVE_SKILLS_DIR/moonspec-verify/references/acceptance-policy.md

inside MoonMind; outside MoonMind resolve it from the installed skills directory

(the directory containing this SKILL.md, sibling

moonspec-verify/references/acceptance-policy.md) without requiring

MoonMind-only environment variables. A checked-in .agents/skills directory

must never shadow the selected snapshot.

It owns scope, mandatory versus optional evidence, reuse, and completion rules.

Preserve the original scope and previously met requirements as regression constraints;

prior reports are context, not current proof. Candidate success alone cannot close

or transition an issue as already landed. Completion requires objective evidence

on the intended completion target under that policy.

Jira PR Verify

Verify whether a PR satisfies the linked Jira issue and publish a concise PR comment with evidence-backed findings.

Inputs

The GitHub app/connector is a fallback only, because connector installation

visibility can differ from the managed runtime's GITHUB_TOKEN.

MoonMind Access Model

Do not expect raw Jira credentials inside the managed agent shell. MoonMind intentionally keeps ATLASSIAN_* secrets on the trusted control-plane/tool side. Use Jira artifacts or trusted Jira tool output as the source of truth.

If Jira content is not already available to the managed agent, first use MoonMind's trusted Jira MCP tool path when it is exposed to the runtime; see

the provider command catalog for the

selected-provider invocation shapes, and load it only when calling that path.

If jira.verify_connection reports jira_auth_failed, stop as blocked and report that MoonMind's trusted Jira credential is invalid, expired, or using the wrong auth mode. If jira.get_issue is unavailable, denied by policy, or the runtime does not expose $MOONMIND_URL, stop as blocked and report that the task must run a trusted Jira fetch/import step first. Do not scrape a private Atlassian browser page, infer hidden acceptance criteria from a branch name, or ask for ATLASSIAN_API_KEY in the agent environment.

Never print raw environment variables while troubleshooting. Use targeted checks

such as test -n "$GITHUB_TOKEN" or the preflight from

the provider command catalog; do not run

printenv, env, set, or equivalent commands that can dump secret values

into workflow logs.

For MoonMind workflow plans, the correct shape is:

  1. Trusted Jira fetch/import step materializes normalized Jira issue artifacts.
  2. Managed agent step uses this skill with those artifacts plus the PR URL.
  3. Managed agent uses gh with the runtime-provided GITHUB_TOKEN to inspect and comment on the PR.

GitHub Access Policy

Use gh as the primary and authoritative GitHub path for this skill.

Before declaring GitHub access blocked, run the preflight checks from the managed

agent shell (see the provider command catalog

for the bundled-helper and equivalent gh invocation shapes; load it only

when running preflight).

If gh can view the repository and PR, continue with gh even if the GitHub

app/connector returns 404 or cannot list the repository. A connector 404 only

means the connector installation cannot see that repo from this session; it is

not evidence that the runtime GITHUB_TOKEN lacks access.

Only use the GitHub app/connector after one of these is true:

When both gh and the connector are available, prefer gh for PR metadata,

diff, checks, and comments; see the provider command catalog

for the exact invocation shapes.

Workflow

  1. Resolve targets.
  1. Load Jira requirements.
  1. Inspect the PR.
  1. Build a traceability ledger before commenting.
  1. Decide the overall result.
  1. Draft the PR comment.

Suggested comment shape:

Jira verification for `<ISSUE>` against this PR: **<PASS|PARTIAL|FAIL|BLOCKED>**

| Jira item | Status | Evidence |
| --- | --- | --- |
| <goal / AC summary> | met | `<file>` / `<test>` / CI check |

Notes:
- <gap, blocker, or scope note>

Validation:
- CI: <checks observed>
- Local tests: <commands run or not run>
  1. Scan and post.

Outputs

Failure Modes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.