在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用test-coverage
星标0
分支1
更新时间2026年5月25日 14:19
New code has associated tests
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
New code has associated tests
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| id | quality-gate-design |
| title | Quality Gate Design |
| version | 1 |
| purpose | Define the quality gates appropriate for a project type, establishing concrete pass/fail criteria for each gate. |
| when_to_use | ["At the start of a new project to establish quality standards","When a new project type needs custom gates","When existing gates are insufficient for the project's requirements"] |
| when_not_to_use | ["Mid-project (gates should be defined before work begins)","For trivial projects where the universal minimum gates are sufficient"] |
| required_inputs | ["Project type and description","Acceptance criteria from task briefs","docs/quality-gates.md (existing gates to reuse or extend)"] |
| outputs | ["templates/QUALITY_GATES.template.md (updated if new patterns)","state/runs/<run-id>/quality-gates.md (project-specific gate config)"] |
| related_docs | ["docs/quality-gates.md","AGENTS.md §9"] |
| escalation | If the required quality standards exceed what the current agent team can verify (e.g., legal compliance, security audits), document this gap and request human expert review. |
Produce a quality gate configuration that is concrete, measurable, and appropriate for the project type — not generic, not aspirational.
All projects must pass:
From docs/quality-gates.md, load gates for the project type:
| Project type | Additional gates |
|---|---|
| Software | test-coverage, no-regressions, api-docs, deployable |
| Research | citations-present, contradictions-addressed, synthesis-complete |
| Data | schema-valid, data-quality-metrics, reproducible-pipeline |
| Docs | internal-links-valid, accuracy-reviewed, sign-off |
| Automation | integration-tested, idempotent, rollback-documented |
For each gate, define:
gate_id: test-coverage
name: Test Coverage
description: New code has associated tests
pass_criteria:
- All new public functions have at least one test
- All new error paths have a negative test
- No existing tests are broken
fail_criteria:
- Any new public function without a test
- Any failing existing test
evidence_required:
- Test run output showing pass
- Coverage report (if available)
retry_budget: 2
Each gate must have an owner agent:
state/runs/<run-id>/quality-gates.md:
# Quality Gates: <run-id>
Project type: <type>
## Gate: <name>
Status: pending | pass | fail
Owner: <agent>
Pass criteria:
-
Evidence:
-
Notes:
If new gate patterns were designed, update templates/QUALITY_GATES.template.md for future reuse.