Agent skill
z-tools
Review GitHub pull requests with Jira context using local `prdump`, `jiradump`, and `gh` tools. Use when a user asks for a PR review by providing a PR URL and Jira ticket URL(s), or when a PR description references Jira IDs/URLs that should be pulled for additional context.
Install this agent skill to your Project
npx add-skill https://github.com/dreikanter/dotfiles/tree/main/config/codex-skills/z-tools
SKILL.md
Z Tools
Overview
Review PRs by combining prdump output, Jira ticket context via jiradump, and a branch diff from gh pr diff using only PR/Jira URLs.
Tools
prdump <pr_url>: Dumps PR title, branch, description, discussion, reviews, and inline review comments.prcopy <pr_url>: Copiesprdumpoutput to clipboard.jiradump <jira_url_or_key>: Dumps Jira ticket details and comments.jiracopy <jira_url_or_key>: Copiesjiradumpoutput to clipboard.gh pr diff <pr_url>: Prints the PR diff using the PR URL.
Workflow
- Run
prdump <pr_url>and capture the PR title, description, discussion, reviews, and inline review comments. - Extract Jira IDs/URLs from the user-provided Jira URLs and the PR description (e.g.,
ABC-123or Jira URLs). - De-duplicate the Jira list and run
jiradumpfor each relevant ticket to gather context. - Fetch the diff with
gh pr diff <pr_url>(PR URL only; do not require repo/branch inputs). - Review the PR using:
- Jira context (intent, acceptance criteria, risks).
- Diff (logic changes, tests, edge cases, regressions).
- PR discussion and review comments (address concerns or missing follow-ups).
Diagnostics
If prdump or jiradump report missing tools or auth, provide brief setup instructions:
ghmissing:brew install gh, thengh auth login.jiramissing:brew install jira-cli, thenjira init.- Auth errors (e.g., “not logged in”): run the appropriate login/init command.
Output Expectations
Summarize findings, highlight risks, and list actionable feedback with references to relevant diff sections or Jira requirements. Keep the response concise and review-focused.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
circleci
Fetch CircleCI CI status, test failures, and job logs for a GitHub PR. Use when checking if a PR passed CI, fetching test errors, or investigating CI failures.
notes
Create and access notes in date-based archive. Create notes with auto-incremented IDs, generate daily todos with task rollover, find latest notes by type (note/todo/backlog/weekly), search by ID/slug/tags/content.
jiradump
Dump Jira ticket details and comments using the local `jiradump` CLI tool. Use when a user wants to inspect a Jira ticket by URL or key (e.g., ABC-123).
prdump
Dump GitHub PR details (title, branch, description, discussion, reviews, inline comments) using the local `prdump` CLI tool. Use when a user wants to inspect or review a PR by URL.
z-tools
Review GitHub pull requests with Jira context using local `prdump`, `jiradump`, and `gh` tools. Use when a user asks for a PR review by providing a PR URL and Jira ticket URL(s), or when a PR description references Jira IDs/URLs that should be pulled for additional context.
eod
Generate a daily EOD report and save it as a note. Optional arg: date in free format (e.g. 'yesterday', '2d ago', 'last Friday', '2026-03-05').
Didn't find tool you were looking for?