证据快照复核于 2026-09-05GitHub 数据核对日期: 2026-08-21
来源已审查独立 Skill编码与审查编码与审查 Profile

qa

依据质量标准评估代码、文档、测试输出、API 响应及其他工件。

快速了解

它能做什么

依据质量标准评估代码、文档、测试输出、API 响应及其他工件。

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

能力
编码与审查code-quality测试

选择前先看

Ouroboros QA 是一个独立的单次质量评审技能。它会识别验收标准,从正确性、完整性、质量、意图一致性和领域特定问题等维度评分,并给出 PASS、REVISE 或 FAIL 结论及可执行的后续建议。对于具有实际行为的工件,若宿主提供相应工具,技能说明会要求进行实证探测。

适合谁

需要对工件或最近执行输出获得结构化 QA 结论的开发者和评审者。

常见任务

  • 依据验收标准审查代码改动。
  • 评估测试或 CI 输出是否足以支持发布决策。
  • 检查规格说明、README、API 载荷或自定义工件的完整性与质量。

权限与数据

该技能可能检查提供的工件,并在可用时使用宿主工具进行验证。

权限
  • 读取指定文件或工件文本。
  • 使用或发现可用的 Ouroboros QA MCP 工具。
  • 对于具有实际行为的项目,可能执行受限的 Shell、浏览器、桌面或工件探测。
数据处理
  • 工件内容和探测到的结果会用于生成 QA 结论。
  • 提供的文档未声明数据保留、存储或共享方式。
外部服务
  • 可用时可能使用 Ouroboros QA MCP 服务。
凭据
  • 提供的技能文档未声明凭证要求。

局限

  • 需要质量标准;如果上下文中没有,技能会要求用户说明。
  • 实际行为的观察取决于宿主中可用的工具和 MCP 服务。
  • 当 QA MCP 工具不可用时会使用文本评判回退模式,因此可能无法观察实际行为。

DSHub 已核对

  • 固定版本的技能文档定义了结构化评分和 PASS/REVISE/FAIL 阈值。
  • 源提交已固定,且技能文档采集硬检查通过。
  • 仓库许可证已识别为 MIT。

DSHub 未核对

  • DSHub 未安装或执行此技能。
  • 未验证所引用 QA MCP 工具的可用性和行为。
  • 提供的证据未声明 Harness 版本范围。

固定版本安装

主要操作

这个独立 Skill没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。

访问源码项目

维护者原文

Skill 使用说明

查看 commit 03714ba 对应的 SKILL.md
维护者编写的上游内容原文于 2026/9/5skills/qa/SKILL.md 获取,正文和仓库相对媒体固定到 commit 03714ba44618,内容哈希为 11cd687ab582。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。

name: qa description: "General-purpose QA verdict for any artifact type"

/ouroboros:qa

Standalone quality assessment for any artifact — code, documents, API responses, test output, or custom content. Unlike ooo evaluate (3-stage formal verification pipeline), ooo qa is a fast single-pass verdict with actionable suggestions.

Usage

ooo qa [file_path | artifact_text]
ooo qa                                     # evaluate recent execution output
/ouroboros:qa [file_path | artifact_text]   # plugin mode

Trigger keywords: "ooo qa", "qa check", "quality check"

How It Works

The QA Judge evaluates an artifact against a quality bar and returns a structured verdict:

  1. Parse the Quality Bar — What EXACTLY must be true to pass?
  2. Assess Dimensions — Correctness, Completeness, Quality, Intent Alignment, Domain-Specific
  3. Render Verdict — Score (0.0-1.0) with PASS / REVISE / FAIL
  4. Determine Loop Actiondone (pass), continue (revise), escalate (fail)

Verdict Thresholds

Score Range Verdict Loop Action
>= 0.80 PASS done
0.40 - 0.79 REVISE continue
< 0.40 FAIL escalate

Instructions

When the user invokes this skill:

Step 0: Determine execution mode

This skill works in two modes. Determine which one before attempting any tool calls:

  • MCP mode — If the QA MCP tool is available (already exposed, or loadable via discovery), use it:

    tool discovery query: "+ouroboros qa"
    

    If found (typically named mcp__plugin_ouroboros_ouroboros__ouroboros_qa), proceed with QA Steps below.

  • Fallback mode — Only if the QA MCP tool is genuinely absent (no Ouroboros MCP server) skip to the Fallback section; an empty discovery result for an already-exposed tool is expected — call it directly rather than falling back. This skill is designed to work without MCP setup.

QA Steps (MCP mode)

  1. Determine the artifact to evaluate:

    • If user provides a file path: Read the file with Read tool
    • If user provides inline text: Use that directly
    • If no artifact specified: Look for the most recent execution output in conversation context
    • Ask user if unclear what to evaluate
  2. Determine the quality bar:

    • If a seed YAML is available in context: Extract acceptance criteria from it
    • If user specifies a quality bar: Use that
    • If neither: Ask the user "What does 'good' mean for this artifact?"
  3. Determine artifact type:

    • code — source code files
    • test_output — test results, CI output
    • document — specs, docs, READMEs
    • api_response — API responses, JSON payloads
    • screenshot — visual artifacts
    • custom — anything else

3.5. Acting verification fan-out — probe in parallel, then judge (do not skip for behaviour-bearing artifacts): A text judge can be fooled by a hopeful log line. When the artifact actually does something (code, an app, an API, a UI), fan out empirical probes using the host's native parallel sub-agent primitive — one probe sub-agent per acting modality the runtime actually exposes, all spawned in the same message so they run concurrently:

  • process probe (Bash/shell): run the command / start the app / run the declared smoke commands with bounded timeouts; capture exit codes and real output.
  • browser probe (browser-use tools, when the artifact serves HTTP or is a web UI): load it, click the primary flows, capture what actually renders and any console/network errors.
  • computer-use probe (desktop computer-use tools, when the artifact is a GUI/TUI): drive it like a user, screenshot the observed states.
  • artifact probe (file reads): verify declared files/paths exist with real content, not placeholders. Each probe returns structured evidence only — commands run, observed effects, screenshots/paths, pass/fail per probed behaviour. Every probe also hits the applicable adversarial classes (the QA tool lists them): misleading_output (claimed success vs. real effect), hung_command (bounded timeout?), malformed_input, stale_state, dirty_worktree. Skip a modality only when its tools are absent or the artifact type makes it meaningless — and say which modalities were skipped and why.

Await all probes, then pass the merged evidence into the judge as reference (prefer observed behaviour over source text as the artifact when they disagree). Empirical evidence outranks the judge: if the judge scores PASS but any probe observed the behaviour failing, present the verdict as REVISE/FAIL on that evidence and say so explicitly — a score contradicted by observation is not a pass. If no acting tools are available at all, judge on the text alone but flag that behaviour was not observed.

  1. Call the ouroboros_qa MCP tool:

    Tool: ouroboros_qa
    Arguments:
      artifact: <the content to evaluate>
      quality_bar: <what 'pass' means>
      artifact_type: "code"  (or other type)
      reference: <observed-behaviour evidence from step 3.5, plus any reference>
      pass_threshold: 0.80  (adjustable)
      seed_content: <seed YAML if available>
    
  2. Present results clearly:

    • Show the score and verdict prominently
    • List dimension scores
    • Highlight specific differences found
    • Show actionable suggestions
    • End with next step guidance based on verdict:
      • PASS (done): Next: Your artifact meets the quality bar. Proceed with confidence.
      • REVISE (continue): Next: Address the suggestions above, then run ooo qa again to re-check.
      • FAIL (escalate): Next: Fundamental issues detected. Consider ooo interview to re-examine requirements, or ooo unstuck to challenge assumptions.

Iterative QA Loop

For iterative usage, track the qa_session_id and iteration_history from the response meta:

  1. First call returns qa_session_id and iteration_entry in meta
  2. On subsequent calls, pass qa_session_id and accumulated iteration_history
  3. Continue until verdict is pass or fail

In fallback mode, generate a qa-<uuid4_short> session ID on the first run and maintain iteration count in conversation context to preserve the same iterative contract.

Fallback (No MCP Server)

If the MCP server is not available, adopt the ouroboros:qa-judge agent role directly:

  1. Read the canonical agent definition: <project-root>/src/ouroboros/agents/qa-judge.md (This is the same prompt used by the MCP QA tool, ensuring consistent verdicts.)
  2. Run the same acting-verification fan-out as step 3.5 (parallel probe sub-agents per available modality; empirical evidence outranks the judge) before judging behaviour-bearing artifacts.
  3. Follow the QA Judge framework to evaluate the artifact
  4. Output the verdict in the standard format (must match MCP output shape):
QA Verdict [Iteration N]
========================
Session: qa-<id>
Score: X.XX / 1.00 [PASS/REVISE/FAIL]
Verdict: pass/revise/fail
Threshold: 0.80

Dimensions:
  Correctness:      X.XX
  Completeness:     X.XX
  Quality:          X.XX
  Intent Alignment: X.XX
  Domain-Specific:  X.XX

Differences:
  - <specific difference>

Suggestions:
  - <actionable fix>

Reasoning: <1-3 sentence summary>

Loop Action: done/continue/escalate

Example

User: ooo qa src/main.py

QA Verdict [Iteration 1]
============================================================
Session: qa-a1b2c3d4
Score: 0.72 / 1.00 [REVISE]
Verdict: revise
Threshold: 0.80

Dimensions:
  Correctness:           0.85
  Completeness:          0.60
  Quality:               0.75
  Intent Alignment:      0.80
  Domain-Specific:       0.60

Differences:
  - Missing error handling for network timeout in fetch_data()
  - No input validation on user_id parameter
  - Type hints missing on 3 public functions

Suggestions:
  - Add try/except with TimeoutError in fetch_data() (line 42)
  - Add isinstance check for user_id at function entry
  - Add return type annotations to get_user(), fetch_data(), process_result()

Reasoning: Core logic is correct but lacks defensive programming
patterns expected for production code.

Loop Action: continue

Next: Address the suggestions above, then run `ooo qa` again to re-check.

RFC #1392 State Breadcrumb Footer

Your final response MUST end with exactly one breadcrumb footer line:

◆ <current state> → next: <recommended action>

Derive <current state> from live session state via ouroboros_session_status when that MCP projection is available; otherwise derive it from this skill's actual outcome. Never use a linear Step N of M footer because Ouroboros is an evolutionary loop. When the next action is genuinely a choice, list 2-3 honest options in the next: clause. The breadcrumb line must be the last line of the response.

有意识地管理

安装与管理

前置条件与目标 Profile

目标 编码与审查 Profile

交付方式 Skill 文件 — https://raw.githubusercontent.com/Q00/ouroboros/03714ba446186423dcb46e25d12bd19c3a2e82f6/skills/qa/SKILL.md

兼容性与访问范围

Skill document captured; runtime tool availability is conditional. Not declared in supplied evidence

检查兼容性证据

风险事实

tool-use

May direct the host to read files and run empirical QA probes with available shell, browser, or desktop tools.

证据
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

人工已批准

在核对来源内容和不可变发布记录后,已由人工批准发布。AI 参与了内容草稿生成,最终发布决定由人工完成。

人工审查于 2026/9/5 UTC 17:19GitHub 事实核对日期: 2026/9/5 UTC 16:31

自当前证据基线以来,没有记录到重要源码变化。

下一步

比较生态 Artifact 类型

订阅重要变化: qa