Skip to content
Back to skills

Prd Check

ASecurity

Run PRD validation to check story quality, test coverage, and structure.

  • 38 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 10, 2026
developmentbashapifrontendbackendsecurity

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add allierays/agentic-loop --skill prd-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prd Check?

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

Security grade badge for Prd Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/allierays-prd-check/badge)](https://www.skillsdirectory.com/skills/allierays-prd-check)

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
---
description: Run PRD validation to check story quality, test coverage, and structure.
---

# PRD Check

Run PRD validation on demand to check story quality, test coverage, and structure before starting the autonomous loop.

## Instructions

When the user runs `/prd-check`, validate their PRD file.

### Step 1: Check PRD Exists

```bash
ls -la .ralph/prd.json 2>/dev/null || echo "NOT_FOUND"
```

If no PRD exists, tell the user:
> No PRD found at `.ralph/prd.json`. Generate one first with `/idea` or `/prd`.

**STOP** if no PRD found.

### Step 2: Run Validation (dry-run)

Run validation without auto-fix so you can present results and let the user decide:

```bash
npx ralph prd-check --dry-run 2>&1
```

### Step 3: Present Results

Show the validation output to the user. If there are issues, summarize them clearly.

If issues were found, ask:
> "Would you like me to fix these issues in the PRD?"

**STOP and wait for user response.**

If the user says yes, read `.ralph/prd.json`, fix the issues following PRD best practices (executable testSteps with curl/pytest/playwright, apiContract for backends, testUrl for frontends, security criteria for auth stories, pagination for list endpoints), and write the fixed file back.

## Notes

- This is the same validation that runs automatically at `ralph run` startup
- `--dry-run` skips auto-fix so you have control over what changes
- Custom checks in `.ralph/checks/prd/` are also evaluated
- Run this before `ralph run` to catch and fix issues interactively

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.

Comments

Loading comments…

Newsletter

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