# Module Development Rules **Authoritative Source**: `docs/development/module-rules.md` **Reference Implementation**: `modules/source/08_optimizers/optimizers_dev.py` All TinyTorch module development rules, patterns, conventions, and examples are maintained in the comprehensive documentation file: ๐Ÿ“– **[docs/development/module-rules.md](../../docs/development/module-rules.md)** ## ๐ŸŽฏ **Use Living Examples, Not Static Documentation** Instead of maintaining separate documentation that can get out of sync, **use `08_optimizers` as your reference implementation** - it follows all current patterns perfectly and serves as the living example of proper module structure. ## ๐Ÿ“‹ **What's Covered** - ๐Ÿ“ File structure and organization - ๐ŸŽ“ Educational patterns and pedagogical framework - ๐Ÿงช Testing conventions and inline test standards - ๐Ÿ“ฆ NBDev integration and export patterns - ๐ŸŽฏ Complete module template with educational content - ๐Ÿ—๏ธ Development workflow and best practices - ๐Ÿ“‹ Module metadata and configuration - โœ… Quality standards and checklist ## ๐Ÿ”— **Quick Reference Approach** 1. **Check `08_optimizers`** for educational content structure 2. **Follow exact patterns** for module summaries and takeaways 3. **Use the rules file** for technical specifications 4. **Reference living code** instead of static documentation **Remember**: When in doubt, reference `08_optimizers` - it follows all patterns perfectly!