用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Q00/ouroboros --skill qa命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | qa |
| description | General-purpose QA verdict for any artifact type |
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.
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"
The QA Judge evaluates an artifact against a quality bar and returns a structured verdict:
done (pass), continue (revise), escalate (fail)| Score Range | Verdict | Loop Action |
|---|---|---|
| >= 0.80 | PASS | done |
| 0.40 - 0.79 | REVISE | continue |
| < 0.40 | FAIL | escalate |
When the user invokes this skill:
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.
Determine the artifact to evaluate:
Determine the quality bar:
Determine artifact type:
code — source code filestest_output — test results, CI outputdocument — specs, docs, READMEsapi_response — API responses, JSON payloadsscreenshot — visual artifactscustom — anything else3.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:
Bash/shell): run the command / start the app / run
the declared smoke commands with bounded timeouts; capture exit codes and
real output.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.
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>
Present results clearly:
Next: Your artifact meets the quality bar. Proceed with confidence.Next: Address the suggestions above, then run ooo qa again to re-check.Next: Fundamental issues detected. Consider ooo interview to re-examine requirements, or ooo unstuck to challenge assumptions.For iterative usage, track the qa_session_id and iteration_history from the response meta:
qa_session_id and iteration_entry in metaqa_session_id and accumulated iteration_historypass or failIn 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.
If the MCP server is not available, adopt the ouroboros:qa-judge agent role directly:
<project-root>/src/ouroboros/agents/qa-judge.md
(This is the same prompt used by the MCP QA tool, ensuring consistent verdicts.)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
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.
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.