ask-peer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Peer Engineer Consultation

同行工程师咨询

Get a second opinion from a peer engineer (Claude subagent) for:
  • Planning review: Validate your implementation approach before starting
  • Code review: Check completed work for issues or improvements
  • Problem-solving: Brainstorm solutions when stuck
  • Sanity check: Confirm you're on the right track
可向同行工程师(Claude子Agent)获取第二意见,适用于以下场景:
  • 计划评审:在开始前验证你的实施方案
  • 代码评审:检查已完成工作中的问题或可改进点
  • 问题解决:遇到瓶颈时进行解决方案头脑风暴
  • 合理性检查:确认你的方向是否正确

Usage

使用方法

Use the
/ask-peer
command followed by your consultation request:
bash
/ask-peer Review this implementation plan for adding user authentication
Or simply describe what you need help with:
bash
/ask-peer I'm stuck on how to handle error cases in the payment flow
使用
/ask-peer
命令,后跟你的咨询请求:
bash
/ask-peer Review this implementation plan for adding user authentication
或者直接描述你需要帮助的内容:
bash
/ask-peer I'm stuck on how to handle error cases in the payment flow

Examples

示例

Plan review before implementation:
bash
/ask-peer Review my plan to refactor the authentication module. Check for security concerns and missing edge cases.
Code review after completion:
bash
/ask-peer Review the changes I made to src/auth/. Look for bugs, security issues, and code quality problems.
Problem-solving consultation:
bash
/ask-peer I'm getting intermittent test failures in the payment module. Help me think through possible causes.
实施前的计划评审:
bash
/ask-peer Review my plan to refactor the authentication module. Check for security concerns and missing edge cases.
完成后的代码评审:
bash
/ask-peer Review the changes I made to src/auth/. Look for bugs, security issues, and code quality problems.
问题解决咨询:
bash
/ask-peer I'm getting intermittent test failures in the payment module. Help me think through possible causes.

What the Peer Agent Provides

同行Agent提供的内容

  • Frank, objective feedback as an equal
  • Specific concerns with suggested alternatives
  • Questions to challenge assumptions
  • Practical solutions rather than perfection
  • 以平等身份给出坦诚、客观的反馈
  • 提出具体问题并给出替代方案建议
  • 通过提问挑战你的假设
  • 提供实用解决方案而非追求完美