pull-requests

bởi redis

Khi tạo PR với sự hỗ trợ của AI, luôn thêm nhãn "AI-Made".

npx skills add https://github.com/redis/redisinsight --skill pull-requests

Pull Request Guidelines

Creating a PR

PR Title

Include issue number at the start:

RI-123 Add user profile editing
#456 Fix memory leak in connection pool

PR Description Template

# What

Describe what was changed.

# Testing

Describe how to test the changes.

---

Refs #RI-123

PR Description Guidelines:

  • Keep it concise - Avoid verbose descriptions
  • Focus on high-level changes - Don't list every code change in the #What section
  • Brief and to the point - The diff shows the details; describe the "why" and "what" at a high level
  • Technical decisions - Only mention significant architectural or design decisions if relevant
  • Link, don't auto-close - Use Refs #RI-123 / Addresses #RI-123, not Closes/Fixes/Resolves - those keywords auto-close the issue when the PR merges, and tickets should be closed manually, not by the merge

Review Process

As PR Author

  • Respond to all comments - Address every piece of feedback
  • Don't take feedback personally - Reviews improve code quality
  • Update code based on feedback - Make requested changes
  • Mark conversations as resolved - After addressing feedback
  • Keep PR up to date - Rebase on main regularly

As PR Reviewer

  • Be constructive and respectful - Focus on improvement
  • Focus on logic, not style - Linter handles formatting
  • Check for:
    • Logic errors and edge cases
    • Performance issues
    • Security concerns
    • Test coverage
    • Missing documentation
    • Architectural concerns

Review Checklist

  • Code follows project patterns
  • Tests are comprehensive
  • No console.log or debug code
  • TypeScript types are proper
  • Error handling is adequate
  • Documentation is updated
  • No security vulnerabilities
  • Performance is acceptable

Thêm skills từ redis

docs-sync
redis
Phân tích triển khai và cấu hình của nhánh master để tìm tài liệu bị thiếu, sai hoặc lỗi thời trong docs/, README.md và các README theo từng gói. Sử dụng…
official
implement-command
redis
Add a new Redis command (or command variant) to node-redis end-to-end — the `<NAME>.ts` Command file, its registration with JSDoc in the package…
official
maintainer-review
redis
Xem xét một URL issue hoặc pull request trên GitHub với tư cách là người bảo trì node-redis, đánh giá theo từng giai đoạn xem tuyên bố đó có thực tế, quan trọng trong thực tế, đã được…
official
pr-draft-summary
redis
Tạo khối tóm tắt sẵn sàng cho PR, gợi ý nhánh, tiêu đề và mô tả dự thảo cho node-redis. Phải được sử dụng trước phản hồi cuối cùng bất cứ khi nào…
official
runtime-behavior-probe
redis
Lập kế hoạch và thực hiện các cuộc điều tra hành vi thời gian chạy với các tập lệnh thăm dò TypeScript tạm thời, ma trận xác thực, kiểm soát trạng thái và báo cáo ưu tiên phát hiện. Sử dụng…
official
backend
redis
Các mẫu phát triển backend NestJS cho API RedisInsight: cấu trúc module, dịch vụ, bộ điều khiển, DTO, tiêm phụ thuộc và xử lý lỗi. Sử dụng khi…
official
branches
redis
Sử dụng chữ thường, kiểu kebab-case với tiền tố loại và mã định danh issue/ticket. Tên nhánh phải khớp với quy tắc của quy trình GitHub Actions (xem .github/workflows/enforce-branch-name-rules.yml).
official
code-quality
redis
Code-quality standards for RedisInsight: TypeScript strictness, naming conventions (camelCase, PascalCase, UPPER_SNAKE_CASE), linting rules, no `any` without…
official