Skill 1.1.9
Use AI-assisted development tools to generate, review, and optimize code (for example, spec-driven code generation, automated code reviews, intelligent code completion, refactoring suggestions, security scanning).
Key Concepts
Kiro works in two styles. In a chat or "vibe" session the developer describes a change and the agent edits files, runs commands and explains what it did. In spec-driven development, Kiro first turns a feature request into three documents: requirements.md (user stories with testable acceptance criteria), design.md (architecture, data flow, interfaces and error handling) and tasks.md (a checklist of implementation tasks). The developer reviews and edits each document before the agent writes code, so the generated code can be traced back to an agreed requirement. A bugfix spec uses bugfix.md to record the current, expected and unchanged behaviour.
Steering files in .kiro/steering/ give the agent persistent project knowledge, such as the frameworks in use, naming conventions and security rules, for example "use the AWS SDK for Python v3 clients created outside the handler" or "never log request bodies". The default files are product.md, tech.md and structure.md, and each file can be included always, only for matching file paths, on request or automatically when a request matches its description.
Agent hooks in .kiro/hooks/ automate reviews. A hook fires on an event such as a file save (PostFileSave), before or after a tool runs (PreToolUse, PostToolUse) or when the agent finishes (Stop), and either runs a shell command or sends a prompt to the agent. Typical hooks run a linter and the unit tests on every save, ask the agent to review a changed file against the security rules in steering, or run a secrets scanner before any commit.
Other capabilities map directly to the skill statement. Intelligent code completion suggests the next lines inline as you type. Refactoring suggestions come from asking the agent to simplify, modernise or split code, with checkpoints that let you rewind its changes. Automated code reviews and security scanning come from hooks and from running the Kiro CLI in headless mode in a pipeline. Model Context Protocol (MCP) servers, such as the AWS documentation MCP server, give the agent current reference material instead of relying on its training data.
AI-generated code is treated like code from any other contributor: it is reviewed, tested and scanned before it is merged. A .kiroignore file keeps secrets and sensitive files away from the agent, supervised mode requires the developer to approve each change, and enterprise subscriptions do not use customer content to improve the service. Amazon Q Developer offered similar features in the IDE; its IDE plugins reach end of support on 30 April 2027, and AWS points users to Kiro.