📤
Yêu cầu đánh giá mã

Yêu cầu đánh giá mã

Chuẩn bị và gửi mã để các đồng nghiệp đánh giá nhằm đảm bảo chất lượng.

PROMPT EXAMPLE
Sử dụng `requesting-code-review` để yêu cầu đánh giá.
Fast Processing
High Quality
Privacy Protected

SKILL.md Definition

Requesting Code Review

Dispatch superpowers:code-reviewer subagent to catch issues before they cascade.

Core principle: Review early, review often.

When to Request Review

Mandatory:

  • After each task in subagent-driven development
  • After completing major feature
  • Before merge to main

Optional but valuable:

  • When stuck (fresh perspective)
  • Before refactoring (baseline check)
  • After fixing complex bug

How to Request

1. Get git SHAs:

BASE_SHA=$(git rev-parse HEAD~1)  # or origin/main
HEAD_SHA=$(git rev-parse HEAD)

2. Dispatch code-reviewer subagent:

Use Task tool with superpowers:code-reviewer type, fill template at code-reviewer.md

Placeholders:

  • {WHAT_WAS_IMPLEMENTED} - What you just built
  • {PLAN_OR_REQUIREMENTS} - What it should do
  • {BASE_SHA} - Starting commit
  • {HEAD_SHA} - Ending commit
  • {DESCRIPTION} - Brief summary

3. Act on feedback:

  • Fix Critical issues immediately
  • Fix Important issues before proceeding
  • Note Minor issues for later
  • Push back if reviewer is wrong (with reasoning)

Example

[Just completed Task 2: Add verification function]

You: Let me request code review before proceeding.

BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)

[Dispatch superpowers:code-reviewer subagent]
  WHAT_WAS_IMPLEMENTED: Verification and repair functions for conversation index
  PLAN_OR_REQUIREMENTS: Task 2 from docs/plans/deployment-plan.md
  BASE_SHA: a7981ec
  HEAD_SHA: 3df7661
  DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types

[Subagent returns]:
  Strengths: Clean architecture, real tests
  Issues:
    Important: Missing progress indicators
    Minor: Magic number (100) for reporting interval
  Assessment: Ready to proceed

You: [Fix progress indicators]
[Continue to Task 3]

Integration with Workflows

Subagent-Driven Development:

  • Review after EACH task
  • Catch issues before they compound
  • Fix before moving to next task

Executing Plans:

  • Review after each batch (3 tasks)
  • Get feedback, apply, continue

Ad-Hoc Development:

  • Review before merge
  • Review when stuck

Red Flags

Never:

  • Skip review because "it's simple"
  • Ignore Critical issues
  • Proceed with unfixed Important issues
  • Argue with valid technical feedback

If reviewer wrong:

  • Push back with technical reasoning
  • Show code/tests that prove it works
  • Request clarification

See template at: requesting-code-review/code-reviewer.md


About Superpowers

Superpowers is a complete software development workflow for your coding agents, built on top of a set of composable "skills".

Philosophy

  • Test-Driven Development - Write tests first, always
  • Systematic over ad-hoc - Process over guessing
  • Complexity reduction - Simplicity as primary goal
  • Evidence over claims - Verify before declaring success

Installation

Note: Installation differs by platform. Claude Code has a built-in plugin system. Codex and OpenCode require manual setup.

Claude Code (via Plugin Marketplace)

In Claude Code, register the marketplace first:

/plugin marketplace add obra/superpowers-marketplace

Then install the plugin from this marketplace:

/plugin install superpowers@superpowers-marketplace

Verify Installation

Check that commands appear:

/help
# Should see:
# /superpowers:brainstorm - Interactive design refinement
# /superpowers:write-plan - Create implementation plan
# /superpowers:execute-plan - Execute plan in batches

Agent Skills mạnh mẽ

Nâng cao hiệu suất AI của bạn bằng bộ sưu tập các kỹ năng chuyên nghiệp của chúng tôi.

Sẵn sàng sử dụng

Sao chép và dán vào bất kỳ hệ thống tác nhân nào hỗ trợ kỹ năng.

Thiết kế mô-đun

Kết hợp các 'code skills' để tạo ra các hành vi phức tạp của tác nhân.

Được tối ưu hóa

Mỗi 'agent skill' đều được tinh chỉnh để đạt năng suất và độ chính xác cao.

Nguồn mở

Tất cả các 'code skills' đều mở cho việc đóng góp và tùy chỉnh.

Đa nền tảng

Hoạt động với nhiều loại LLM và khung công tác tác nhân khác nhau.

An toàn và Bảo mật

Các kỹ năng đã được kiểm tra tuân theo các quy trình an toàn AI tốt nhất.

Tăng sức mạnh cho các tác nhân

Bắt đầu sử dụng Agiskills ngay hôm nay và thấy sự khác biệt.

Khám phá ngay

Cách thức hoạt động

Bắt đầu với các agent skills qua ba bước đơn giản.

1

Chọn một Kỹ năng

Tìm kỹ năng bạn cần trong bộ sưu tập của chúng tôi.

2

Đọc Tài liệu

Hiểu cách kỹ năng hoạt động và các ràng buộc của nó.

3

Sao chép & Sử dụng

Dán định nghĩa vào cấu hình tác nhân của bạn.

4

Kiểm tra

Xác minh các kết quả và tinh chỉnh nếu cần thiết.

5

Triển khai

Khởi chạy tác nhân AI chuyên biệt của bạn.

Các nhà phát triển nói gì

Tìm hiểu lý do tại sao các nhà phát triển trên khắp thế giới chọn Agiskills.

Alex Smith

Kỹ sư AI

"Agiskills đã thay đổi hoàn toàn cách tôi xây dựng các tác nhân AI."

Maria Garcia

Quản lý sản phẩm

"Kỹ năng PDF Specialist đã giải quyết các vấn đề phân tích cú pháp tài liệu phức tạp cho chúng tôi."

John Doe

Nhà phát triển

"Các kỹ năng chuyên nghiệp và được biên soạn đầy đủ. Rất khuyến khích!"

Sarah Lee

Nghệ sĩ

"Kỹ năng Nghệ thuật thuật toán tạo ra mã đẹp đến khó tin."

Chen Wei

Chuyên gia Frontend

"Các chủ đề được tạo ra bởi Theme Factory luôn hoàn hảo đến từng điểm ảnh."

Robert T.

CTO

"Chúng tôi hiện đang sử dụng Agiskills như một tiêu chuẩn cho nhóm AI của mình."

Câu hỏi thường gặp

Mọi thứ bạn cần biết về Agiskills.

Có, tất cả các kỹ năng công khai đều có thể được sao chép và sử dụng miễn phí.

Phản hồi