Complete Kiro Cheat Sheet

Complete Kiro Cheat Sheet #

Kiro is a revolutionary AI Integrated Development Environment (IDE) released by AWS in July 2025.
“Huh? Another editor? Aren’t VSCode and Cursor enough?” โ€” If you’re thinking this, please don’t close this page yet. Because Kiro is truly not an ordinary editor.

๐Ÿค” The Decisive Difference from Traditional IDEs #

With traditional IDEs, coding is 100% on you alone.
But Kiro is different โ€” it’s your AI development partner that can think with you, make suggestions, and even write code.
It’s like having an experienced senior engineer always by your side for pair programming!

โœจ What Kiro Can Do (Here’s the key part) #

๐Ÿค– Write code through AI conversation: Just say “help me create a login feature” and it really can build it
๐Ÿ“‹ Auto-generate specifications: Transform vague requirements into clear, structured specs
๐Ÿ”ง Agent Hooks automation: For example, when you save a file, it can automatically run tests and format code
๐ŸŽฏ Steering remembers project knowledge: Background info like “our project uses TypeScript” โ€” it remembers once and for all
๐Ÿ”Œ MCP supports external tool integration: Can integrate with GitHub, AWS Docs, and even web search
๐Ÿ›ก๏ธ Safe runtime environment: Prevents the tragedy of “oh no, I deleted everything!"

๐Ÿš€ Quick Start - Launch Kiro in 5 Minutes! #

Fastest Installation Guide (Really just 5 minutes) #

First, let’s install Kiro. Don’t worry, it’s as simple as installing any regular app!

  1. Download Visit https://kiro.dev/, click the “Download” button #Supports macOS, Windows, and Linux

  2. Install macOS: Drag the downloaded Kiro.app to Applications folder
    Windows: Double-click the downloaded installer to run
    Linux: Add execute permissions to the AppImage and launch

  3. Initial setup (This is super important!)

๐Ÿ” Login Method Selection #

  • GitHub: If you’re an individual developer, this is the easiest choice
  • Google: One-click login with Gmail account
  • AWS Builder ID: Don’t have an AWS account? Choose this (and it’s completely free)
  • AWS IAM Identity Center: Suitable for company or team environments

โš™๏ธ Import VS Code Settings #

Selecting “Import VS Code Settings” allows you to directly inherit your current editor configuration, including extensions and theme styles โ€” everything can be reused as-is, very convenient!

๐Ÿ’ป Enable Shell Integration (Must-select!) #

When prompted, please be sure to click “Allow”!
This step allows AI to directly run terminal commands, unlocking the full automated development experience ๐Ÿš€

๐Ÿ“‚ Let’s open your first project! #

# If you prefer opening projects via terminal:
cd my-project
kiro .

# Or you can operate from Kiro's menu bar:
File > Open Folder > Select your project folder

After opening the project, click the Kiro ghost icon in the left sidebar. This is Kiro’s core area and where you start conversations with AI!๐Ÿ‘ป

๐Ÿ’ฌ Try chatting with AI! #

# Open chat panel
Cmd+L (Mac) / Ctrl+L (Windows/Linux)

# Try asking these first
"Explain the structure of this project"
"Organize the dependencies in package.json"
"Help me make the README more complete"

You’ll be amazed at how natural and smooth the conversation can be!๐Ÿ’ฌโœจ

๐Ÿ”‘ Complete Authentication Guide - Which Should You Choose? #

Who is it for?

  • Developers who code individually
  • Those participating in open source projects
  • People who want to simply try Kiro first

Advantages

  • Simplest setup process
  • Just need a GitHub account to use directly
  • Free quota is sufficient for most people

Usage Steps

  1. Click “Sign in with GitHub”
  2. Browser will automatically redirect, log in to your GitHub
  3. Click “Authorize kirodotdev” to authorize
  4. Done! You can start using it immediately โœจ

Method 2: Google Login (Suitable for light users, Rating: โ˜…โ˜…โ˜…โ˜…โ˜†) #

Suitable for these people

  • Have Gmail but no GitHub account
  • Want to use it for personal learning
  • Just want to easily and quickly get started

Advantages

  • Can log in directly with Google account
  • No additional setup needed
  • Very suitable for personal daily use

Operation Steps

  1. Click “Sign in with Google”
  2. Select your Google account
  3. Click “Continue” to complete authorization
  4. Done! Isn’t it super easy? โœจ

Method 3: AWS Builder ID (Suitable for users new to AWS, Rating: โ˜…โ˜…โ˜…โ˜†โ˜†) #

Suitable for these people

  • Want to try AWS but don’t want to register a formal account initially
  • Want to experience some AWS services for free
  • People who might formally use AWS in the future

Advantages

  • Can use without registering a complete AWS account, completely free
  • Very convenient integration with various AWS services
  • Can smoothly transition to enterprise account later

Operation Steps

  1. Click “Login with AWS Builder ID”
  2. Enter your email address
  3. Set login password
  4. Complete email verification, and you can start using โœ…

Method 4: AWS IAM Identity Center (Suitable for enterprise users, Rating: โ˜…โ˜…โ˜…โ˜…โ˜…) #

Suitable for these people

  • Want to formally deploy Kiro within the company
  • Enterprise environments with strict security requirements
  • Teams that have already purchased Amazon Q Developer Pro

Notes

  • Requires paid subscription to Amazon Q Developer Pro
  • Needs company IT department assistance for configuration
  • Not suitable for individual users

Usage Steps

  1. Select “Sign in with AWS IAM Identity Center”
  2. Enter Start URL, e.g.: https://your-company.awsapps.com/start
  3. Select Region: usually us-east-1 (specific to company)
  4. Contact company IT department to complete related setup

โŒจ๏ธ Complete Keyboard Shortcuts Mastery Guide #

๐ŸŽฏ Must Remember! Top 10 Super Useful Kiro Shortcuts #

Just remember these few, and you can basically use 80% of Kiro’s functionality:

What you want to doMac ShortcutWindows / Linux ShortcutWhat happens?
Chat with AICmd + LCtrl + LOpen chat panel, start conversation with AI
Instantly summon AICmd + ICtrl + ILaunch AI at cursor, can ask questions while coding
Global search (command palette)Cmd + Shift + PCtrl + Shift + POpen command palette, access all Kiro functions
Open fileCmd + PCtrl + PType part of filename to quickly open
Save fileCmd + SCtrl + SOld friend, must remember
Project-wide searchCmd + Shift + FCtrl + Shift + FSearch text content throughout the project
Jump to definitionF12F12One-click jump to function or class definition
Fix errorsHover error โ†’ Quick fixSameAI will automatically provide fix suggestions
Open terminalCtrl + (backtick `)Ctrl + (backtick `)Show or hide integrated terminal
Show/hide sidebarCmd + BCtrl + BShow or hide sidebar, suitable for full-screen operation

๐Ÿ’ก Practical and Convenient Small Trick Shortcuts #

# Multi-cursor editing (learn this and efficiency triples)
Option + click (Mac) / Alt + click (Windows)
โ†’ Can have cursors at multiple locations, edit multiple places simultaneously

# Move entire line of code (super useful little trick)
Option + โ†‘/โ†“ (Mac) / Alt + โ†‘/โ†“ (Windows)
โ†’ Move entire line of code up/down, super convenient for layout modifications

# Copy entire line (super useful when writing test data)
Option + Shift + โ†‘/โ†“ (Mac) / Alt + Shift + โ†‘/โ†“ (Windows)
โ†’ Directly copy current line and insert above/below

# Quick comment (most commonly used, bar none)
Cmd + / (Mac) / Ctrl + / (Windows)
โ†’ One-click comment/uncomment selected code, debugging magic skill!

๐Ÿ“‹ Specs (Specification-Driven Development) โ€” This is Kiro’s Soul Feature! #

โ“ What are Specs? Why are they so important? #

Traditional development often follows this rhythm:

  • “Help me create a login feature” โ€” vague requirements
  • Well, let’s start coding
  • “Oh right, don’t forget password reset”
  • “Email verification should be added too”
  • Finally, code becomes a mess, documentation can’t keep up, requirements keep changing…

๐Ÿ˜ตโ€๐Ÿ’ซ Complete chaos. And Specs are here to solve this old problem!
It helps AI organize vague requirements into a structured, clear specification document.
โ€” No more coding while guessing, no more major rewrites later, your project stays on track from the beginning. โœ…

๐Ÿ› ๏ธ The Three Major Phases of Specs (This is truly revolutionary ๐Ÿ”ฅ) #

1๏ธโƒฃ Requirements Phase โ€” Clarify “what to build”

# Actual example: Requirements definition auto-generated by Kiro

## User Story
As a: User
I want to: Log in using email and password
So that: I can use personalized features of the service

## Acceptance Criteria (EARS syntax)
When: User visits the login page
The system shall: Display login form
With:
  - Email address input field
  - Password input field (displayed as mask)
  - "Login" button
  - "Forgot password" link

When: User enters correct authentication information and clicks login button
The system shall: Redirect user to dashboard page
And: Generate JWT token and start session

When: User enters incorrect authentication information
The system shall: Display error message
But: Not show specific error reasons for security purposes

Isn’t it amazing? Just one sentence “write a login feature” and it can detail requirements to such a degree, truly magical!

2๏ธโƒฃ Design Phase โ€” Plan “how to implement”

// Example of technical design document auto-generated by Kiro

## Architecture Design

### Frontend Structure

interface LoginSystem {
  // UI Components
  components: {
    LoginForm: {
      path: "components/auth/LoginForm.tsx"
      props: {
        onSubmit: (credentials: LoginCredentials) => Promise<void>
        onForgotPassword: () => void
      }
    }

    PasswordResetModal: {
      path: "components/auth/PasswordResetModal.tsx"
      props: {
        isOpen: boolean
        onClose: () => void
      }
    }
  }

  // State Management
  stores: {
    AuthStore: {
      state: {
        user: User | null
        isAuthenticated: boolean
        isLoading: boolean
      }
      actions: {
        login: (credentials: LoginCredentials) => Promise<void>
        logout: () => void
        resetPassword: (email: string) => Promise<void>
      }
    }
  }

  // API Communication
  services: {
    AuthService: {
      endpoints: {
        login: "POST /api/auth/login"
        logout: "POST /api/auth/logout"
        resetPassword: "POST /api/auth/reset-password"
      }
    }
  }
}

### Backend Structure
- Using Node.js + Express
- JWT authentication
- Using bcrypt for password hashing
- Managing user information through PostgreSQL

It can even auto-generate technical design, and it’s customized based on your project’s tech stack! Isn’t that super thoughtful?

3๏ธโƒฃ Implementation Phase โ€” Break down into specific development tasks

## Implementation Task List

### Frontend
- [ ] Create LoginForm component
  - [ ] Implement form validation
  - [ ] Error handling
  - [ ] Manage loading state
- [ ] Implement AuthStore
  - [ ] Login operations
  - [ ] Token management
  - [ ] Auto-logout functionality
- [ ] Implement route guards
  - [ ] Redirect handling for unauthenticated users
  - [ ] Access control for authenticated users

### Backend
- [ ] Implement authentication endpoints
  - [ ] /api/auth/login
  - [ ] /api/auth/logout
  - [ ] /api/auth/refresh
- [ ] Write middleware
  - [ ] JWT verification middleware
  - [ ] Request rate limiting
- [ ] Database design
  - [ ] users table
  - [ ] sessions table

### Testing
- [ ] Unit tests
- [ ] Integration tests
- [ ] End-to-end (E2E) tests

Just click on a task and AI will automatically start implementing the corresponding functionality, like assigning work to capable subordinates โ€” easy and efficient!

๐Ÿ“‹ What’s the actual usage of Specs like? #

# Method 1: Operate from Kiro panel
1. Click Kiro icon in left sidebar
2. Click "+" button in Specs area
3. Input your requirements in natural language

# Method 2: Generate through chat window
1. Use Cmd/Ctrl + L to open chat panel
2. Click "Spec" button
3. Input your requirement content

# Actual input example
"I want to implement a shopping cart feature for an e-commerce website,
needs to include the following:
- Add/remove products
- Modify product quantities
- Check inventory
- Auto-calculate total amount
- Support coupons
- Shipping calculation"

# Kiro auto-generates content structure as follows
.kiro/specs/shopping-cart/
โ”œโ”€โ”€ requirements.md  # Detailed requirements definition
โ”œโ”€โ”€ design.md        # Technical design document
โ””โ”€โ”€ tasks.md         # Implementation task list

This comprehensive cheat sheet provides English-speaking users with all the essential information they need to get started with Kiro, from basic setup to advanced features like Specs, Steering, Agent Hooks, and MCP integration. The format maintains the engaging, practical style of the original while being accessible to English-speaking developers.