Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

ralph-verify-acceptance-criteria拉尔夫验证验收标准

Agent Skill

ralph-verify-acceptance-criteria 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

514

周安装

21

GitHub Stars

公开资料未说明

下载量

166
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ralph-verify-acceptance-criteria(拉尔夫验证验收标准)
来源仓库:https://github.com/ralphcrisostomo/nuxt-development-skills
仓库路径:skills/ralph-verify-acceptance-criteria
安装命令:
npx skills add https://github.com/ralphcrisostomo/nuxt-development-skills --skill ralph-verify-acceptance-criteria
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ralphcrisostomo/nuxt-development-skills --skill ralph-verify-acceptance-criteria

简介

用于查找、检索与验收标准相关的文档或规范要求。

  • 适合在项目交付前核对功能实现是否符合预期条件。
  • 可结合 PRD 或测试用例快速匹配关键指标。
  • 需确认数据来源可靠性,避免引用过时或错误信息。
  • 建议与实际代码变更交叉验证,确保一致性。ralph-verify-acceptance-criteria 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Ralph Verify Acceptance Criteria Skill

Verify that a user story implementation satisfies every acceptance criterion in scripts/ralph/prd.json. Produces a structured pass/fail report and optionally updates the PRD.

When to Use

  • After Ralph completes a user story — verify before marking passes: true
  • When the user asks to audit or re-verify existing implementations
  • To check if a specific acceptance criterion is met
  • To generate a verification report across all stories

Workflow

1. Load the PRD

Read scripts/ralph/prd.json from the project root. Parse the userStories array.

If the user specifies a story ID (e.g., "verify US-005"), target that story. If no story is specified, find the highest-priority story where passes: true that hasn't been verified yet, or ask the user which story to verify.

2. Detect UI Story

Before classifying individual criteria, determine if this story involves UI. Scan the story title, description, and acceptance criteria for any of these signals:

  • UI keywords: page, component, layout, modal, form, card, table, badge, button, tab, drawer, sidebar, header, nav, dialog, toast, skeleton, avatar, dropdown, menu, list, grid
  • File paths: .vue files, app/pages/, app/components/, app/layouts/
  • Nuxt UI components: UCard, UButton, UBadge, UTable, USkeleton, UModal, UInput, UForm, UDropdown, UTabs, UAvatar, etc.
  • Behavioral language: renders, displays, shows, visible, clicks, navigates, responsive, mobile, dark mode, screenshot

If any signal matches, mark the story as a UI story. Browser verification is mandatory for UI stories — it cannot be skipped or deferred.

3. Classify Each Acceptance Criterion

For each acceptance criterion, determine the verification strategy:

Pattern in criterionStrategyTool
"Create file", "Add file"File existsGlob/Read
"middleware", "composable", "component", "page", "layout"File exists + content checkRead + Grep
"Typecheck passes"Typecheckbun run lint via Bash
"tf:plan", "terraform", "Terraform module"Terraform planbun run tf:plan:staging
"GraphQL schema", "Add query", "Add mutation", "Add type"Schema checkGrep on schema.graphql
"resolver", "function module", "pipeline resolver"Terraform config checkGrep on main.tf and terraform/functions/
"Wire up", "datasource"Terraform wiringGrep on main.tf
"UCard", "UButton", "UBadge", "USkeleton" etc.Component usageGrep in target Vue file
General behavior descriptionsCode reviewRead the relevant file and verify logic

Browser verification is not a per-criterion classification — it is driven by the UI story detection in Step 2.

4. Execute Verifications

Run checks in this order. Browser verification runs first because it catches the most impactful issues (broken renders, missing elements, runtime errors) that static checks miss.

A. Browser Verification (UI Stories)

Run this phase first for any story detected as UI in Step 2. Use the /dev-browser skill:

  1. Start the dev server if not running: bun run dev &
  2. Start the browser: ./skills/dev-browser/server.sh &
  3. Auth setup:

- Regular pages: set auth-role=user cookie + ?dev-bypass query param - Admin pages: use demo account (.envDEV_DEMO_EMAIL / DEV_DEMO_PASSWORD)

  1. Navigate to the target page
  2. Verify checklist:

- Page renders without console errors - Expected UI elements are visible (cards, tables, buttons, badges, forms) - Key interactions work (clicks, navigation, form submission) - Responsive layout if criteria mention mobile

  1. Take screenshots as evidence

B. File Existence Checks

For criteria mentioning file creation, use Glob to confirm files exist. Read key files to verify they contain expected patterns (component names, function signatures, imports).

C. Code Content Checks

For behavioral criteria, Read the relevant source files and verify:

  • Expected functions/methods exist
  • Required imports or composable calls are present
  • Correct patterns are used (e.g., definePageMeta({layout: 'admin', middleware: ['admin']}))
  • GraphQL query strings are defined
  • Resolver functions contain expected DynamoDB operations

D. GraphQL Schema Checks

For schema-related criteria, Grep terraform/envs/staging/schema.graphql for:

  • Type definitions (type AdminStats)
  • Query/mutation declarations (getAdminStats, adminDeleteUser)
  • Field definitions with correct types
  • Input arguments

E. Terraform Infrastructure Checks

For infrastructure criteria:

  • Grep terraform/envs/staging/main.tf for module declarations
  • Grep terraform/envs/staging/lambda_function.tf for Lambda resources
  • Check terraform/functions/ for resolver JS files
  • Check terraform/lambda/src/ for Lambda handler code
  • If the user wants a full terraform validation, run bun run tf:plan:staging (requires AWS credentials)

F. TypeScript / Lint Check

For "Typecheck passes" criteria, run:

bun run lint 2>&1 | tail -20

Check exit code. If it fails, capture and report the errors.

5. Generate Verification Report

Output a structured report. Browser verification appears first to reflect execution priority:

## Verification Report: US-XXX — [Story Title]

### Acceptance Criteria Results

| # | Criterion | Status | Evidence |
|---|-----------|--------|----------|
| 1 | Browser verification | PASS | Screenshot: page renders, elements visible |
| 2 | Create middleware file | PASS | File exists at `app/middleware/admin.ts` |
| 3 | Non-admin redirect | PASS | Line 8: `navigateTo('/')` with toast |
| 4 | Typecheck passes | PASS | `bun run lint` exit code 0 |

### Summary
- **Passed:** 4/4
- **Failed:** 0/4
- **Overall:** PASS

For failed criteria, include specific details about what's missing or incorrect, with file paths and line numbers.

6. Update PRD (Optional)

If all criteria pass and the user confirms, update scripts/ralph/prd.json: set "passes": true and add "verifiedAt": "<ISO timestamp>". If any criteria fail, do NOT update — list remediation steps instead.

Batch Verification Mode

When asked to "verify all stories" or "audit the PRD":

  1. Load all stories from prd.json
  2. Filter to stories where passes: true (already claimed complete)
  3. Run verification on each story sequentially
  4. Output a summary table:
| Story | Title | Claimed | Verified | Issues |
|-------|-------|---------|----------|--------|
| US-001 | Admin middleware | PASS | PASS | - |
| US-003 | Admin layout | PASS | FAIL | Missing mobile drawer test |

Quick Check Mode

When the user says "quick verify" or "verify without browser", static checks (file existence, code patterns, schema, terraform, typecheck) run immediately. For UI stories, browser verification is marked as DEFERRED in the report — the story cannot be marked passes: true until browser verification completes. Run deferred browser checks later with "verify browser US-XXX".

Key Project Paths

AreaPath
Pagesapp/pages/
Componentsapp/components/
Middlewareapp/middleware/
Composablesapp/composables/
Layoutsapp/layouts/
GraphQL queriesapp/graphql/
Schematerraform/envs/staging/schema.graphql
Resolver functionsterraform/functions/
Lambda handlersterraform/lambda/src/
Terraform configterraform/envs/staging/main.tf
Lambda TF configterraform/envs/staging/lambda_function.tf
Types / PRDtypes/, scripts/ralph/prd.json

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.26%
按下载量换算55

Claude

33.25%
按下载量换算55

Cursor

19.6%
按下载量换算33

Gemini CLI

10.41%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills