{"slug":"quality-metrics-design","title":"quality-metrics-design","summary":"Use this skill when you need evidence-bounded quality metric definitions, calculation rules, data sources, freshness, and anti-gaming boundaries; triggers include 质量指标 and quality metric.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-09-24T14:55:12.510495Z","repo":{"url":"https://github.com/naodeng/awesome-qa-skills","stars":312,"forks":41,"license":null,"updatedAt":"2026-11-19T15:36:01Z"},"bodyHtml":"<hr>\n<h2>name: quality-metrics-design\ndescription: Use this skill when you need evidence-bounded quality metric definitions, calculation rules, data sources, freshness, and anti-gaming boundaries; triggers include 质量指标 and quality metric.</h2>\n<h1>Quality Metrics Design</h1>\n<h2>When to Use</h2>\n<ul>\n<li>Use this skill when you need evidence-bounded analysis, design, or validation preparation for quality metric definitions, calculation rules, data sources, freshness, and anti-gaming boundaries.</li>\n<li>Use it to review a plan, result, or metric and turn the review into executable improvements.</li>\n<li>Use it when input is incomplete but a bounded first pass with assumptions, gaps, and human-decision boundaries is still useful.</li>\n</ul>\n<h2>Output Format Options</h2>\n<ul>\n<li>Default to Markdown organized by domain risk, evidence state, priority, and boundary.</li>\n<li>When the user requests tables, CSV, JSON, or ticket fields, preserve the same finding fields, evidence, and decision boundaries.</li>\n<li>Before machine consumption, confirm the schema, enums, required fields, and evidence sources.</li>\n</ul>\n<h2>How to Use</h2>\n<ol>\n<li>Read and follow <code>prompts/quality-metrics-design.md</code>, including its input audit, domain coverage, and output order.</li>\n<li>Extract scope, environment, version, time window, constraints, success criteria, and available evidence, with attention to metric definition, numerator and denominator, data source, freshness, interpretation limits.</li>\n<li>Separate confirmed facts, evidence-backed inferences, candidate recommendations, and Human decisions before ranking by risk and evidence strength.</li>\n<li>Turn high-risk items into preconditions, steps, expected behavior or decision criteria, required evidence, and a validation method.</li>\n<li>When input is incomplete, deliver a bounded first pass, state unsupported conclusions, and never present static material as execution evidence.</li>\n</ol>\n<h2>Reference Files</h2>\n<ul>\n<li>Always read <code>prompts/quality-metrics-design.md</code>; it is the complete execution specification for this skill.</li>\n<li>For evaluation, read <code>evals/eval.yaml</code> and the matching cases under <code>evals/cases/</code>.</li>\n<li>Load <code>references/</code>, <code>examples/</code>, <code>scripts/</code>, or <code>output-formats.md</code> only when those directories exist and the task needs them.</li>\n</ul>\n<h2>Core Constraints</h2>\n<ul>\n<li>Keep the analysis focused on quality metric definitions, calculation rules, data sources, freshness, and anti-gaming boundaries; do not replace business owners or Human risk acceptance, exception approval, or release decisions.</li>\n<li>Never invent system behavior, fields, metrics, thresholds, data, root causes, execution records, or pass claims.</li>\n<li>Static design, plans, file presence, or a dry run retain their evidence state and cannot become proof of real execution.</li>\n<li>When evidence is insufficient, use pending confirmation, blocked, unassessed, or NOT_SCORED and give the smallest validation method.</li>\n<li>For production, privacy, or security work, use least privilege, masked data, mocks, dry runs, or isolation.</li>\n</ul>\n<h2>Delivery Checklist</h2>\n<ul>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Covered metric definition, numerator and denominator, data source, freshness, interpretation limits, with source, evidence state, and validation method for each.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Separated facts, inferences, candidate recommendations, gaps, and Human decisions.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Gave high-risk items P0/P1/P2/P3 or an equivalent priority, owner role, and close condition.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Did not turn plans, static checks, or dry runs into test execution, all-passed, or release-approved claims.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Stated residual risk, stop/escalation conditions, and next actions.</li>\n</ul>\n<h2>Common Pitfalls</h2>\n<ul>\n<li>Listing checks without triggers, expected concerns, owner roles, close conditions, and evidence.</li>\n<li>Treating adjacent metrics or tool names as a complete quality metric judgment.</li>\n<li>Using unexplained numbers for false precision or writing correlation as causation.</li>\n<li>Refusing incomplete input, or pretending that incomplete evidence is conclusive.</li>\n</ul>\n<h2>Best Practices</h2>\n<ul>\n<li>Start with paths most likely to cause business loss, quality regression, or decision blockage.</li>\n<li>Use the smallest verifiable experiment to reduce uncertainty and record conditions, versions, sources, and evidence.</li>\n<li>Make the Skill independently installable, executable, and reviewable by another engineer.</li>\n</ul>\n","files":[{"path":"agents/openai.yaml","sizeBytes":310,"isText":true},{"path":"evals/cases/basic-success.yaml","sizeBytes":1447,"isText":true},{"path":"evals/cases/domain-method-regression.yaml","sizeBytes":1756,"isText":true},{"path":"evals/cases/edge-incomplete-input.yaml","sizeBytes":944,"isText":true},{"path":"evals/cases/edge-scope-boundary.yaml","sizeBytes":983,"isText":true},{"path":"evals/eval.yaml","sizeBytes":489,"isText":true},{"path":"evals/fixtures/check_domain_decisions.py","sizeBytes":3930,"isText":true},{"path":"evals/fixtures/check-domain-decisions.sh","sizeBytes":95,"isText":true},{"path":"evals/fixtures/domain-oracle.json","sizeBytes":263,"isText":true},{"path":"evals/local-rules.json","sizeBytes":141,"isText":true},{"path":"evals/trigger-prompts.csv","sizeBytes":600,"isText":false},{"path":"prompts/quality-metrics-design.md","sizeBytes":5662,"isText":true},{"path":"references/domain-decision-example.md","sizeBytes":1730,"isText":true},{"path":"SKILL.md","sizeBytes":5449,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-10-29T21:50:41.097477Z","sha256":"6D78A85A980DA22409DD590B29014224CE3E9FD75267BD2659798A1FD33F245C","sizeBytes":12493},"review":null,"source":{"repositoryUrl":"https://github.com/naodeng/awesome-qa-skills","path":"skills/en/testing-types/quality-metrics-design","license":null,"commit":"055c630962cd06b238d3d369d383985683432110","subtreeSha":"E4E6ED4B5994370F53FEE7CD22ECC1134881460303082BC63F6694F25A0E4545","lastSyncedAt":"2026-11-19T20:13:24.591546Z"},"reviewedAt":"2026-10-29T22:00:33.872406Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/quality-metrics-design"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install naodeng-awesome-qa-skills@llmmart"},{"target":"git","command":"git clone https://github.com/naodeng/awesome-qa-skills.git"}]}