Evolution ohne Breaking Changes! 🎉 Manchmal ist weniger wirklich mehr
This is a high-quality, well-architected PHP project that demonstrates excellent adherence to modern development practices. The code is clean, follows your stated developer standards, and shows good security awareness.
Zero tolerance for dead code, unused functions, and code bloat.
- Always hunt for unused code - "ich finde doch immer wieder was!"
- Remove unused functions, variables, constants, and entire classes
- Use systematic grep searches to identify orphaned code
- Delete entire files if they contain only unused code (e.g., PostStatus.php)
- When asked "komplett?" - provide thorough, complete implementations
- No half-measures or partial fixes
- Address all related issues in the same scope
- Clean namespace management with proper
usestatements - No redundant validation layers
- Remove duplicate functionality
- Eliminate unnecessary variable declarations
- Clean up commented-out code
- All UI text must use
Language::getText() - Default language: English ('en')
- German ('de') translations required
- JavaScript translations via TRANSLATIONS object
- Use modern alternatives for deprecated functions (e.g.,
htmlentities()instead ofmb_convert_encoding()) - Clean class structures without bloat
- Proper error handling
- Grep searches for function/class usage patterns
- Systematic file analysis for orphaned code
- Variable usage tracking
- Cross-reference validation between files
- "wird nicht verwendet!" - eliminate it immediately
- "scharfes Auge für Code-Qualität" - maintain detective mindset
- Pragmatic decisions: "good enough for now" when appropriate
- Document decisions for future reference
- Platform: Windows with PowerShell
- Editor: Visual Studio Code Editor integration
- Languages: PHP 8.2+, JavaScript ES6+, HTML5/CSS3
- Framework: Custom BitBlog system
This document serves as context for AI agents working on this project. These standards reflect the maintainer's commitment to clean, efficient, and maintainable code.