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:*)
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 testReview git diff:
git diff HEADStage 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 testschore: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