Giúp tôi gỡ lỗi
A ready-to-use “Lập trình” AI prompt template. Replace the (bracketed) parts below with your own needs.
Prompt template
Tôi gặp lỗi này: (dán toàn bộ thông báo lỗi) Đoạn mã liên quan: (dán đoạn mã) Hành vi tôi mong đợi là (mô tả). Hãy đoán nguyên nhân có khả năng và đưa ra cách khắc phục, và giải thích tại sao nó bị lỗi.
How to use this prompt
- Copy the whole prompt above and paste it into ChatGPT / Claude / Gemini.
- Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
- If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.