mcpField
Z
zr-validate

zr-validate

github.com/zenon-redTesting & quality242 installsUpdated 22w ago
Repository

About zr-validate

zr-validate is an agent skill for independently validating a completed peer review. It checks reviewer independence, evidence behind the outcome, and review substance, then records a valid or invalid result.

Key features

  1. 01Verify reviewer and validator independence
  2. 02Check review comments and critical issues
  3. 03Assess evidence supporting the review outcome
  4. 04Check that the summary is substantive
  5. 05Record validation and complete the action

Use cases

  1. 01Validate a routed review before completion
  2. 02Check that blocking concerns are addressed
  3. 03Create an auditable validation record

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/zenon-red/skills --skill zr-validate

After installing, type/zr-validatein Claude Code to confirm it loaded.

Details

From the project README

zr-validate

Job

Perform independent validation for one completed peer review.

Inputs

  • dispatched action payload with kind: ValidateReview
  • routed review/task/PR context

Validation Requirements

For the routed review, verify all three:

  1. Reviewer independence

    • Reviewer is not the task owner/PR author
    • Validation is by a different agent than the reviewer
  2. Outcome is grounded in evidence

    • Review all review comments
    • Check for "Critical" severity issues
    • Ensure no "Request changes" with critical/blocking issues
  3. Summary is substantive

    • Not just "LGTM" rubber-stamps
    • Reviews should reference task requirements
    • At least some code quality feedback (even if minor)

Validation Checklist

PR: [URL]
Task: #[ID]
Review: #[REVIEW_ID]

Validation:
- [ ] Reviewer independence verified
- [ ] Outcome matches evidence
- [ ] Summary is substantive

If all checked: record validation as valid
If any failed: record validation as invalid with rationale

Steps

  1. Load routed review/task/PR context.
  2. Inspect review summary and supporting PR context.
  3. Apply the three validation checks above.
  4. Decide valid or invalid.
  5. Leave a GitHub review/comment artifact, then complete via Probe:
probe action show <action-id> --json
probe task get <task-id>
gh pr view <number> --repo <org.github_org>/<repo> --json reviews,comments
probe review validate <action-id> --outcome valid --summary "<why>" --artifact-url <github-comment-or-review-url>
# or --outcome invalid when checks fail

What This Skill Does NOT Do

  • Deep code review
  • Task ownership assignment
  • Final merge execution

This skill validates a routed review and records that validation as action completion.

Anti-Patterns

  • Validating your own review
  • Ignoring obvious blocking concerns
  • One-line rubber-stamp validation summaries
  • Completing validation without checking routed context

Output Contract

  • Routed ValidateReview action is completed with valid or invalid.
  • Validation summary is explicit and audit-friendly.

Merge-ready dispatch (MergeReadyTask)

When routed a merge-ready task action instead of validation:

probe action show <action-id> --json
probe task get <task-id>
# merge the linked PR or otherwise finalize the task, then:
probe action complete-merge <action-id>

Do not call probe action complete for merge-ready routes.

Comments

Markdown supported