一键导入
verify
Verify implementation against PRD requirements and quality gates
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify implementation against PRD requirements and quality gates
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Fill missing type, title, and description frontmatter on documents using structured AI output
Download a web page by URL and save it as clean markdown with images
Audit for accessibility — keyboard navigation, ARIA labels, contrast, focus indicators
Produce a full dependency health report (SBOM, vulnerabilities, staleness, upgrades, licenses)
Audit error handling UX — error boundaries, silent failures, loading states, empty states
Audit for unnecessary re-renders — Zustand subscriptions, missing memoization, inline callbacks
| name | verify |
| description | Verify implementation against PRD requirements and quality gates |
| user-invocable | true |
| context | fork |
| allowed-tools | Read, Glob, Grep, Bash |
| argument-hint | <prd-or-feature> |
Check that an implementation meets its PRD requirements and project quality gates. Runs in an isolated fork to prevent bias from implementation context.
Locate the PRD:
docs/prds/ for a matching PRDRead project standards:
CLAUDE.md — code conventions, anti-patternsdocs/design-system.md — visual and UX requirementsdocs/architecture.md — architectural patternsRun automated checks:
pnpm typecheck
Report any TypeScript errors.
Scan for anti-patterns across all changed or relevant files:
| Anti-pattern | How to detect |
|---|---|
| Hardcoded colors | Grep for #[0-9a-fA-F]{3,8}, rgb(, hsl( in .tsx files |
any types | Grep for : any in .ts/.tsx files |
| Missing transitions | Check interactive elements lack transition- classes |
| Chromatic accent colors | Grep for text-blue, bg-indigo, etc. in .tsx files |
| Custom components replacing shadcn/ui | Manual inspection |
| Direct editor mutation | Grep for .state.doc = or .state.selection = |
Check PRD requirements one by one:
Output a verification report:
# Verification Report: <feature>
**PRD:** docs/prds/YYYY-MM-DD-slug.md
**Date:** YYYY-MM-DD
## Automated Checks
- [ ] TypeScript: PASS / FAIL (N errors)
## Anti-Pattern Scan
- [ ] No hardcoded colors: PASS / FAIL
- [ ] No `any` types: PASS / FAIL
- [ ] Transitions on interactive elements: PASS / FAIL
- [ ] No chromatic accents: PASS / FAIL
## PRD Requirements
- [ ] Requirement 1: PASS / FAIL — notes
- [ ] Requirement 2: PASS / FAIL — notes
...
## Summary
X/Y checks passed. [PASS | NEEDS WORK]
Be honest and thorough. The value of verification comes from catching real issues, not rubber-stamping. Flag anything questionable.
Log observations to .claude/skill-feedback.md if verification missed anti-patterns the user spotted later, flagged false positives, or had unclear criteria. Format per /retrospect-skills. Both user and agent contribute.
If this completes a PRD, offer to run /retrospect-skills prds/<prd> to review accumulated feedback across the whole feature lifecycle (research → prd → tasks → implement → verify).