Skip to content
cccskills
FreePublished on GitHub

data-cleaning

Clean customer lists and combine inconsistent tables using agreed rules for duplicates, dates, numbers, and text. Receive an Excel workbook with the original data, cleaned results, cleaning rules, and a record of changes for review.

OriginalShow the original description

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

Works withExcel

Run score Not tested

See how to install

Good for

  • Removing duplicates from a customer list
  • Combining tables with inconsistent formats
  • Standardizing dates, numbers, and text
  • Reviewing changes against original records

Files included (1)

  • SKILL.md3.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

brand-copy

FreeSummary

Use product facts and audience information to create ten tagline options, benefit statements backed by evidence, and brand stories for websites and social media. Compare alternatives in a Markdown document with recommendations and tone guidance.

  • Compare tagline options for a product
  • Rewrite product features as customer benefits
  • Create brand stories for a website and social media
genspark-ai/genoffice10.7KUpdated Oct 23, 2026

budget-planner

FreeSummary

Turn a business plan or project spending details into an Excel budget workbook. Organize monthly costs, account and quarterly summaries, confirmed assumptions, and a change log, with formulas that update calculations when assumptions change.

  • Build an annual department budget from a business plan
  • Organize project spending into a monthly budget
  • Compare budget totals with previous-year results
genspark-ai/genoffice10.7KUpdated Oct 23, 2026

business-plan

FreeSummary

Turn a project idea or unfinished draft into a Word business plan for fundraising or internal approval, covering customers, market size, competitors, revenue model, team, and three-year financial projections with clearly stated assumptions.

  • Prepare a business plan for fundraising
  • Develop a proposal for internal project approval
  • Complete financial projections and competitor analysis
genspark-ai/genoffice10.7KUpdated Oct 23, 2026

business-report

FreeSummary

Turn notes, data, and source documents into a structured Word business report. An executive summary, evidence-based findings, actionable recommendations, and open questions give readers a clear conclusion, with consistent wording and sources for the figures.

  • Turning notes and data into a business report
  • Writing an assessment to support a decision
  • Preparing a sourced report for a client
genspark-ai/genoffice10.7KUpdated Oct 23, 2026

campaign-planner

FreeSummary

Turn campaign goals, audience details, timing, and budget into a Word plan for review. Develop theme options, schedules, promotion channels, materials, cost breakdowns, measurable targets, contingency plans, and a template for reviewing results.

  • Plan a product launch event
  • Design a seasonal sales promotion within a budget
  • Map participation and conversion steps for an online campaign
genspark-ai/genoffice10.7KUpdated Oct 23, 2026

contract-drafter

FreeSummary

Prepare a reference contract draft in Word from the parties, scope, payment terms, and other agreement details. Include a pre-signing checklist explaining unfavorable clauses and unresolved negotiation points, with a reminder to obtain licensed legal review.

  • Drafting a services outsourcing contract
  • Identifying risks in an agreement before signing
  • Listing unresolved contract negotiation points
genspark-ai/genoffice10.7KUpdated Oct 23, 2026

See all skills by genspark-ai

Report a problem with this skill