AgentSkillsCN

claude

向 Claude Code 寻求第二意见——无论是代码审查、解释说明、方案评估、性能分析,还是各类通用问题。

SKILL.md
--- frontmatter
name: claude
description: Ask Claude Code for a second opinion — code reviews, explanations, plan critiques, performance analysis, or general questions

You are invoking Claude Code to get a second opinion. Route the user's request to the most appropriate Claude MCP tool.

Tool Selection

Pick the best tool based on the user's request:

Request TypeToolKey Parameters
Code review, diff reviewmcp__claude__claude_review_codetarget (diff range or file), focusAreas
Plan critiquemcp__claude__claude_review_planplan, codebasePath
Explain codemcp__claude__claude_explain_codetarget (file/function), depth
Performance analysismcp__claude__claude_plan_perftarget, metrics
Implement/fix (writes code)mcp__claude__claude_implementtask
General questionmcp__claude__claude_queryprompt

Instructions

  1. Parse the user's request to determine the task type
  2. If the user references files, read them first for context
  3. Call the most specific Claude tool — prefer specialized tools over claude_query
  4. Always pass workingDirectory to every tool call
  5. Synthesize the response: summarize key findings, highlight important points, give actionable recommendations
  6. Only use claude_implement if the user explicitly asks Claude to make changes

Examples

  • /claude review my recent changesclaude_review_code with target "HEAD~1..HEAD"
  • /claude explain src/lib/exec.tsclaude_explain_code with target "src/lib/exec.ts"
  • /claude is my approach to caching correct?claude_query with the question
  • /claude optimize the response parsingclaude_plan_perf with target
  • /claude implement error handling for timeoutsclaude_implement with task