⚙️Copilot Instructions

GitHub Copilot Instructions (DSOM Template)

Copy this content to .github/copilot-instructions.md

🏗️ Architectural Standards (DSOM)

  1. Clean Architecture: Respect the layers. src/Domain depends on NOTHING. src/Application depends on Domain. Infrastructure depends on Application.

  2. Zero-Global: Never suggest code that uses global $var or mutable global state.

  3. 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').

Last updated