Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计未展示

ring%3adev-validation环%3adev 验证

Agent Skill

ring%3adev-validation 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

857

周安装

35

GitHub Stars

180

下载量

277
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ring%3adev-validation(环%3adev 验证)
来源仓库:https://github.com/lerianstudio/ring
仓库路径:skills/ring%3Adev-validation
安装命令:
npx skills add https://github.com/lerianstudio/ring --skill ring:dev-validation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lerianstudio/ring --skill ring:dev-validation

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合验证实现是否符合需求。

  • 支持围绕代码变更与协作事项进行核对与反馈。
  • 通过 GitHub 仓库获取技能定义,需结合原始 README 确认具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网或文件操作。
  • ring%3adev-validation 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Dev Validation (Gate 5)

Overview

Final validation gate requiring explicit user approval. Present evidence that each acceptance criterion is met and obtain APPROVED or REJECTED decision.

Core principle: Passing tests and code review DO NOT guarantee requirements are met. User validation confirms implementation matches intent.

Pressure Resistance

See shared-patterns/shared-pressure-resistance.md for universal pressure scenarios.

Gate 5-specific note: User MUST respond with "APPROVED" or "REJECTED: [reason]". No other responses accepted. Silence ≠ approval.

Self-Approval Prohibition

HARD GATE: The agent that implemented code CANNOT approve validation for that same code.

ScenarioAllowed?Action
Different agent/human approvesYESProceed with approval
Same agent self-approvesnoSTOP - requires external approval
User explicitly approvesYESUser approval always valid

If you implemented the code, you CANNOT approve it. Wait for user or different reviewer.

Important: "Different agent" means different human/entity. The same human using different agent roles (ring:backend-engineer-* → ring:code-reviewer) is STILL self-approval and PROHIBITED.

See CLAUDE.md for the canonical validation policy.


Severity Calibration

When presenting validation results to user, issues are categorized by severity:

SeverityCriteriaExamplesAction Required
CRITICALAcceptance criterion completely unmetAC-1: "User can login" but login doesn't work at allMUST fix before approval. Return to Gate 0.
HIGHAcceptance criterion partially met or degradedAC-2: "Response < 200ms" but actually 800msMUST fix before approval. Return to Gate 0.
MEDIUMEdge case or non-critical requirement gapAC-3 met for happy path, fails for empty inputSHOULD fix before approval. User decides.
LOWQuality issue, requirement technically metCode works but is hard to understand/maintainMAY fix or document. User decides.

Severity Assignment Rules:

  • Unmet acceptance criterion = CRITICAL (requirement not satisfied)
  • Degraded performance/quality vs criterion = HIGH (requirement barely met)
  • Edge case failures = MEDIUM (main path works, edges don't)
  • Quality/maintainability with working code = LOW (works but suboptimal)

Why This Matters:

  • User needs to understand impact severity when deciding APPROVED vs REJECTED
  • CRITICAL/HIGH = automatic REJECTED recommendation
  • MEDIUM/LOW = user judgment call with context

Example Validation Checklist with Severity:

## Validation Results

| AC # | Criterion | Evidence | Status | Severity |
|------|-----------|----------|--------|----------|
| AC-1 | User can login | ✅ Tests pass, manual verification | MET | - |
| AC-2 | Response < 200ms | ⚠️ Measured 350ms average | not MET | HIGH |
| AC-3 | Input validation | ⚠️ Works for valid input, crashes on empty | PARTIAL | MEDIUM |
| AC-4 | Error messages clear | ✅ All errors have user-friendly messages | MET | - |

**Overall Validation:** REJECTED (1 HIGH issue: AC-2 response time)

**Recommendation:** Fix AC-2 (HIGH) before approval. AC-3 (MEDIUM) user can decide.

Common Rationalizations - REJECTED

See shared-patterns/shared-anti-rationalization.md for universal anti-rationalizations (including Validation section).

Gate 5-specific rationalizations:

ExcuseReality
"Async over sync - work in parallel"Validation is a GATE, not async task. STOP means STOP.
"Continue other tasks while waiting"Other tasks may conflict. Validation blocks all related work.
"User delegated approval to X"Delegation ≠ stakeholder approval. Only original requester can approve.
"I implemented it, I know requirements"Knowledge ≠ approval authority. Implementer CANNOT self-approve.
"I'll switch to QA role to approve"Role switching is STILL self-approval. PROHIBITED.

Red Flags - STOP

See shared-patterns/shared-red-flags.md for universal red flags (including Validation section).

If you catch yourself thinking any of those patterns, STOP immediately. Wait for explicit "APPROVED" or "REJECTED".


Ambiguous Response Handling

<block_condition>

  • Response is "Looks good", "Sure", "Ok", "Fine"
  • Response is emoji only (👍, ✅)
  • Response is "Go ahead", "Ship it"
  • Response contains conditional ("APPROVED if X", "APPROVED with caveats") </block_condition>

If any condition matches, ask for explicit APPROVED or REJECTED.

User responses that are not valid approvals:

ResponseStatusAction Required
"Looks good"❌ AMBIGUOUS"To confirm, please respond with APPROVED or REJECTED: [reason]"
"Sure" / "Ok" / "Fine"❌ AMBIGUOUSAsk for explicit APPROVED
"👍" / "✅"❌ AMBIGUOUSEmojis are not formal approval. Ask for APPROVED.
"Go ahead"❌ AMBIGUOUSAsk for explicit APPROVED
"Ship it"❌ AMBIGUOUSAsk for explicit APPROVED
"APPROVED"✅ VALIDProceed to next gate
"REJECTED: [reason]"✅ VALIDDocument reason, return to Gate 0
"APPROVED if X"❌ CONDITIONALNot approved until X is verified. Status = PENDING.
"APPROVED with caveats"❌ CONDITIONALNot approved. List caveats, verify each, then re-ask.
"APPROVED but fix Y later"❌ CONDITIONALNot approved. Y must be addressed first.

When user gives ambiguous response:

"Thank you for the feedback. For formal validation, please confirm with:
- APPROVED - to proceed with completion
- REJECTED: [reason] - to return for fixes

Which is your decision?"

Never interpret intent. Require explicit keyword.


Awaiting Approval - STOP all WORK

<cannot_skip>

  • STOP all work when validation request is presented
  • Wait for explicit APPROVED or REJECTED
  • Do not proceed with any "quick fixes" while waiting </cannot_skip>

When validation request is presented:

  1. STOP all WORK on this feature, module, and related code
  2. DO not proceed to documentation, refactoring, or "quick fixes"
  3. DO not work on "unrelated" tasks in the same codebase
  4. WAIT for explicit user response

User unavailability is not permission to:

  • Assume approval
  • Work on "low-risk" next steps
  • Redefine criteria as "already met"
  • Proceed with "we'll fix issues later"

Document pending status and WAIT.

Approval Format - MANDATORY

<user_decision> Valid responses:

  • "APPROVED" → Proceed to next gate
  • "REJECTED: [reason]" → Return for fixes </user_decision>

User MUST respond with exactly one of:

"APPROVED" - All criteria verified, proceed to next gate ✅ "REJECTED: [specific reason]" - Issues found, fix and revalidate

not acceptable:

  • ❌ "Looks good" (vague)
  • ❌ "👍" (ambiguous)
  • ❌ Silence (not a response)
  • ❌ "Approved with minor issues" (partial = REJECTED)

If user provides ambiguous response, ask for explicit APPROVED or REJECTED.


Prerequisites

Before starting this gate:

  • All tests pass (Gate 3 verified)
  • Code review passed (Gate 4 VERDICT: PASS)
  • Implementation is complete and stable

Steps 1-4: Evidence Collection and Validation

StepActionOutput
1. Gather EvidenceCollect proof per criterionTable: Criterion, Evidence Type (Test/Demo/Log/Manual/Metric), Location, Status
2. VerifyExecute verification (automated: npm test --grep "AC-X", manual: documented steps with Result + Screenshot)VERIFIED/FAILED per criterion
3. Build ChecklistFor each AC: Status + Evidence list + Verification methodValidation Checklist
4. Present RequestTask Summary + Validation Table + Test Results + Review Summary + ArtifactsUSER DECISION block with APPROVED/REJECTED options

Validation Request format:

VALIDATION REQUEST - [TASK-ID]
Task: [title], [description], [date]
Criteria: Table (Criterion | Status | Evidence)
Tests: Total/Passed/Failed/Coverage
Review: VERDICT + issue counts
Artifacts: Code, Tests, Docs links

USER DECISION REQUIRED:
[ ] APPROVED - proceed
[ ] REJECTED - specify: which criterion, what's missing, what's wrong

Steps 5-6: Handle Decision and Document

DecisionActionsDocumentation
APPROVED1. Document (Task, Approver, Date, Notes) → 2. Update status → 3. Proceed to feedback loopValidation Approved record
REJECTED1. Document (Task, Rejector, Date, Criterion failed, Issue, Expected vs Actual) → 2. Create remediation task → 3. Return to Gate 0 → 4. After fix: restart from Gate 3 → 5. Track in feedback loopValidation Rejected + Remediation Required records

Validation Record format: Date, Validator, Decision, Criteria Summary (X/Y), Evidence Summary (tests/manual/perf), Decision Details, Next Steps

Validation Best Practices

CategoryStrong EvidenceWeak Evidence (avoid)
Evidence QualityAutomated test + assertion, Screenshot/recording, Log with exact values, Metrics within threshold"Works on my machine", "Tested manually" (no details), "Should be fine", Indirect evidence
Verifiable Criteria"User can login" → test login + verify session"System is fast" → needs specific metric
"Page loads <2s" → measure + show metric"UX is good" → needs measurable criteria

Handling Partial Validation

If some criteria pass but others fail:

  1. Do not partially approve
  2. Mark entire validation as REJECTED
  3. Document which criteria passed (won't need re-verification)
  4. Document which criteria failed (need fixes)
  5. After fixes, re-verify only failed criteria
  6. Present updated checklist for approval

Anti-Patterns

Never:

  • Skip validation because "tests pass"
  • Auto-approve without user decision
  • Assume criterion is met without evidence
  • Accept vague approval ("looks good")
  • Proceed while awaiting decision
  • Reuse old evidence for new changes

Always:

  • Present evidence for every criterion
  • Require explicit APPROVED/REJECTED decision
  • Document rejection reason in detail
  • Track validation metrics
  • Re-verify after any changes

Execution Report

Base metrics per shared-patterns/output-execution-report.md.

MetricValue
DurationXm Ys
Criteria ValidatedX/Y
Evidence CollectedX automated, Y manual
User DecisionAPPROVED/REJECTED
Rejection Reason[if applicable]
ResultGate passed / Returned to Gate 0

Edge Cases

ScenarioAction
User UnavailableDocument pending → Do not proceed → Set escalation → Block task completion
Criterion AmbiguitySTOP → Ask user to clarify → Update AC → Re-verify with new understanding
New RequirementsDocument as new req → Complete current validation on original AC → Create new task → no scope creep

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

33.59%
按下载量换算93

Claude

29.84%
按下载量换算83

Cursor

19.4%
按下载量换算54

Gemini CLI

10.81%
按下载量换算30

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills