Token导航 LogoToken导航

Agent Skill · 研究检索

deep-dive-analysis(深入分析)

deep-dive-analysis 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

deep-dive-analysis 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 45,786。

总安装 824周安装 34GitHub Stars 1下载 269核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deep-dive-analysis(深入分析)
来源仓库:https://github.com/acaprino/alfio-claude-plugins
仓库路径:skills/deep-dive-analysis
安装命令:
npx skills add https://github.com/acaprino/alfio-claude-plugins --skill deep-dive-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/acaprino/alfio-claude-plugins --skill deep-dive-analysis

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于生成全面的代码库文档,结合机械结构与语义理解输出 WHAT/WHY/HOW。提取类、函数、依赖关系,并分析业务目的与设计决策背景。输出包含变更后果与失败模式,支持后续重构与安全评估。依赖 AST 解析与符号追踪,建议在安装前确认项目语言与依赖完整性。

deep-dive-analysis 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/deep-dive-analysis

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/acaprino/alfio-claude-plugins --skill deep-div…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

deep-dive-analysis 怎么安装?

在终端执行 npx skills add https://github.com/acaprino/alfio-claude-plugins --skill deep-dive-analysis。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

deep-dive-analysis 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

deep-dive-analysis 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

deep-dive-analysis 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

deep-dive-analysis 用的人多吗?

公开数据是累计安装 824 次,近一周安装 34 次,下载 269 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

deep-dive-analysis 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
deep-dive-analysis

深入分析 · 本页

8241需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Deep Dive Analysis Skill

Overview

This skill combines mechanical structure extraction with Claude's semantic understanding to produce comprehensive codebase documentation. Unlike simple AST parsing, this skill captures:

  • WHAT the code does (structure, functions, classes)
  • WHY it exists (business purpose, design decisions)
  • HOW it integrates (dependencies, contracts, flows)
  • CONSEQUENCES of changes (side effects, failure modes)

Capabilities

Mechanical Analysis (Scripts):

  • Extract code structure (classes, functions, imports)
  • Map dependencies (internal/external)
  • Find symbol usages across the codebase
  • Track analysis progress
  • Classify files by criticality

Semantic Analysis (Claude AI):

  • Recognize architectural and design patterns
  • Identify red flags and anti-patterns
  • Trace data and control flows
  • Document contracts and invariants
  • Assess quality and maintainability

Documentation Maintenance:

  • Review and maintain documentation (Phase 8)
  • Fix broken links and update navigation indexes
  • Analyze and rewrite code comments (antirez standards)

Use this skill when:

  • Analyzing a codebase you're unfamiliar with
  • Generating documentation that explains WHY, not just WHAT
  • Identifying architectural patterns and anti-patterns
  • Performing code review with semantic understanding
  • Onboarding to a new project

Prerequisites

This skill is invoked by the /deep-dive-analysis command. The command creates and manages state automatically in .deep-dive/ under the target directory:

  1. .deep-dive/state.json -- phase tracking (auto-created by the command)
  2. .deep-dive/<phase-number>-<name>.md -- per-phase output documents

The legacy standalone flow using analysis_progress.json and DEEP_DIVE_PLAN.md at project root is no longer the primary path -- prefer invoking /deep-dive-analysis <target>.

CRITICAL PRINCIPLE: ABSOLUTE SOURCE OF TRUTH

THE DOCUMENTATION GENERATED BY THIS SKILL IS THE ABSOLUTE AND UNQUESTIONABLE SOURCE OF TRUTH FOR YOUR PROJECT. ANY INFORMATION NOT VERIFIED WITH IRREFUTABLE EVIDENCE FROM SOURCE CODE IS FALSE, UNRELIABLE, AND UNACCEPTABLE.

Mandatory Rules (VIOLATION = FAILURE)

  1. NEVER document anything without reading the actual source code first
  2. NEVER assume any existing documentation, comment, or docstring is accurate
  3. NEVER write documentation based on memory, inference, or "what should be"
  4. ALWAYS derive truth EXCLUSIVELY from reading and tracing actual code
  5. ALWAYS provide source file + qualified symbol name for every technical claim
  6. ALWAYS verify state machines, enums, constants against actual definitions
  7. TREAT all pre-existing docs as unverified claims requiring validation
  8. MARK any unverifiable statement as [UNVERIFIED - REQUIRES CODE CHECK]
  9. USE qualified symbol names in markers (file.py::Class.method), never line numbers -- line numbers break on any edit

See references/analysis-templates.md for the full verification trust model, temporal purity principle, and documentation status markers.

Output Usage Guide

After analysis completes, consult the right file for your task:

Your TaskStart WithAlso Check
Onboarding / understanding the project07-final-report, 01-structure04-semantics
Writing new feature01-structure (Where to Add), 02-interfaces04-semantics
Fixing a bug03-flows, 05-risks01-structure
Refactoring01-structure, 04-semantics, 05-risks03-flows
Code review02-interfaces, 05-risks06-documentation
Updating documentation06-documentation, 04-semantics02-interfaces

Forbidden Files

The analysis NEVER reads or includes contents from sensitive files: .env, .env.*, credentials.*, secrets.*, *.pem, *.key, *.p12, *.pfx, id_rsa*, id_ed25519*, .npmrc, .pypirc, .netrc, or any file containing API keys, passwords, or tokens. If encountered, note file existence only - never quote contents.

Available Commands

1. Analyze Single File

python .claude/skills/deep-dive-analysis/scripts/analyze_file.py \
  --file src/utils/circuit_breaker.py \
  --output-format markdown

Parameters:

  • --file / -f: Relative path to file - REQUIRED
  • --output-format / -o: Output format (json, markdown, summary) - default: summary
  • --find-usages / -u: Find all usages of exported symbols - default: false
  • --update-progress / -p: Update analysis_progress.json - default: false

2. Check Progress

python .claude/skills/deep-dive-analysis/scripts/check_progress.py \
  --phase 1 --status pending

3. Find Usages

python .claude/skills/deep-dive-analysis/scripts/analyze_file.py \
  --symbol CircuitBreaker --file src/utils/circuit_breaker.py

4. Generate Phase Report

python .claude/skills/deep-dive-analysis/scripts/analyze_file.py \
  --phase 1 --output-format markdown --output-file docs/01_domains/COMMON_LIBRARY.md

Phase 8: Documentation Review Commands

5. Scan Documentation Health

python .claude/skills/deep-dive-analysis/scripts/doc_review.py scan \
  --path docs/ --output doc_health_report.json

6. Validate Links

python .claude/skills/deep-dive-analysis/scripts/doc_review.py validate-links \
  --path docs/ --fix

7. Verify Against Source Code

python .claude/skills/deep-dive-analysis/scripts/doc_review.py verify \
  --doc docs/agents/lifecycle.md --source src/agents/lifecycle.py

8. Update Navigation Indexes

python .claude/skills/deep-dive-analysis/scripts/doc_review.py update-indexes \
  --search-index docs/00_navigation/SEARCH_INDEX.md \
  --by-domain docs/00_navigation/BY_DOMAIN.md

9. Full Documentation Maintenance

python .claude/skills/deep-dive-analysis/scripts/doc_review.py full-maintenance \
  --path docs/ --auto-fix --output doc_health_report.json

Executes: scan health, validate/fix links, identify obsolete files, update indexes, generate report.


Comment Quality Commands (Antirez Standards)

10. Analyze Comment Quality

python .claude/skills/deep-dive-analysis/scripts/rewrite_comments.py analyze \
  src/main.py --report

11. Scan Directory for Comment Issues

python .claude/skills/deep-dive-analysis/scripts/rewrite_comments.py scan \
  src/ --recursive --issues-only

12. Generate Comment Health Report

python .claude/skills/deep-dive-analysis/scripts/rewrite_comments.py report \
  src/ --output comment_health.md

13. Rewrite Comments

python .claude/skills/deep-dive-analysis/scripts/rewrite_comments.py rewrite \
  src/main.py --apply --backup

14. View Standards Reference

python .claude/skills/deep-dive-analysis/scripts/rewrite_comments.py standards

File Classification Criteria

ClassificationCriteriaVerification
CriticalHandles authentication, security, encryption, sensitive dataMandatory
High-Complexity>300 LOC, >5 dependencies, state machines, async patternsMandatory
StandardNormal business logic, data models, utilitiesRecommended
UtilityPure functions, helpers, constantsOptional

AI-Powered Semantic Analysis

Five Layers of Understanding

LayerWhatWho Does It
1. WHATClasses, functions, importsScripts (AST)
2. HOWAlgorithm details, data flowClaude's first pass
3. WHYBusiness purpose, design decisionsClaude's deep analysis
4. WHENTriggers, lifecycle, concurrencyClaude's behavioral analysis
5. CONSEQUENCESSide effects, failure modesClaude's systems thinking

Pattern Recognition

Pattern TypeExamplesDocumentation Focus
ArchitecturalRepository, Service, CQRS, Event-DrivenResponsibilities, boundaries
BehavioralState Machine, Strategy, Observer, ChainTransitions, variations
ResilienceCircuit Breaker, Retry, Bulkhead, TimeoutThresholds, fallbacks
DataDTO, Value Object, AggregateInvariants, relationships
ConcurrencyProducer-Consumer, Worker PoolThread safety, backpressure

Red Flags to Identify

ARCHITECTURE:
- GOD CLASS: >10 public methods or >500 LOC
- CIRCULAR DEPENDENCY: A -> B -> C -> A
- LEAKY ABSTRACTION: Implementation details in interface

RELIABILITY:
- SWALLOWED EXCEPTION: Empty catch blocks
- MISSING TIMEOUT: Network calls without timeout
- RACE CONDITION: Shared mutable state without sync

SECURITY:
- HARDCODED SECRET: Passwords, API keys in code
- SQL INJECTION: String concatenation in queries
- MISSING VALIDATION: Unsanitized user input

AI Analysis Workflow

1. SCRIPTS RUN FIRST -> classifier.py, ast_parser.py, usage_finder.py
2. CLAUDE ANALYZES -> Read source, apply semantic questions, recognize patterns, identify red flags
3. CLAUDE DOCUMENTS -> Use template, explain WHY not just WHAT, document contracts
4. VERIFY -> Check against runtime behavior, validate with code traces

Analysis Loop Workflow

1. CLASSIFY -> LOC, dependencies, critical patterns, assign classification
2. READ & MAP -> AST structure, classes, functions, constants, state mutations
3. DEPENDENCY CHECK -> Internal imports, external imports, external calls
4. CONTEXT ANALYSIS -> Symbol usages, importing modules, message flows
5. RUNTIME VERIFICATION (Critical/High-Complexity) -> Log analysis, flow verification
6. DOCUMENTATION -> Update progress, generate report, cross-reference

Best Practices

Source Code Analysis (Phases 1-7)

  1. Start with Phase 1 - foundation modules inform everything else
  2. Track progress with --update-progress
  3. Never skip runtime verification for critical/high-complexity files
  4. Cross-reference with CONTEXT.md after analysis

Documentation Maintenance (Phase 8)

  1. Run scan first to understand current state
  2. Fix links before content - broken links indicate structural issues
  3. Verify against code before updating documentation
  4. Update indexes last to reflect final state

References

  • references/analysis-templates.md - Verification trust model, temporal purity principle, documentation status markers, comment classification, maintenance workflows
  • references/AI_ANALYSIS_METHODOLOGY.md - Complete analysis methodology
  • references/SEMANTIC_PATTERNS.md - Pattern recognition guide
  • references/ANTIREZ_COMMENTING_STANDARDS.md - Comment taxonomy
  • references/DEEP_DIVE_PLAN.md - Master analysis plan with all phase definitions
  • templates/semantic_analysis.md - AI-powered per-file analysis template
  • templates/analysis_report.md - Module-level report template

Resources

  • Scripts: scripts/ - Python analysis tools

- analyze_file.py - Source code analysis (Phases 1-7) - check_progress.py - Progress tracking - doc_review.py - Documentation maintenance (Phase 8) - comment_rewriter.py - Comment analysis engine - rewrite_comments.py - Comment quality CLI tool

平台分布

Codex

33.07%
按下载量换算89

Claude

31.86%
按下载量换算86

Cursor

20.68%
按下载量换算56

Gemini CLI

9.61%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills