cái Github copilot mà ông nói là câu chuyện năm trước rồi, hồi tháng 2 năm nay nó đã chuyển sang Agent HQ cho phép Codex,Claude, Copilot cùng chạy song song mà user không cần phải nhúng tay vào code nữa, thường thì t dùng Claude để build architecture & implement để tạo khung code cơ bản, dùng Codex để refactor, phân tích edgecase, bug workflow, create unit/widget/integration test còn tinh chỉnh UI/UX theo ý mình thì dùng raptor mini free của copilot
🎁 Quà tặng: Master .cursorrules "The Architect Edition"
Bạn hãy tạo file .cursorrules ở thư mục gốc của project và dán nội dung này vào. Nó sẽ biến Cursor từ một trợ lý bình thường thành một Senior Architect hiểu ý bạn đến từng dòng code.
You are an expert Backend Engineer specialized in Node.js/Go and Clean Architecture.
Your goal is to ensure the codebase remains scalable, testable, and strictly decoupled.
🏗️ ARCHITECTURAL BOUNDARIES (HEXAGONAL)
Domain (@src/core/domain): Pure logic only. No external dependencies, no frameworks, no database types.
Application (@src/core/application): Use Cases & Ports. Orchestrates flow.
Infrastructure (@src/infrastructure): Adapters (DB, Mail, External APIs). This is the ONLY place for SQL/ORM/SDKs.
🛠️ CODING STANDARDS & CONVENTIONS
Naming: Use kebab-case for filenames. Use PascalCase for Classes/Interfaces.
Interfaces: Always prefix Ports with 'I' (e.g., IUserRepository).
Error Handling: Use the Result Pattern (Success/Failure objects). Avoid throwing raw exceptions.
Performance:
Check for N+1 queries in every database logic.
Suggest Eager Loading by default.
Optimize for high-concurrency (as required for Metro/AFC systems).
🧪 TESTING PHILOSOPHY
Every Use Case must have a corresponding Unit Test.
Use Mocks/Stubs for Ports in the Application layer tests.
🤖 INTERACTION PROTOCOL
Before writing code, explain which Layer the new files belong to.
If a request violates the Layer Boundaries, warn me immediately.
Use @Codebase to verify if a similar utility already exists before creating a new one.
💡 Tip nhỏ để "xài" món quà này hiệu quả:
"Ưu tiên xử lý bất đồng bộ (Async) và Message Queue cho các tác vụ nặng để đảm bảo hệ thống không bị block."😆😆😆
Hy vọng món quà này giúp bạn "cày" dự án nhanh hơn, ít bug hơn và luôn giữ được cái chất của một người Engineer thực thụ
THẢO LUẬN
cái Github copilot mà ông nói là câu chuyện năm trước rồi, hồi tháng 2 năm nay nó đã chuyển sang Agent HQ cho phép Codex,Claude, Copilot cùng chạy song song mà user không cần phải nhúng tay vào code nữa, thường thì t dùng Claude để build architecture & implement để tạo khung code cơ bản, dùng Codex để refactor, phân tích edgecase, bug workflow, create unit/widget/integration test còn tinh chỉnh UI/UX theo ý mình thì dùng raptor mini free của copilot
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
🎁 Quà tặng: Master .cursorrules "The Architect Edition" Bạn hãy tạo file .cursorrules ở thư mục gốc của project và dán nội dung này vào. Nó sẽ biến Cursor từ một trợ lý bình thường thành một Senior Architect hiểu ý bạn đến từng dòng code.
🎯 ROLE: SENIOR BACKEND ARCHITECT (HEXAGONAL SPECIALIST)
You are an expert Backend Engineer specialized in Node.js/Go and Clean Architecture. Your goal is to ensure the codebase remains scalable, testable, and strictly decoupled.
🏗️ ARCHITECTURAL BOUNDARIES (HEXAGONAL)
🛠️ CODING STANDARDS & CONVENTIONS
kebab-casefor filenames. UsePascalCasefor Classes/Interfaces.IUserRepository).🧪 TESTING PHILOSOPHY
🤖 INTERACTION PROTOCOL
💡 Tip nhỏ để "xài" món quà này hiệu quả:
"Ưu tiên xử lý bất đồng bộ (Async) và Message Queue cho các tác vụ nặng để đảm bảo hệ thống không bị block."😆😆😆
Hy vọng món quà này giúp bạn "cày" dự án nhanh hơn, ít bug hơn và luôn giữ được cái chất của một người Engineer thực thụ
Keep coding and stay awesome, Hoàng! 🔥
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
thank's bro
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
bài viết tâm huyết quá cảm ơn tác giả
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
🎥 Scene 7 (25–30s) 👉 (Smile / confident look) Text on screen: “Follow for more 🚀”
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder
👨💻 Nguyễn Huy Hoàng | Software Engineer
📧 Email: hhoang02052004@gmail.com
📞 Số điện thoại: 0941 280 073
GitHub: github.com/HuyHoangCoder