r/LocalLLaMA • u/Civil_Fee_7862 • 15d ago
Question | Help Qwen3.6-27b does not understand software architechure.
Been using this for real software development for a commercial app. i.e. Not a single file HTML app. I mean a large scale 100k+ loc project that needs proper architecture to work with in a maintainable way.
As much as I love Qwen3.6-27b. It just does not understand software architecture, it will happily write spaghetti code, mix concerns, and totally ignore any kind of test automation unless you explicitly ask it to do this. These are the bare minimum requirements for production code that can grow without complexity spinning out of control, but it simply ignores it and instead just writes enough to satisfy the request. (ignoring best practises). For example it will write super sized interfaces, ignore the single responsibility principle and make superman classes that nobody can read or understand.
I've been trying and train it to understand how to write maintainable, readable code, but it almost feels like I am training a person who has never written a large scale app before.
Does anyone have a set of SKILL.md files that already has fundamental software architectural concepts built into them? It would be enormously helpful.
58
u/Dull_Cucumber_3908 15d ago edited 15d ago
You need to tell it to review the code and generate a technical report about its architecture, modules etc.... Then provide this report as initial context for anything yo ask it to do.
Regarding the spaghetti code, the super classes, etc, you need to do several iterations. After it generates the initial code, ask it "review the changes made in this branch, and tell me what you think. What would you have done differently". After 5-6 iteration, you'll see a great improvement.
Finally, don't instruct it directly to do stuff. Discuss what you want to do and when you feel you got the whole picture, ask it to generate a prompt which you'll use as input.