Skip to content
Back to skills

Validate

ASecurity

You are validating that a GitHub issue's problem has been fully resolved by the current branch's implementation.

  • 15 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 9, 2026
testinggobashgit

Works with

  • mcp

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add synesenom/ran --skill validate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Validate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Validate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/synesenom-validate/badge)](https://www.skillsdirectory.com/skills/synesenom-validate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Validate Skill

You are validating that a GitHub issue's problem has been fully resolved by the current branch's implementation.

## Core Principle

Verify that every acceptance criterion in the issue is satisfied by the actual code changes and that all tests pass. This is a post-implementation check — it does not fix anything, it only reports pass/fail.

## Workflow

When the user invokes `/validate <#issue>` or `/validate <issue-url>`:

### 1. Load the Issue

- If a GitHub issue number is provided, fetch it: `gh issue view <number>` (or `mcp__github__issue_read`)
- If no argument is provided, infer the issue from the current branch name (e.g. `42-add-log-series-distribution` → issue #42)

Read the issue title, body, and acceptance criteria.

### 2. Extract Acceptance Criteria

Parse the issue body for acceptance criteria (checkboxes, "Acceptance Criteria" sections, numbered lists).

> **Issue #<number>: <title>**
>
> Acceptance criteria:
> 1. <criterion 1>
> 2. <criterion 2>

### 3. Gather Implementation Context

First sync the fresh upstream ref without touching the local `main` branch: `git fetch origin main`.

Then run these in parallel:
- `git diff origin/main...HEAD` — full diff
- `git log origin/main..HEAD --oneline` — commits

Also spawn the **discovery-thoughts** agent to find any related plan or research.

### 4. Verify Each Criterion

For each criterion:

a. **Read the relevant code** — use Glob and Grep to find it
b. **Trace the logic** — confirm the behavior matches what was requested
c. **Check for tests** — verify tests exercise this criterion
d. **For new distributions**, verify:
   - Entry added to `test/dist-cases.js` with `invalidParams`, `params`, and `cases`
   - Distribution exported from `src/dist/index.js`
   - `npm test` passes (KS/chi-squared test passes for sample output)

Mark each as PASS or FAIL with a brief explanation.

### 5. Run Tests

```bash
npm run standard
npm test
```

If tests fail, mark the test section as FAIL and include the failure output.

### 6. Generate Report

> **Validation: Issue #<number> — <title>**
>
> **Acceptance Criteria:**
>
> | # | Criterion | Status | Evidence |
> |---|-----------|--------|----------|
> | 1 | <criterion> | PASS/FAIL | <file:line or explanation> |
>
> **Tests:**
> - Linting (npm run standard): PASS/FAIL
> - Test suite (npm test): PASS/FAIL
>
> **Verdict: PASS / FAIL (<N> criteria unmet, <M> test failures)**

### 7. Next Steps

- **PASS**: "Validation passed. Issue #<number> is fully resolved by this branch."
- **FAIL**: "Validation failed. <N> criteria unmet: ..."

## Rules

### DO:
- Check EVERY criterion
- Be specific about where each criterion is satisfied
- Run the full test suite even if criteria look good

### DO NOT:
- Fix issues — only report them
- Skip running tests
- Mark a criterion as PASS without concrete evidence in the code

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.