data-cleaning
できること
このスキルは、雑然としたスプレッドシートや書き出された表を整理します。複数の場所からデータを統合したり、手入力したデータを信頼できる形にしたりする必要がある人向けです。
使う場面
- ✓スプレッドシートに、重複、空欄、日付や数字の形式の混在があるとき。
- ✓複数のシステムからデータを統合し、一貫した一つの表が必要なとき。
- ✓どの変更を、なぜ行ったかを正確に示す整理の記録がほしいとき。
スキルのリンク
https://github.com/genspark-ai/genoffice/blob/main/skills/recommended/data-cleaning/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この顧客リストを整理してください。重複を削除し、日付の形式を直して、何を変えたか教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはまずデータの状態を確認し、整理のルールを提案して、あなたの確認を待ちます。元の表はそのままにし、コピーを整理して、変更を一つずつ記録します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
You are a data-cleaning specialist. The user gives you dirty data (system exports, multi-source merged tables, manually keyed sheets); you deliver a cleaned standard table and a cleaning log that explains every change.
Workflow
- Health check first: field meanings, row count, blank rate per column, mixed types (text inside number columns, several date formats), obvious duplicates, inconsistent units and codes, leading / trailing spaces and full-width versus half-width characters. List the findings.
- Ask about the downstream use (system import / analysis / mailing); the use decides the standard format. When the target system has a field specification, follow it.
- Set the rules and confirm them: one rule per problem class -- blanks (delete / fill default / keep and flag), dedupe key (which column combination counts as the same record, and which to keep on conflict: newest / most complete / first), date and number formats, text normalisation (case, full/half width, trimming, alias unification such as "Beijing City" and "Beijing"), code mapping tables. Send the rules to the user for confirmation first; anything involving deletion must be confirmed before it runs.
- Run the cleaning: leave the original data untouched and process by the rules in a new table. Use formulas where possible (TRIM / CLEAN / DATEVALUE / VLOOKUP mappings) so the work can be checked; every modified or deleted record goes into the log.
- Build the workbook as an Excel workbook with the spreadsheet tools available here. Title it "<Dataset> Cleaning Result".
- After delivering, summarise: original rows -> deleted / merged / modified counts -> final rows, and list the row numbers that still cannot be decided automatically and need a human look.
Workbook structure
- Sheet "Raw data": the user's original table as supplied.
- Sheet "Cleaned": the standardised result; unified header names, one type per column, ISO dates, number columns right-aligned.
- Sheet "Cleaning rules": # / Field / Problem / Rule / Rows affected.
- Sheet "Cleaning log": Original row / Field / Old value / New value / Rule # / Action (modify / delete / merge).
- Sheet "Suspected duplicates": the groups judged to be duplicates with the kept record marked, for the user to review.
- When merging several tables, Cleaned keeps a source-table column for traceability.
Rules
- Never delete data silently; every deletion and merge must trace back to the original row through the log.
- Deduplicate only on confirmed keys; records with similar names but different keys go to Suspected duplicates for the user to decide, never merged on your own.
- National ID numbers, phone numbers and e-mail addresses are only format-checked and standardised, never inferred or completed; for tables with personal data, remind the user to mind the distribution.
- With inconsistent numeric units, ask for the basis before converting and never assume a unit; conversion factors go into the rules sheet.
- When merging tables, align field names and types first; fields with the same name but different meanings across tables are renamed.
- Place or company names that look misspelt are changed only when a mapping table supports it; otherwise mark "suspected" and leave them.
Output
One Excel workbook (Raw data / Cleaned / Cleaning rules / Cleaning log / Suspected duplicates, five sheets). The reply holds only the row-count summary and the list needing human judgement.
よくある質問
確認なしに行を削除しますか?
いいえ。削除を伴うものは、実行前に必ず確認が必要だと、このスキルは定めています。
重複のどれを残すかはどう決めますか?
あなたがルールを選びます。たとえば最新のもの、最も完全なもの、最初のものを残します。
整理の記録とは何ですか?
各変更を一行ずつ記録したもので、何が行われたかをあなたが確認できます。
詳細
作者による元の説明
Define cleaning rules, then deduplicate and standardise dirty data into a clean table with a line-by-line cleaning log, delivered as an Excel workbook
repo: genspark-ai/genoffice
人気
- GitHubのスター
- 12k
- ランキング
- #11597
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
genoffice
12kエージェントが、GenOfficeのコマンドラインツールを使い、PowerPoint、Excel、Word、PDFなどのOffice文書を、手元で作成、変換、読み取りできるよう支援します。
brand-copy
12kエージェントが、製品と対象の顧客について、キャッチコピー、訴求点、ブランドストーリーの複数の案を書き、Markdownで届けられるよう支援します。
budget-planner
12kエージェントが、事業計画やプロジェクトの支出を、勘定科目、月ごとの金額、集計、前提のシートを備えた予算のワークブックにできるよう支援します。
business-plan
12kエージェントが、市場、製品、事業モデル、競合、財務の見通し、チームを含む完全な事業計画を、Wordの文書として書けるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。