跳到正文
cccskills
免费在 GitHub 公开

qa

Check code, documents, API responses, and other outputs against a defined quality bar. Receive a score, a pass, revise, or fail verdict, and practical suggestions, with observed behavior informing checks where applicable tools are available.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

General-purpose QA verdict for any artifact type

查看安装方法

适用场景

  • Checking code against acceptance criteria
  • Reviewing a document for missing content
  • Checking API responses against expectations
  • Rechecking an output after revisions

包含的文件(1)

  • SKILL.md6.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/ouroboros:qa

Fast single-pass quality verdict with actionable suggestions for any artifact: code, documents, API responses, test output, or custom content. For formal three-stage verification of an execution, use ooo evaluate.

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

The QA Judge scores the artifact against a quality bar on Correctness, Completeness, Quality, Intent Alignment, and Domain-Specific dimensions:

ScoreVerdictLoop action
>= 0.80PASSdone
0.40 - 0.79REVISEcontinue
< 0.40FAILescalate

Instructions

Loading MCP tools (deferred-schema guard)

Ouroboros tools may be deferred, and a schema loaded on one turn can unload by the next. Immediately before each ouroboros_* call, load it with the active runtime's tool-discovery capability: "+ouroboros qa" for ouroboros_qa. A call whose schema is not loaded fails with "Invalid tool parameters". If the tool is already callable, discovery is a no-op and an empty result is expected. Use the fallback only when the tool is genuinely absent; this skill works without MCP setup.

QA steps

  1. Artifact: a file path (read it with the active runtime's inspect_code capability), inline text, or else the most recent execution output; ask with ask_user if unclear.
  2. Quality bar: the Seed's acceptance criteria when a Seed is in context, else the user's stated bar; otherwise ask "What does 'good' mean for this artifact?"
  3. Artifact type: code, test_output, document, api_response, screenshot, or custom.

3.5. Acting verification fan-out (behavior-bearing artifacts): a text judge can be fooled by a hopeful log line. Use the active runtime's orchestrate_subagents capability to launch, together, one probe child per acting modality the runtime exposes: a process probe (run_shell: run the command or app or smoke commands with bounded timeouts, capture exit codes and real output), a browser probe (HTTP services and web UIs: load them, exercise the primary flows, capture rendering and console/network errors), a computer-use probe (GUI/TUI: drive it like a user, screenshot observed states), and an artifact probe (inspect_code: declared files exist with real content, not placeholders). Each probe returns structured evidence only (commands, observed effects, screenshots/paths, pass/fail per behavior) and covers the applicable adversarial classes the QA tool lists. Skip a modality only when its tools are absent or it is meaningless for the artifact, and say which were skipped and why. Await all probes and pass the merged evidence as reference; prefer observed behavior over source text as the artifact when they disagree.

  1. Call the 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>
    

    Plugin delegation: a response with status: "delegated_to_subagent" and dispatch_mode: "plugin" carries no verdict. Its content is the bridge's dispatch notice and its _subagent prompt is the child's input, never a result. Keep qa_session_id, await the plugin-spawned child, and parse its JSON verdict (score, verdict, dimensions, differences, suggestions, reasoning). No iteration_entry comes back, so derive the loop action as the tool does (score >= pass_threshold: done; >= 0.40: continue; else escalate) and build the entry yourself (iteration, score, verdict, loop_action). If the child returns no parseable verdict, say so instead of presenting the envelope.

  2. Present the score and verdict prominently, then dimension scores, specific differences, and actionable suggestions. Empirical evidence outranks the judge: if the judge scores PASS but a probe observed the behavior failing, present REVISE/FAIL on that evidence and say so. If nothing could act, flag that behavior was not observed. Pick the next action from the verdict:

    • PASS (done): proceed; the artifact meets the quality bar
    • REVISE (continue): address the suggestions, then run ooo qa again
    • FAIL (escalate): ooo interview to re-examine requirements, or ooo unstuck to challenge assumptions

Iterative QA

The first call returns qa_session_id and iteration_entry in meta. On later calls pass qa_session_id and the accumulated iteration_history. Continue until the verdict is pass or fail.

Fallback (no Ouroboros MCP server)

Adopt the qa-judge role yourself with the same prompt the MCP tool uses: $OUROBOROS_AGENTS_DIR/qa-judge.md when that override is set; else the installed package's copy, printed with run_shell:

uvx --isolated --python '>=3.12' --from ouroboros-ai python -c "import importlib.resources as r, sys; print(r.files('ouroboros.agents').joinpath(sys.argv[1]).read_text(encoding='utf-8'))" qa-judge.md

else src/ouroboros/agents/qa-judge.md in a source checkout.

If none is reachable, judge on the dimensions and thresholds above and label the verdict as an unaligned fallback. Run the step 3.5 probes first for behavior-bearing artifacts, render the verdict in the same shape the MCP tool returns (score, verdict, threshold, dimensions, differences, suggestions, reasoning, loop action), and keep the iterative contract with a qa-<uuid4_short> session id and an iteration count held in the conversation.

RFC #1392 State Breadcrumb Footer

End the final response with exactly one line ◆ <current state> → next: <recommended action>. Derive the state from live session state via ouroboros_session_status when available, otherwise from this skill's actual outcome. Never use a linear Step N of M footer; when the next step is a real choice, list 2-3 options.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

auto

免费

Turn a multi-file development task or technology migration into a specification with acceptance criteria, then launch background implementation and verification. The workflow clarifies missing requirements, reviews the specification, and tracks progress and blockers through linked jobs.

中文简介正在准备中。当前显示英语简介。

  • Implementing a feature across multiple files
  • Migrating a framework or programming language
  • Replacing authentication, storage, or API layers
Q00/ouroboros62482026年10月19日 更新

Register and search existing Git repositories and worktrees, then choose which projects Ouroboros interviews use as context. You can also generate a configuration containing verified build, test, and other check commands for the evaluation workflow.

中文简介正在准备中。当前显示英语简介。

  • Selecting existing projects as interview context
  • Finding registered repositories by topic
  • Rescanning after repositories are added or moved
Q00/ouroboros62482026年10月19日 更新

cancel

免费

Stop stuck Ouroboros executions or background jobs by ID, or cancel all running and paused executions in the current project. It reports whether cancellation is complete or has been requested, with guidance for checking the final status.

中文简介正在准备中。当前显示英语简介。

  • Stopping a stuck execution
  • Cancelling a background job by ID
  • Cancelling all active executions in a project
Q00/ouroboros62482026年10月19日 更新

evaluate

免费

Verify finished work against acceptance criteria using executable checks and a review of whether each requirement is met. Multiple models can review uncertain cases, and rejected work can enter an automated repair loop when the required Seed is available.

中文简介正在准备中。当前显示英语简介。

  • Checking finished work against its specification
  • Verifying observed behavior against acceptance criteria
  • Requesting multiple model reviews for uncertain results
Q00/ouroboros62482026年10月19日 更新

evolve

免费

Start and monitor an Ouroboros development loop that revises project concepts and acceptance criteria, the conditions for judging completion. Run and evaluate successive generations, focus revisions on failed criteria, inspect progress, or rewind to an earlier generation.

中文简介正在准备中。当前显示英语简介。

  • Refining a project through repeated execution and evaluation
  • Inspecting progress across generations
  • Rewinding a development loop to an earlier generation
Q00/ouroboros62482026年10月19日 更新

interview

免费

Turn a vague development idea into clear goals, constraints, and acceptance criteria through a guided interview. It checks unresolved decisions and confirms the agreed goal before moving toward a Seed, the requirements document used by Ouroboros.

中文简介正在准备中。当前显示英语简介。

  • Clarifying a vague idea before development
  • Defining completion criteria for a new feature
  • Agreeing on scope and constraints
Q00/ouroboros62482026年10月19日 更新

查看 Q00 的全部技能

报告此技能的问题