AsiaOstrich

review

"[UDS] Perform systematic code review with checklist"

AsiaOstrich 66 10 Updated 3mo ago

Resources

3
GitHub

Install

npx skillscat add asiaostrich/universal-dev-standards/review

Install via the SkillsCat registry.

SKILL.md

Code Review Assistant | 程式碼審查助手

Perform systematic code review using standardized checklists and comment prefixes.

執行系統性的程式碼審查,使用標準化的檢查清單和評論前綴。

Workflow | 工作流程

  1. Identify changes - Get diff of files to review via git diff or git show
  2. Apply checklist - Check each review category systematically
  3. Generate report - Output findings with standard comment prefixes
  4. Summarize - Provide overall assessment and recommended actions

Review Categories | 審查類別

  1. Functionality - Does it work correctly? | 功能是否正確?
  2. Design - Is the architecture appropriate? | 架構是否合適?
  3. Quality - Is the code clean and maintainable? | 程式碼是否乾淨可維護?
  4. Readability - Is it easy to understand? | 是否容易理解?
  5. Tests - Is there adequate test coverage? | 測試覆蓋是否足夠?
  6. Security - Are there any vulnerabilities? | 是否有安全漏洞?
  7. Performance - Is it efficient? | 是否有效率?
  8. Error Handling - Are errors handled properly? | 錯誤處理是否妥當?

Comment Prefixes | 評論前綴

Prefix Meaning Action 動作
BLOCKING Must fix before merge Required 必須修復
IMPORTANT Should fix Recommended 建議修復
SUGGESTION Nice-to-have Optional 可選改善
QUESTION Need clarification Discuss 需要討論
NOTE Informational FYI 僅供參考

Usage | 使用方式

  • /review - Review all changes in current branch
  • /review src/auth.js - Review specific file
  • /review feature/login - Review specific branch

Reference | 參考