r/kiroIDE • • 6d ago

I took over another team's Python code, and somehow ended up with less work.

Post image

I'm using Copilot to write instructions for Kiro CLI, which does the actual coding. There's no automated integration between them. I just copy and paste the instructions from Copilot to Kiro CLI, and then copy the results from Kiro CLI back to Copilot manually.

I was working on a demo at the company and ended up temporarily taking over a Python program that another department was handling. Originally, my part was about 95% and theirs about 5%.

Normally, you'd expect my workload to increase, but strangely, it actually decreased.

The reason is that both the demo itself and the Python part can now be handled by the same AI agent.

Until now, I had to ask the person in the other department to do research or fixes, but after taking it over, I only need to give instructions to Copilot. The actual coding isn't done by Copilot; instead, Copilot writes instructions for the AI agent, which then does the work. (I started with Amazon Q Developer as the AI agent and later switched to kiro-cli. I guess Q Dev CLI stopped being available halfway through.)

The instructions I give to Copilot haven't changed much from before.

This time in particular, there was a part where I needed to interface between the other department's Python and the C++ code I was originally handling, but Copilot would automatically write the instructions for Q Dev, so I didn't have to coordinate with the other department, which reduced my workload. Debugging also became easier because I didn't have to worry about figuring out which side was causing the problem; I just collect the overall logs, give them to Copilot, explain what happened and what I want to happen, and Copilot can figure out much of what needs to be done. Not having to figure out which side was causing the problem was especially helpful and improved the project's efficiency.

The only downside might be that the original members from the other department feel a bit left out. But since they also used AI to write the code, they didn't seem to mind too much.

It's kind of weird from my previous experience that increasing your responsibility could actually reduce your workload.

2 Upvotes

4 comments sorted by

2

u/Lanky-Tonight-350 5d ago

We have struggled with keeping Copilot from going in circles. We just were given access to Kiro and I connected it to CLI last week. They took Quick away after the free trial so I'll have to try Copilot for prompting Kiro and see if it does a good job.

1

u/noborutkhs 5d ago

I've actually been using the same Copilot conversation for this demo project for several months, going all the way back to when I was just discussing ideas for the demo.

We've discussed which features to include, which ones to drop, and how the demo should work. So Copilot already has quite a lot of context about the project.

Because of that, I can give Copilot pretty rough instructions, and it writes much more detailed instructions for Kiro CLI.

I haven't had much trouble with Copilot going in circles lately. I'm not sure, but having all that project history in the same conversation might be part of the reason.

2

u/LikelyGuiltyAsChargd 4d ago

I have been using Kiro for about a year now at the 10 000 credit / battleship level. I find SDD good, as long as you consider a "spec" to be a minor usecase or one leg of a bigger use case.

So I am building a serious new application from another chat framework. I am going from project vision, use flows and requirements, non functionals applied into the flows, screen layouts, domain object, transactions & locking, security....( testing requirement!) I want this clear BEFORE coding starts.

How are you passing off to Kiro? I was thinking adding .kiro/specs to my obsidian vault and generating specs with a vision.md from my design phase. I can monitor that to track progress.

Thoughts?

2

u/noborutkhs 3d ago

My workflow is probably quite rough compared to yours. It's a demo project, so the overall scale isn't that large.

I've been discussing the project with Copilot for several months, starting from the initial planning stage. I give rough instructions to Copilot in that same chat thread and have Copilot write the instructions for Kiro.

The situation I described happened after both teams had tested their respective parts separately and integrated them.

I received some handover documentation from the other team, but frankly, it wasn't sufficient. It mentioned the variables used as interfaces, but didn't specify which variables were checked under what conditions. However, I had the Python source code, so I wasn't particularly worried about continuing the work with AI.

For example, I showed the demo to several people who had no prior knowledge of it. I realized that the device control handled by the other team was being temporarily stopped too early.

When I needed to change that timing, even if the change involved both my original part and the part I had taken over, all I had to do was tell Copilot that I wanted to change the timing. Copilot then wrote detailed instructions for Kiro to modify both parts.

In other words, the instructions I gave Copilot were pretty much the same whether or not I was responsible for the Python code.

And since I no longer needed to coordinate with the other team, my workload actually decreased.