Github issue to jira

From MoonLadderStudios/MoonMind · View interactive version

Github issue to jira is an AI agent skill from the GitHub repository MoonLadderStudios/MoonMind. Review an open GitHub issue for a selected repository against the current codebase, then either close it as already implemented with an evidence comment, label it needs clarification with an explanatory comment, or create a fleshed-out Jira story in the requested board/project when the remaining wor

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.

GitHub Issue to Jira

Triage one open GitHub issue against the selected repository and take exactly one terminal action:

Do not implement code changes as part of this skill. The skill is for issue review, classification, GitHub issue mutation, and Jira story creation.

Inputs

If the repository, issue, or Jira board target is ambiguous, resolve it from available context and tool metadata. If it remains ambiguous, classify as blocked rather than guessing.

Access Model

Use gh as the primary GitHub path when available; see

the provider command catalog for the

selected-provider read/preflight invocation shapes, and load it only when

calling that path.

Use a GitHub connector only when gh is unavailable or unauthenticated.

For Jira, prefer MoonMind's trusted Jira MCP/tool surface or connector. Do not expect raw Jira credentials in the agent shell and do not ask for ATLASSIAN_* secrets. Use project/board metadata tools before creating the story so required fields and issue type IDs are validated.

Never print raw environment variables. Use targeted checks such as test -n "$GITHUB_TOKEN" or trusted-tool health calls; do not run printenv, env, set, or equivalent commands that can expose secrets. Do not use bare heredocs (e.g. << 'EOF' > file); use cat << 'EOF' > file or the write_file tool.

Workflow

  1. Resolve and validate the GitHub issue.
  1. Inspect the codebase.
  1. Build an evidence ledger before mutating anything.
  1. Decide the terminal action.

Do not both create Jira and add needs clarification. Do not close the GitHub issue unless the implemented verdict is evidence-backed.

GitHub Close Path

When the issue is already implemented:

  1. Draft a GitHub comment that starts with the result and summarizes how the request is satisfied.
  2. Include a compact evidence table with files, tests, commits, or merged PRs.
  3. Include tests observed or explain why tests were not run.
  4. Scan the outgoing comment for secret-like patterns: ghp_, github_pat_, ATATT, AIza, AKIA, private key blocks, token=, password=, and Authorization:.
  5. Post the comment, then close the issue (see

the provider command catalog for the

selected-provider invocation shapes).

If posting succeeds but closing fails, report partial success and the sanitized close error.

Needs Clarification Path

When the issue is not fully implemented and the remaining work is unclear:

  1. Ensure the repository has a needs clarification label. Create it only if the authenticated GitHub path permits label creation.
  2. Draft a comment explaining:
  1. Scan the comment for secret-like patterns.
  2. Apply the needs clarification label and post the comment, using

the provider command catalog when calling

through gh.

If label creation fails because the label already exists, continue by applying it. If labeling or commenting fails due to permissions, return blocked with the sanitized GitHub error.

Jira Story Path

When the remaining work is clear:

  1. Resolve the Jira target board/project.
  1. Compose a complete story from the GitHub issue and codebase evidence.
  1. Create the Jira story through the trusted Jira tool surface.

Artifacts

Write local artifacts when possible:

The ledger should include the issue identity, repository state, evidence statuses, terminal action, mutation attempts, created Jira key/URL if any, and tests run or skipped.

Output

Return a concise result with:

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.