SOLFIND
Web Lens
Portal home

Bugfix Specs - Specs - Features - Docs - Kiro

https://kiro.dev/docs/specs/bugfix-specs/ • 205 KB fetched
Open original page


Bugfix Specs - Specs - Features - Docs - Kiro Loading image... Product * About Kiro * IDE * CLI * Web * Mobile * Crew * Pricing * Downloads For * Enterprise * Startups * Students Community * Overview * Ambassadors * Discord * Events * Powers * Shop * Showcase Resources * Docs * Blog * Changelog * FAQs * Report a bug * Suggest an idea * Billing support Social * * * * * * * English Site Terms License Responsible AI Policy Legal Privacy Policy Cookie Preferences English Loading image... * Apps * CLI * Web * Enterprise * Pricing * Docs * Community * Resources SIGN IN DOWNLOADS Loading image... Get Started Installation Authentication Your first project Models Overview Available models Reasoning effort Features How Kiro works Specs Feature Specs Bugfix Specs Quick Spec Plan mode Analyze Requirements Correctness Best practices Steering Hooks MCP Permissions Custom agents Agent Skills Powers Cloud sessions Compaction Kiroignore Checkpoints and rewind Built-in tools Configuration scopes IDE 1.x What's new in 1.0 Setup & First Run Editor Chat Experimental Troubleshooting 0.x reference CLI What's new in 3.0 Setup & First Run Terminal UI Chat Voice mode Headless mode ACP Auto complete Experimental 2.x reference Crew Quick start Installation Running 24/7 Chat Agent Capabilities Features Interfaces Apps System & storage Configuration Security Troubleshooting Web Setup & First Run Identity Center Connect your repositories Working with the agent Autonomous mode Automations Memory Configuration Sync Sandbox Mobile - Preview Overview Commands and Reference CLI commands Slash commands Built-in tools Exit codes Settings Billing Overview Managing your subscription Upgrading your plan Downgrading your plan Cancelling your plan Purchasing add-on credits Managing your payments Managing usage notifications Managing your taxes Contacting billing support Deleting your account Related questions Enterprise Concepts Onboarding quickstart Connecting your identity provider Deployment options Subscribe your team Manage subscriptions Governance Monitor and track Settings Managed updates Billing IAM Supported regions Privacy and Security Overview Data protection Code references Compliance validation Infrastructure security IAM permissions Firewalls, proxies, and data perimeters VPC endpoints (AWS PrivateLink) Guides Overview Language support Learn by playing Migration Migrating from Q Developer Migrating from VSCode Upgrading from Q CLI * Docs * * Features * * Specs * * Bugfix Specs Copy page View as Markdown Bugfix Specs Copy page View as Markdown The Bugfix Spec models how experienced developers approach bug fixes: identify the root cause, understand what should change, and explicitly preserve what shouldn't. Bugfix Specs provide a structured approach using that workflow, guiding you through root cause analysis, fix design, and regression prevention. Key Benefits Scoped fixes - Explicit constraints ensure only necessary changes are made Regression prevention - Unchanged behavior is documented and tested Documentation - Complete record of the bug, fix, and reasoning for future reference Reliability - Structured workflow prevents common pitfalls of ad-hoc fixes When to Use Bugfix Specs Best for: * Complex bugs requiring root cause analysis * Bugs in critical code paths where regressions are costly * Bugs that need documentation for compliance or team knowledge * Situations where previous fix attempts caused regressions How It Works Bugfix Specs follow the same three-phase workflow as Feature Specs (Requirements → Design → Tasks), but with content tailored specifically for bug fixes: Loading diagram... 1. Bugfix Analysis Phase Instead of a requirements document, you create a bugfix.md that captures: Current Behavior (Defect) * WHEN [condition] THEN the system [incorrect behavior] Expected Behavior (Correct) * WHEN [condition] THEN the system SHALL [correct behavior] Unchanged Behavior (Regression Prevention) * WHEN [condition] THEN the system SHALL CONTINUE TO [existing behavior] This explicit structure ensures Kiro understands not just what's broken, but what must remain working. 2. Design Phase Kiro explores the codebase to root cause the issue and generates a design.md with: * Root cause analysis * Proposed fix approach * Properties to test for: * Current implementation produces incorrect behavior (validates the bug exists) * Fixed implementation produces correct behavior (validates the fix works) * Unchanged implementation continues working (prevents regressions) 3. Tasks Phase Implementation tasks are generated with property-based tests (PBTs) that validate: * The bug is reproducible * The bug is fixed * No regressions are introduced Getting Started IDE CLI Web * Choose Bug Fix from the workflow options on the "Let's build" screen when starting a new session. To switch mid-session, click the agent name in the bottom bar of the chat input and select Bug Fix from the agent picker. * Describe the bug, including: * When the bug occurs (reproduction steps) * What should happen instead * Any constraints (code that shouldn't be modified) * Follow the workflow through analysis, design, and implementation. Learn More Best Practices Tips for effective bug fixing with Bugfix Specs Page updated: August 4, 2026 Design-First Quick Spec

Links found on this page

  1. About Kiro [direct]
  2. IDE [direct]
  3. CLI [direct]
  4. Web [direct]
  5. Mobile [direct]
  6. Crew [direct]
  7. Pricing [direct]
  8. Downloads [direct]
  9. Enterprise [direct]
  10. Startups [direct]
  11. Students [direct]
  12. Overview [direct]
  13. Ambassadors [direct]
  14. Discord [direct]
  15. Events [direct]
  16. Powers [direct]
  17. Shop [direct]
  18. Showcase [direct]
  19. Docs [direct]
  20. Blog [direct]
  21. Changelog [direct]
  22. FAQs [direct]
  23. Report a bug [direct]
  24. Suggest an idea [direct]
  25. Billing support [direct]
  26. Site Terms [direct]
  27. License [direct]
  28. Responsible AI Policy [direct]
  29. Legal [direct]
  30. Privacy Policy [direct]
  31. Cookie Preferences [direct]
  32. Loading image... [direct]
  33. SIGN IN [direct]
  34. Installation [direct]
  35. Authentication [direct]
  36. Your first project [direct]
  37. Overview [direct]
  38. Available models [direct]
  39. Reasoning effort [direct]
  40. How Kiro works [direct]
  41. Specs [direct]
  42. Feature Specs [direct]
  43. Quick Spec [direct]
  44. Plan mode [direct]
  45. Analyze Requirements [direct]
  46. Correctness [direct]
  47. Best practices [direct]
  48. Steering [direct]
  49. Hooks [direct]
  50. MCP [direct]
  51. Permissions [direct]
  52. Custom agents [direct]
  53. Agent Skills [direct]
  54. Powers [direct]
  55. Cloud sessions [direct]
  56. Compaction [direct]
  57. Kiroignore [direct]
  58. Checkpoints and rewind [direct]
  59. Built-in tools [direct]
  60. Configuration scopes [direct]
  61. What's new in 1.0 [direct]
  62. Setup & First Run [direct]
  63. Editor [direct]
  64. Chat [direct]
  65. Experimental [direct]
  66. Troubleshooting [direct]
  67. 0.x reference [direct]
  68. What's new in 3.0 [direct]
  69. Setup & First Run [direct]
  70. Terminal UI [direct]
  71. Chat [direct]
  72. Voice mode [direct]
  73. Headless mode [direct]
  74. ACP [direct]
  75. Auto complete [direct]
  76. Experimental [direct]
  77. 2.x reference [direct]
  78. Quick start [direct]
  79. Installation [direct]
  80. Running 24/7 [direct]