Skip to content

Use Case: Verification & Build

Profile: Junior Developer, build fails after making changes

“The build is failing with 12 type errors.”

Tool: /build-fix (command) invokes build-error-resolver agent (Sonnet)

InputBuild/type error output from terminal
OutputMinimal fixes: type annotations, null checks, import fixes. Strictly NO refactoring.

What it will do:

  • Add missing type annotations
  • Add null checks where needed
  • Fix broken imports
  • Update type definitions

What it will NOT do:

  • Refactor code
  • Change architecture
  • Rename variables
  • Add features

Profile: Senior Developer, running final checks before creating a PR

“Run all checks before I submit this PR.”

Tool: verification-loop skill guides a 6-phase check

PhaseCheckWhat it catches
1BuildCompilation errors
2Type checkType safety issues
3LintStyle violations
4TestsLogic errors, regressions
5Security scanVulnerabilities
6Diff reviewUnintended changes
InputCodebase in its current state
OutputPass/fail report for each phase with specific issues to fix

Profile: QA Lead, ensuring AI-generated changes don’t break things

“How do I prevent AI-generated code from breaking existing functionality?”

Tool: ai-regression-testing skill

InputAI-assisted codebase with regression concerns
OutputStrategy for snapshot tests, integration tests, and change impact analysis

ToolScopeWhen to useApproach
/build-fixSingle error fixBuild just brokeMinimal, one-at-a-time fixes
verification-loopFull pre-merge checkBefore PR6-phase comprehensive scan
ai-regression-testingRegression preventionAfter AI changesTesting strategy guidance