ExitKiro: event-driven agent hooks1 / 7
Explanationassociate7 steps · 3 exercises

Turn a file change into a review

How Kiro hooks respond to file changes by reviewing code or deployment configuration and flagging missing checks, while the pipeline remains responsible for validation, approvals, and deployment.

A Kiro agent hook pairs a development event with a repeatable agent task. For example, configure a hook to respond when a source file is saved and ask the agent to review the change for behavior that needs a unit test. The event decides when the hook runs; the instruction tells the agent what to do.

Choose an action that fits the files you watch. A source-code hook can flag missing test coverage; a hook can also generate unit tests or documentation in the background. Those outputs are drafts to review. Generating a test is not the same as running it.

Next up: Put the steps in order on what you just read.