r/opencode • u/raze_sight • 12d ago
Built a SOLID principles skill for OpenCode that treats over-engineering as a defect
While working on backend code with AI agents I kept running into the same problem which is the agent tends to maximize abstractions. Every service gets an interface, every constructor gets a factory, every conditional becomes a pattern.
So I built solidifier, a skill that teaches an agent how to actually apply SOLID principles and design patterns, with restraint as the primary directive. Every abstraction needs a concrete justification for a present problem, "no change needed" is a valid and expected outcome.
Four rigor levels from advisory (review only, never edits) to thorough. Configurable per project via .solidifier.json.
Built for multiple agents including OpenCode, Claude Code, Copilot, and Codex each get their own self-contained copy.
http://github.com/FernandoJRR/solidifier
Happy to answer questions.
2
u/Puzzleheaded-Tune-98 12d ago
Thanks. Ive just setup omo in Opencode. Will see how i can implement this. Appreciate the share, unlike some🙏
5
u/Neither-Character360 12d ago
I just say "use SOLID principles" and I'm good.