金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

analyze

analyze 是面向商业与营销的 Agent Skill,来自 Yeachan-Heo/oh-my-claudecode。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Deep analysis and investigation

SKILL.md

下载 MD ↓
nameanalyze
descriptionDeep analysis and investigation
user-invocableTrue

Deep Analysis Mode

[ANALYSIS MODE ACTIVATED]

Objective

Conduct thorough analysis of the specified target (code, architecture, issue, bug, performance bottleneck, security concern).

Approach

  1. Gather Context - Read relevant files - Check git history if relevant - Review related issues/PRs if applicable

  2. Analyze Systematically - Identify patterns and antipatterns - Trace execution flows - Map dependencies and relationships - Check for edge cases

For Debugging/Bug Analysis (4-Phase Protocol)

When analyzing bugs or issues, follow systematic debugging:

  • Root Cause First - Never skip to fixes

    • Read ALL error messages
    • Reproduce consistently
    • Document hypothesis before looking at code
  • Pattern Analysis - Find working vs broken

    • Compare with working similar code
    • Identify the specific delta
  • 3-Failure Circuit Breaker - If stuck:

    • After 3 failed hypotheses, question the architecture
    • The bug may be elsewhere entirely
  1. Synthesize Findings - Root cause (for bugs) - Design decisions and tradeoffs (for architecture) - Bottlenecks and hotspots (for performance) - Vulnerabilities and risks (for security)

  2. Provide Recommendations - Concrete, actionable next steps - Prioritized by impact - Consider maintainability and technical debt

Output Format

Present findings clearly: - Summary (2-3 sentences) - Key Findings (bulleted list) - Analysis (detailed explanation) - Recommendations (prioritized)

Stay objective. Cite file paths and line numbers. No speculation without evidence.

来源:Yeachan-Heo/oh-my-claudecode · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本