Respetar princiios
Feature Description
Suelo tener que decirle muchas veces que respecte pricniios solid y archviso pequeños porque se le olvida. Y no sabe cuantas lienas tiene el archivo en el que trabaja. Seria bueno que cada vez que abre el archvio tuviera ese datos para saber si puede seguir sumando lineas o no.
Use Case
Suelo tener que decirle muchas veces que respecte pricniios solid y archviso pequeños porque se le olvida. Y no sabe cuantas lienas tiene el archivo en el que trabaja. Seria bueno que cada vez que abre el archvio tuviera ese datos para saber si puede seguir sumando lineas o no.
Additional Context
Suelo tener que decirle muchas veces que respecte pricniios solid y archviso pequeños porque se le olvida. Y no sabe cuantas lienas tiene el archivo en el que trabaja. Seria bueno que cada vez que abre el archvio tuviera ese datos para saber si puede seguir sumando lineas o no.
Hi @alemarino, thanks for raising this request. Can you try to create a custom steering doc with these code standards? You can add SOLID principles, file size management and refactoring guidelines in your steering doc.
I did it, I generated an md file with a schedule of what I wanted it to do and at each step I made it clear to him to respect solid principles and small files with few lines. When he starts working, he respects it. The problem is that when he has to edit a file, he doesn't know how many lines it has, he doesn't control how many lines it has before starting to edit it, then he opens a file in which he has to work, starts writing code without controlling the number of lines and starts adding lines and keeps adding and adding and adding. And if you don't stop him and ask him to refactor, he can make a file of 3000 lines without a problem.
Hi @alemarino can you try including File Size Management rules in the steering doc? You can include guidelines like- before modifying any file- always check its current line count, you can specify maximum file sizes, specify when a file approaches the limit- use file splitting strategies. Steering docs can help ensure Kiro consistently follows your established patterns, libraries, and standards.
Thank you for your feedback. As this issue does not contain a specific actionable request, we are closing it as stale. If you have a specific suggestion or issue, please open a new issue with details.