Kiro
Set up Kiro to start spec-driven AI-ready development with your Buildpad.ai project. Your AI agent connects directly to your backend so it can understand your data, generate code, and follow your project’s conventions.
Download a ready-to-use starter project for Kiro. It includes your project credentials and backend connections so your AI agent can access your data and build with your project’s conventions from the start.
Prerequisites
- Kiro installed on your machine (available for macOS and Windows).
- A Buildpad.ai project with a running environment.
Download the Starter Project
From your project’s Details page in Buildpad.ai, find the AI IDE Setup section and click Download Starter under the Kiro card. A microapp’s Detail tab has the same AI IDE Setup section.
The starter carries the project’s tokens, so only the project’s Admins can download it. On the Details page, other people see a note in place of the downloads that says only the project’s Admins can download them. On a microapp’s Detail tab, the download is refused with a message that only people who can manage the project can use its credentials. To get the download, ask a project Admin to give you the Admin role on the project’s Access page. See Roles and Access.
The download contains a ready-to-use project with Kiro steering files, agent skills, subagents, and backend connections — everything your AI agent needs to understand your project and its tech stack.
Explore the Project Structure
The starter project is generated with a .kiro/ directory containing steering files, agent skills, subagents, and backend connection settings:
Key components:
.kiro/steering/— Steering files give Kiro persistent knowledge about your workspace without repeating yourself in every chat. The starter splits steering into scoped files so each turn only loads what it needs:product.md,tech.md, andstructure.mduseinclusion: always(the core rules, loaded into every interaction), whileapi-standards.mdandcomponent-standards.mduseinclusion: fileMatch(loaded only when an API route or.tsxfile is in context).skills-index.mdisinclusion: manual— attach it on demand with#skills-index. Reference checklists (accessibility, module access, performance, security, testing) ship as additional fileMatch steering..kiro/skills/— Skills are reusable instruction packages that follow the open Agent Skills standard. Kiro activates them automatically when your request matches what a skill does, or you can invoke any skill directly with a/slash command in chat. 53 skills are included, covering tasks like creating API routes, generating tests, scaffolding features, managing access control, finishing a project’s move to the Buildpad Engine, and more. Feature planning uses Kiro’s native Specs feature (see Specs-Driven Development) — the spec-workflow skills bundled for other IDEs are deliberately not included, since Kiro provides that workflow natively..kiro/agents/— Subagents that run focused work in their own isolated context window, so the main conversation stays lean. Three specialists are included:code-reviewer(five-axis review + DaaS/Buildpad compliance),test-engineer(test strategy, coverage analysis, Playwright/Vitest authoring), andsecurity-auditor(auth, CORS, row-level security on Supabase projects, input handling, secrets). Kiro delegates to them automatically based on theirdescription, you can ask explicitly (“Run subagents to review this and write tests”), or invoke one as a slash command — e.g./code-reviewer find performance issues in my code. Subagents run in parallel, so reviews and test authoring can proceed simultaneously..kiro/templates/— Project templates (minimal, standard, enterprise) for bootstrapping new applications..kiro/settings/mcp.json— MCP (Model Context Protocol) is an open standard that lets AI assistants connect to external tools and data sources. This config connects Kiro to the Buildpad component library, your live DaaS backend, and the Buildpad platform..buildpad/project.json— Records the project’s backend (engineorsupabase). The skills read it, and the kit holds only the guidance for that backend. Commit this file with your code.
Connect to Backend Services
The .kiro/settings/mcp.json file connects the Kiro agent to three backend services:
- buildpad — Gives Kiro access to the Buildpad UI component library, API patterns, and platform conventions so it can write code that follows your project’s standards.
- daas — Connects Kiro to your project’s live backend, giving it direct access to your database collections, schemas, and runtime environment for accurate code generation.
- buildpad-platform — Connects Kiro to the Buildpad platform, giving it access to your full project context: organization, project configuration, microapps, and environment URLs.
{
"mcpServers": {
"buildpad": {
"command": "npx",
"args": ["-y", "@buildpad/mcp@latest"]
},
"daas": {
"url": "<Engine URL>/api/mcp",
"headers": {
"Authorization": "Bearer <your-service-token>"
}
},
"buildpad-platform": {
"url": "https://app.buildpad.ai/api/tools/mcp",
"headers": {
"Authorization": "Bearer <your-mcp-token>"
}
}
}
}{
"mcpServers": {
"buildpad": {
"command": "npx",
"args": ["-y", "@buildpad/mcp@latest"]
},
"daas": {
"url": "https://<your-project-id>.daas.buildpad.ai/api/mcp",
"headers": {
"Authorization": "Bearer <your-daas-token>"
}
},
"buildpad-platform": {
"url": "https://app.buildpad.ai/api/tools/mcp",
"headers": {
"Authorization": "Bearer <your-mcp-token>"
}
}
}
}Your credentials are pre-filled — When you download the starter from the platform, your project’s backend URL and tokens are filled in automatically. No manual configuration needed!
On a Buildpad Engine project, daas points at <Engine URL>/api/mcp and carries the project’s service token. The service token works for MCP only: the Engine refuses it on its data API. See The Starter Kit.
On a Supabase project, daas points at the project’s DaaS (*.daas.buildpad.ai) and carries the project’s DaaS token. See The Starter Kit.
On both backends, buildpad-platform carries a personal token (bpu_…) that the platform creates for you at each download. You can have up to 25 active personal tokens per project. At the limit, the download is refused (409) until you revoke tokens you no longer use. Downloading the starter again for the same AI IDE and app replaces your earlier starter token: the old one stops working.
The starter kit connects buildpad-platform with your personal MCP token. You can instead connect it to https://app.buildpad.ai/api/mcp with no token and sign in with your Buildpad.ai account. One sign-in then reaches all your projects. See Platform MCP.
Start the Backend Connections
Once you open the project in Kiro:
- Kiro will automatically detect
.kiro/settings/mcp.jsonand initialize your MCP connections. - To verify or manage your connections, click the Kiro “ghost” icon in the activity bar and navigate to MCP Servers to view your enabled connections.
- Once initialized, Kiro can query your database, look up component documentation, and generate code that works with your actual data.
To let the agent look things up in the Buildpad docs too, add the read-only docs MCP server. See Docs for AI Agents.
Start Building with AI
With backend connections active, open the Kiro Chat panel and start describing what you want to build. The agent will use the steering files and backend connections to:
- Create projects — Bootstrap a full Next.js application with DaaS integration.
- Scaffold features — Generate CRUD pages, forms, and API routes from your collection schemas.
- Generate specs — Use Kiro’s spec-driven workflow to plan and implement features with requirements and task tracking.
- Manage data — Create collections and set up role-based access control. A Buildpad Engine project has no migrations: the agent uses the
create-collectionandcreate-rbacskills instead.On a Supabase project, the agent also writes database migrations. - Add UI components — Install and configure Buildpad UI packages for forms, tables, and more.
- Add AI features — Add a chat with a Chocolate Factory agent (the
add-ai-chatskill), or an MCP server that lets AI agents use your app’s own data (theadd-mcp-serverskill). A starter downloaded before these skills were added can get them withnpx skills add buildpad-ai/skills. See Chat With Your Data. - Delegate in parallel — Hand reviews, security audits, and test authoring to the bundled subagents (
/code-reviewer,/test-engineer,/security-auditor) while the main session keeps building.
Updating Skills
The skills in your starter are a snapshot from download time, vendored from the canonical buildpad-ai/skills repository. As Buildpad ships new and improved skills, pull them into your project with the skills CLI — no re-download needed:
npx skills add buildpad-ai/skills --allThe CLI detects Kiro and writes each skill to .kiro/skills/, overwriting the bundled copies with the latest versions. Later on:
npx skills check # see which installed skills are outdated
npx skills update # update installed skillsAdditional Resources
- Buildpad Agent Skills — The canonical repository for all Buildpad skills, with the full catalog.
- Specs-Driven Development — How to plan apps with
requirements.md,design.md, andtasks.mdbefore any code is written. - Kiro Documentation — Official Kiro IDE documentation and getting started guides.
- Kiro Specs — The native specs feature reference.
- Kiro Subagents — How subagents run focused work in isolated context, in parallel.
- Kiro MCP Integration — Learn how to connect Kiro to external tools and data sources.
- Kiro Steering Files — How to use steering files to give Kiro persistent project context.
- Model Context Protocol — The open standard behind backend connections in AI code editors.