Kiro structure.md Steering File
The .kiro/steering/structure.md file documents the project's directory layout and file naming conventions. Prevents Bolt from organizing new files inconsistently with the existing codebase.
Syntax
bolt-new
# Project Structure
src/
[directory]/ # [purpose]
[directory]/ # [purpose]
## Naming Conventions
- [File type]: [pattern] (example)
- [File type]: [pattern] (example)
## Import Rules
- [Rule about how imports should be organized]Example
bolt-new
# Project Structure
src/
components/ # Shared reusable UI
layout/ # Navbar, Sidebar, Footer
ui/ # Buttons, Inputs, Modals, Cards
pages/ # Route-level components
services/ # All Supabase/API calls
hooks/ # Custom React hooks
types/ # TypeScript interfaces
lib/ # Utilities and helpers
context/ # React context providers
## Naming Conventions
- Pages: [Name]Page.tsx (DashboardPage.tsx)
- Components: descriptive PascalCase noun (TaskCard.tsx)
- Services: [entity].service.ts (tasks.service.ts)
- Hooks: use[Description].ts (useTaskFilters.ts)
## Import Rules
- Use absolute imports from src/ root
- Group: external packages, then internal modules