Skillpedia
التحليل وجداول البيانات12k · #11597

data-cleaning

ما الذي تفعله

تنظف هذه المهارة جداول البيانات الفوضوية والجداول المصدّرة. وهي مخصصة للأشخاص الذين يدمجون بيانات من مصادر عدة أو يدخلون البيانات يدويًا ويحتاجون إلى نتيجة موثوقة.

متى تستخدمها

  • ✓عندما يحتوي جدول بيانات على مكررات أو خلايا فارغة أو صيغ تواريخ وأرقام مختلطة.
  • ✓عندما دمجت بيانات من أنظمة عدة وتحتاج إلى جدول واحد متسق.
  • ✓عندما تحتاج إلى سجل تنظيف يبيّن بالضبط ما الذي تغيّر ولماذا.

رابط المهارة

https://github.com/genspark-ai/genoffice/blob/main/skills/recommended/data-cleaning/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/genspark-ai/genoffice/blob/main/skills/recommended/data-cleaning/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“نظّف قائمة العملاء هذه: احذف المكررات، وأصلح صيغ التواريخ، وأخبرني بما غيّرته.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يفحص الوكيل صحة البيانات أولًا، ثم يقترح قواعد تنظيف وينتظر تأكيدك. يترك الجدول الأصلي كما هو، وينظف نسخة منه، ويسجل كل تغيير.

المحتوى التقني (ملف 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Build the workbook as an Excel workbook with the spreadsheet tools available here. Title it "<Dataset> Cleaning Result".
  6. 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
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة