Skip to content

Automation and Guardrails

The more a workflow matters, the less it should depend on the agent remembering a sentence from a prompt.

Tell the agent what should happen in your context file.

Provide one canonical command such as pnpm verify or make check.

Automatically trigger formatting, validation, or reporting at the right time.

Fail the build if required checks were skipped or output is invalid.

  • Run formatting after edits through a wrapper command.
  • Enforce lint, typecheck, and test in one CI gate.
  • Trigger screenshot capture after UI changes.
  • Require changelog or docs updates when public behavior changes.

Prompts improve consistency. Guardrails create consistency.