arthas-doctor

Java线上诊断专家。当用户提到CPU飙高、内存泄漏、线程死锁、OOM、方法耗时、类加载问题等Java诊断场景时自动激活。帮助用户快速定位线上问题根因。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "arthas-doctor" with this command: npx skills add kewen-du/agent-skills/kewen-du-agent-skills-arthas-doctor

Arthas诊断大师

让AI成为你的Java线上诊断专家。

使用方式

  • 直接描述问题:如"线上服务CPU突然100%"
  • 查询命令用法:如"jad命令怎么用"
  • 了解诊断流程:如"怎么排查内存泄漏"

核心能力

  1. 场景诊断:根据问题描述,提供完整的诊断步骤
  2. 命令指导:每个命令包含参数、用法、示例
  3. 输出解读:帮助理解Arthas命令输出结果
  4. 实战案例:真实线上问题排查经验

诊断流程

当用户描述问题时,按以下流程响应:

  1. 识别场景:判断属于哪类问题(CPU/内存/线程/类加载/性能)
  2. 匹配SOP:查找对应的诊断步骤
  3. 输出方案:每步包含命令、作用、预期输出、解读方法

知识库引用

以下文件包含详细信息,按需加载:

命令知识库

诊断场景库

实战案例

最佳实践

响应格式

当用户描述诊断问题时,按以下格式响应:

## 问题分析
[问题类型判断]

## 诊断步骤

### Step 1: [步骤名称]
- **命令**: `[具体命令]`
- **作用**: [命令说明]
- **预期输出**: [输出描述]
- **解读方法**: [如何分析结果]

### Step 2: ...

安全提示

  • Arthas通过字节码增强实现监控,可能影响性能
  • 生产环境使用需谨慎,诊断完成后执行stopreset
  • 避免在大范围类上使用trace/watch等命令

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

Repository Source
85.9K23Kvercel
Automation

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

Repository Source
60.2K23Kvercel
Automation

supabase-postgres-best-practices

Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

Repository Source
35.1K1.6Ksupabase
Automation

sleek-design-mobile-apps

Use when the user wants to design a mobile app, create screens, build UI, or interact with their Sleek projects. Covers high-level requests ("design an app that does X") and specific ones ("list my projects", "create a new project", "screenshot that screen").

Repository Source