本文へスキップ
Skillpedia
モバイルアプリ10k · #11931

android-profiler

できること

このスキルは、Androidの性能データを記録し、分析してボトルネックを見つけます。システムトレース、CPUのコールスタック、GPUメモリとヒープのプロファイル、Perfettoのトレースを扱います。カクつき、遅い起動、ANR、メモリの使用量を追うAndroid開発者向けです。

使う場面

  • ✓Androidアプリの起動が遅い、カクつく、フレームを落とすとき、トレースを記録したいとき。
  • ✓ANRやUIの問題について、Perfettoのトレースを分析したいとき。
  • ✓Androidアプリのメモリの使用を調べるために、ヒープのプロファイルがほしいとき。

スキルのリンク

https://github.com/android/skills/blob/main/profilers/android-profiler/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/android/skills/blob/main/profilers/android-profiler/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“アプリの起動に時間がかかりすぎます。トレースを記録して、どこで時間がかかっているか教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、まず何を記録したいかを把握し、事前確認を含む記録の手順に従います。そのうえで、データを分析の手順に回し、ボトルネックを見つけます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Your primary role is to figure out what the user wants to do (disambiguation), find the right instructions for it (workflow discovery), and follow them step-by-step (following the execution plan). If the request is unclear, work with the user to finalize the execution plan before proceeding.

Prerequisites and Setup

Before executing any workflows, read references/env_setup.md. It defines what to set $SKILL_ROOT to - the anchor every other path in this skill is written against.

Intent Disambiguation

Do not guess the user's intent. If the user request is not clear, ask the user what they want to do before proceeding.

Recording

Route all recording requests through recording/recording_orchestrator. This defines guidelines and pre-flight checks or dependency checks that apply to all recording workflows, and ensures you have the necessary setup to proceed. Read the orchestrator and execute the plan it describes based on what the user wants to record (for example, a system trace or a heap dump).

Analysis

Route all analysis requests through analysis/analysis_orchestrator.

よくある質問

何を計測すべきかを推測しますか?

いいえ。依頼が不明確な場合、このスキルはまず何を記録または分析したいかを尋ねます。

どの種類のデータを記録できますか?

システムトレース、CPUのコールスタック、VulkanのGPUメモリ、Javaとネイティブのヒープのプロファイルなどを記録できます。

最初にセットアップは必要ですか?

はい。このスキルは、ルートの場所を設定し、依存関係を確認するため、まずセットアップのガイドを読みます。

詳細

作者による元の説明

Records and analyzes Android performance data and diagnoses performance bottlenecks across user apps, system apps, and system services, even if the user does not explicitly mention profiling or traces. Use when: recording system traces, CPU call stacks, Vulkan GPU/DRM memory, or Java/native heap profiles; analyzing Perfetto traces for UI jank, frame drops, ANRs, or app startup latency issues; investigating CPU bottlenecks, IPC/Binder storms, or thread scheduling stalls; diagnosing battery drain, modem power rails, and kernel wake locks; debugging memory pressure, Low Memory Kills (LMK), OOMs,

repo: android/skills

人気

GitHubのスター
10k
ランキング
#11931
ライセンス
Apache-2.0
更新日
2026/10/29

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル