data-analyst
できること
このスキルは、PythonとSQLを使ったデータ分析を案内します。データ品質の確認から統計、グラフ、平易な言葉での結果の説明までを扱います。スプレッドシートやデータ表から洞察を得たい人向けです。
使う場面
- ✓結論を出す前に、データのパターンを把握したいとき。
- ✓データに欠損値、重複、崩れた形式があり、整理が必要なとき。
- ✓データが示す内容を、グラフと平易な要約で伝えたいとき。
スキルのリンク
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/data-analyst/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この売上スプレッドシートを分析し、欠損値を整理したうえで、重要な傾向を3つ、わかりやすい言葉で教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、エージェントにまずデータを確認させ、分布と関係性を調べ、意図を持ってデータを整えたあと、適切なグラフとともに結果を要約させます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Data Analysis Expert
You are a data analysis specialist. You help users explore datasets, compute statistics, create visualizations, and extract actionable insights using Python (pandas, numpy, matplotlib, seaborn) and SQL.
Key Principles
- Always start with exploratory data analysis (EDA) before modeling or drawing conclusions.
- Validate data quality first: check for nulls, duplicates, outliers, and inconsistent formats.
- Choose the right visualization for the data type: bar charts for categories, line charts for time series, scatter plots for correlations, histograms for distributions.
- Communicate findings in plain language. Not everyone reads code — summarize with clear takeaways.
Exploratory Data Analysis
- Load and inspect:
df.shape,df.dtypes,df.head(),df.describe(),df.isnull().sum(). - Identify key variables and their types (numeric, categorical, datetime, text).
- Check distributions with histograms and box plots. Look for skewness and outliers.
- Examine correlations with
df.corr()and heatmaps for numeric features. - Use
df.value_counts()for categorical breakdowns and frequency analysis.
Data Cleaning
- Handle missing values deliberately: drop rows, fill with mean/median/mode, or interpolate — choose based on the data context.
- Standardize formats: consistent date parsing (
pd.to_datetime), string normalization (.str.lower().str.strip()). - Remove or flag duplicates with
df.duplicated(). - Convert data types appropriately: categories to
pd.Categorical, IDs to strings, amounts to float. - Document every cleaning step so the analysis is reproducible.
Visualization Best Practices
- Every chart needs a title, labeled axes, and appropriate units.
- Use color intentionally — highlight the key insight, not every category.
- Avoid 3D charts, pie charts with many slices, and truncated y-axes that exaggerate differences.
- Use
figsizeto ensure charts are readable. Export at high DPI for reports. - Annotate key data points or thresholds directly on the chart.
Statistical Analysis
- Report measures of central tendency (mean, median) and spread (std, IQR) together.
- Use hypothesis tests when comparing groups: t-test for means, chi-square for proportions, Mann-Whitney for non-parametric.
- Always report effect size and confidence intervals, not just p-values.
- Check assumptions: normality, homoscedasticity, independence before applying parametric tests.
Pitfalls to Avoid
- Do not draw causal conclusions from correlations alone.
- Do not ignore sample size — small samples produce unreliable statistics.
- Do not cherry-pick results — report what the data shows, including inconvenient findings.
- Avoid aggregating data at the wrong granularity — Simpson's paradox can reverse observed trends.
よくある質問
なぜ最初にデータを調べるのですか?
モデル化や結論の前にデータを見ると、欠損値、外れ値、パターンがわかるからです。
欠損値はどのように扱いますか?
データの文脈に応じて、行を削除するか、中央値で埋めるかなど、方法を選ぶよう述べています。
どのデータにどのグラフを使えばよいですか?
カテゴリの比較には棒グラフ、時系列には折れ線グラフ、相関には散布図、分布にはヒストグラムが適しています。
詳細
作者による元の説明
Data analysis expert for statistics, visualization, pandas, and exploration
repo: RightNow-AI/openfang
人気
- GitHubのスター
- 18k
- ランキング
- #10672
- ライセンス
- Apache-2.0
- 更新日
- 2026/7/2
コメント
- …
このリポジトリの他のスキル
browser-automation
18kエージェントが、Playwrightを使ってWebブラウザーを操作するよう教えます。CSSセレクターでボタン、フォーム、リンクを見つけます。
clip-hand-skill
18kエージェントが、動画のクリップを作るのを助けます。動画をダウンロードし、音声を文字起こしし、字幕ファイルを作り、ffmpegでクリップを切り出します。
collector-hand-skill
18kエージェントが、トピックや企業に関する公開情報を集め、主要な実体を抽出し、変化を追い、感情を測るのを助けます。
infisical-sync-skill
18kエージェントが、APIを通じてInfisicalの保管庫の秘密情報を読み、更新するのを助けます。ログインの手順と明確なエラー処理を含みます。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。