fix(cli): improve guidelines for kilo agent create - #11201
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge The change replaces verbose XML The removed examples also contained a pre-existing content bug (a code-review example whose No bugs, logic errors, resource leaks, or security concerns. Files Reviewed (1 file)
Fix these issues in Kilo Cloud Previous Review Summary (commit 30f025c)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 30f025c)Status: No Issues Found | Recommendation: Merge The change replaces verbose XML The removed examples also contained a pre-existing content bug (a code-review example whose No bugs, logic errors, resource leaks, or security concerns. Files Reviewed (1 file)
Reviewed by deepseek-v4-pro-20260423 · 355,101 tokens Review guidance: REVIEW.md from base branch |
kilo agent create
Currently the `kilo agent create` command generates extremely long agent descriptions. This is because the system prompt for the `generate` agent tells it to include multiple verbose examples of when the agent should be used. This is unnecessary and increases system context bloat without improving the parent agent's ability to choose a subagent. This change updates the system prompt to exclude the guidance about examples, and instead includes official guidance from Anthropic's documentation on best practices for agent descriptions.
30f025c to
7a1c908
Compare
markijbema
left a comment
There was a problem hiding this comment.
This looks like a good improvement to me. Please allow us some time to discuss changes like this where we cant currently place kilocode change markers
markijbema
left a comment
There was a problem hiding this comment.
conclusion for now: we'd like to add markers to files like these, but accept that we'll have to fix merge conflicts more manually for now
fix(cli): improve guidelines for `kilo agent create`
Reopens #9410
Context
Currently the
kilo agent createcommand generates extremely long agent descriptions. This is because the system prompt for thegenerateagent tells it to include multiple verbose examples of when the agent should be used. This is unnecessary and increases system context bloat without improving the parent agent's ability to choose a subagent.Implementation
This change updates the system prompt to exclude the guidance about examples, and instead includes official guidance from Anthropic's documentation on best practices for agent descriptions.
Example Output
Before:
After:
Get in Touch
ExpedientFalcon on Discord