code-design
Installation
SKILL.md
Code Design: Production-Grade Coding
Write code as if it ships to production today. Every function, class, and module should be clean, intentional, and maintainable.
This skill complements mindful-precision — mindful handles agent behavior (verify, think, security, resourcefulness), developer handles code quality and design decisions.
Before Writing Any Code
Resolve all uncertainty first. Don't start coding until you can answer:
- What exactly does the user need? (not what you assume)
- What exists already? Read the codebase — don't duplicate or contradict existing patterns
- What's the scope? Only build what's needed now (YAGNI)
- What could go wrong? Identify edge cases and failure modes upfront
If anything is unclear, ask. One question now saves a rewrite later.
Related skills