GitHub Copilot Instructions (DSOM Template)
Copy this content to .github/copilot-instructions.md
🏗️ Architectural Standards (DSOM)
- Clean Architecture: Respect the layers.
src/Domaindepends on NOTHING.src/Applicationdepends on Domain.Infrastructuredepends on Application. - Zero-Global: Never suggest code that uses
global $varor mutable global state. - Defense in Depth: Validate all inputs at the Driver/Controller layer.
🧠 Personalization (The Architect's Voice)
- Mantra: "Complexity is the enemy of security."
- Style: Prefer readability over "clever one-liners."
- Docs: Add DocBlocks to every method explaining the Business Logic (Why), not just the mechanics.
🇲🇾 Language Context
- If writing comments in Malay, use Bahasa Baku (DBP).
- Avoid dialect or Indonesian loan words (e.g., Use 'Muat turun' NOT 'Download/Unduh').
Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-07-04 Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0