reality-verification

仓库创建 2026年1月12日最近提交 4 天前SkillHot 收录 21 天前
▸ 精选理由

明确区分“修复前复现”和“修复后验证”,提高修复可靠性与可验证性。

这个 Skill 做什么

指导在实现前后复现故障并验证修复效果的流程与判定规则。

指导如何在动手改代码前复现故障、改完后验证修复效果,包含复现步骤、判定规则和测试质量建议。用在要“确认修好了”或需要把修复做成可验证工单的时候,避免只靠 mock 测试导致假绿灯。特色是把验收标准和复现流程写清楚,帮你把修复前后弄到可比对的状态。

▸ 展开 SKILL.md 英文原文

This skill should be used when the user asks to "verify a fix", "reproduce failure", "diagnose issue", "check BEFORE/AFTER state", "VF task", "reality check", "check test quality", "mock-only tests", or needs guidance on verifying fixes by reproducing failures before and after implementation, or detecting mock-heavy test anti-patterns.

开发编程故障复现验证流程诊断指南通用
431
Stars
37
Forks
30
仓库内 Skill
+16
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/tzachbon/smart-ralph/main/plugins/ralph-specum/skills/reality-verification/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/tzachbon/smart-ralph/main/plugins/ralph-specum/skills/reality-verification/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Reality Verification

For fix goals: reproduce the failure BEFORE work, verify resolution AFTER.

## Goal Detection

Classify user goals to determine if diagnosis is needed. See `references/goal-detection-patterns.md` for detailed patterns.

**Quick reference:**
- Fix indicators: fix, repair, resolve, debug, patch, broken, failing, error, bug
- Add indicators: add, create, build, implement, new
- Conflict resolution: If both present, treat as Fix

## Command Mapping

| Goal Keywords | Reproduction Command |
|---------------|---------------------|
| CI, pipeline | `gh run view --log-failed` |
| test, tests | project test command |
| type, typescript | `pnpm check-types` or `tsc --noEmit` |
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有