description: Dọn dẹp code, stage changes, và chuẩn bị pull request allowed-tools: Bash(git add:), Bash(git status:), Bash(git diff:), Bash(npm test:), Bash(npm run lint:*)
Danh Sách Kiểm Tra Chuẩn Bị Pull Request
Trước khi tạo PR, thực hiện các bước này:
- Chạy linting:
prettier --write . - Chạy tests:
npm test - Review git diff:
git diff HEAD - Stage changes:
git add . - Tạo thông điệp commit theo conventional commits:
fix:cho sửa lỗifeat:cho tính năng mớidocs:cho tài liệurefactor:cho tái cấu trúc codetest:cho việc thêm tests-
chore:cho bảo trì -
Tạo tóm tắt PR bao gồm:
- Những gì đã thay đổi
- Tại sao nó thay đổi
- Testing đã thực hiện
- Tác động tiềm ẩn