AgentSkillsCN

Quality Gate Management

质量门管理

SKILL.md

Quality Gate Management

Skill Purpose: Define, enforce, and report quality gates for testing, security, and performance.


Core Skill Pattern

Objective: Ensure releases meet agreed standards before promotion.

Universal Pattern:

  1. Define gate criteria (tests, coverage, security)
  2. Map gates to CI checks
  3. Enforce pass/fail policies
  4. Document exceptions and approvals
  5. Report gate status per release

Key Decisions (Project-Specific):

  • Gate thresholds and owners
  • Exception and override process
  • Required evidence for approvals

Project-Specific Implementation Notes

Customize per project:

  • Align gates with department quality policies
  • Keep gates minimal but meaningful

Example Gate Checklist

code
- Unit tests pass
- Coverage >= 80%
- Security scan has no high severity issues
- Performance budget within limits

Best Practices

  1. Keep gates measurable and automated
  2. Tie gates to business risk
  3. Limit manual overrides
  4. Publish gate status in release notes
  5. Review gates quarterly

Stop Conditions

STOP and escalate if:

  • Gate criteria are undefined
  • Overrides are undocumented
  • CI cannot enforce gates

Skill Version: 1.0.0