AgentSkillsCN

Ci Cd Review

CI/CD评审。

SKILL.md

SKILL: ci-cd-review

Purpose

Review diffs + pipelines, produce actionable checklist, and ensure merge readiness.

When to Use

  • When the task matches: CI/CD & PR Review

Inputs

  • Task: (string) what to do
  • Context: (logs, stack traces, file paths, snippets)
  • Constraints: (must keep behavior, must pass lint/build, security limits)

Outputs

  • Fix plan + exact edits (file-by-file)
  • Commands to verify (PowerShell preferred)
  • Risk notes + rollback steps

Tooling

  • Primary: PowerShell, Node.js (npm), Git
  • Secondary: Python (optional)

Procedure (Gold Standard)

  1. Reproduce / confirm error (command + expected output)
  2. Identify root cause (single sentence + evidence)
  3. Apply minimal patch (small diff)
  4. Verify (lint/build/test)
  5. Cleanup (remove unused imports, format, docs)
  6. Provide PR-ready summary

Guardrails

  • Avoid broad refactors unless necessary
  • Never disable lint/test as “fix” without explicit approval
  • Keep changes localized; prefer small commits

Acceptance Criteria

  • npm run lint passes
  • npm run build passes
  • Feature still works (smoke test)