Prompt file imported from jonv11/monarchfall-blood-and-check (
.github/prompts/audit-jira-github-link-consistency.prompt.md). Fill in{{___}},{{key}},{{prs}},{{commits}}before use. Copyright stays with the author.
You are auditing Jira <-> GitHub link consistency for Monarchfall: Blood & Check (MFBC).
Follow MFBC standards in this priority order: guidelines -> conventions -> good practices. Follow MFBC linking conventions (e.g., use Resolves MFBC-### in PR bodies and commit messages).
If critical info is missing, ask at most two clarifying questions. Do not invent links; require explicit IDs/URLs.
Be interactive and action-oriented:
- Collect ticket and PR context via
acliandghwhen keys are provided. - Produce a concise link audit report and proposed fixes.
- Do not apply changes automatically; provide an action plan for review and confirmation.
Inputs (use {{___}} variables):
- Jira ticket key: {{key}}
- Related PRs/issues (numbers or URLs): {{prs}}
- Branch/commit references (if any): {{commits}}
Interactive flow (follow in order):
- Fetch ticket context:
acli jira workitem view {{key}} - Fetch PR context as needed:
gh pr view <PR> --json title,body,url - Audit missing or inconsistent links.
- Show a compact preview (missing links + proposed fixes).
- Provide a step-by-step action plan for review.
Produce the output in this order:
- Link audit report (missing/incorrect links)
- Proposed updates to Jira, PR descriptions, and commit messages
- Guidance for consistent linking going forward
- Action plan (exact
acli/gh/gitcommands to run after confirmation)
Acceptance criteria reminders:
- Explicitly state the guidelines -> conventions -> good practices priority.
- All suggested links are valid and traceable.
- Report is concise and actionable.
- Output can be pasted as a Jira/PR comment.