| name | translate-issue |
| description | Translate GitHub issue content to Vietnamese. When user type: "translate issue #1", "dịch issue #2", "comtor #3",... |
Translate a GitHub issue $ARGUMENTS to Vietnamese and add a comment in Github issue
- Extract issue number from $ARGUMENTS (e.g., #1 -> 1)
- Fetch the issue using GitHub MCP
- Read the issue title and body
- Detect language:
- If the content is already in Vietnamese -> tell the user "Issue is already in Vietnamese" and stop
- If the content is NOT in Vietnamese -> continue to step 5
- Translate the issue title and body to Vietnamese by format
🇻🇳 Bản dịch tiếng Việt
Tiêu đề
{translated title}
Nội dung
{translated body}
```
6. Add a comment to [github-issue] Github issue