Enhancement: Support nested specs
Feature Description
Add support for nested specs, where multiple specs can be organized within one sub-folder within the specs folder that represents a specific feature.
Instead of the top-level folders being:
- .kiro
-
- specs
-
-
- Vertical layer 1 feature X
-
-
-
- Vertical layer 2 feature X
-
-
-
- Vertical layer 3 feature X
-
-
-
- Vertical layer 1 feature Y
-
-
-
- Vertical layer 2 feature Y
-
-
-
- Vertical layer 3 feature Y
-
-
-
- Vertical layer 1 feature Z
-
-
-
- Vertical layer 2 feature Z
-
-
-
- Vertical layer 3 feature Z
-
Have it able to be organized as:
- .kiro
-
- specs
-
-
- Feature X
-
-
-
-
- Vertical layer 1
-
-
-
-
-
- Vertical layer 2
-
-
-
-
-
- Vertical layer 3
-
-
-
-
- Feature Y
-
-
-
-
- Vertical layer 1
-
-
-
-
-
- Vertical layer 2
-
-
-
-
-
- Vertical layer 3
-
-
-
-
- Feature Z
-
-
-
-
- Vertical layer 1
-
-
-
-
-
- Vertical layer 2
-
-
-
-
-
- Vertical layer 3
-
-
Use Case
Better organizes the specs folder when generating specs for each vertical slice of a feature rather than the end-to-end feature.
This enhances the experience of leveraging Kiro to implement code changes per layer instead of trying to one-shot a single feature end-to-end. I've found this to be a more performant workflow for mature codebases.
Additional Context
No response
Hi @Kindred87 👋, thanks for raising this. This is valuable feedback for granular spec generation for specific features. This can also help with better maintainability in team workflows and improve performance during implementation. Marking it as a feature request.
@Jay2113 can you provide a status on this feature request? I recently came across the same issue, because the context window is fast exploding when you have big design.md.
Another +1 here, our team would benefit from this!