AgentSkillsCN

build-validator

验证本地或CI构建、测试和lint运行;解读失败;报告通过/失败及下一步。当被要求运行或验证构建/测试/lint命令、确认可重复性或分类CI日志时使用。

SKILL.md
--- frontmatter
name: build-validator
description: Validate local or CI builds, tests, and lint runs; interpret failures; report pass/fail and next steps. Use when asked to run or verify build/test/lint commands, confirm reproducibility, or triage CI logs.

Build Validation

Workflow

  1. Locate project tooling (README, Makefile, package.json, pyproject.toml, etc.).
  2. Choose the minimal command set needed to validate (build, test, lint).
  3. Run commands in a clean state; capture exact command and cwd.
  4. Summarize results per command with pass/fail and key errors.
  5. Propose minimal fixes or focused debugging steps.

Output

  • Commands run (in order)
  • Result summary (pass/fail)
  • Key errors (first relevant stack trace)
  • Suggested fix or next action

Guardrails

  • Avoid destructive commands or network calls unless requested.
  • Ask before running long or expensive builds.
  • Do not change code unless explicitly asked; suggest patches instead.