跳到正文
cccskills
免费在 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.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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

集成工具Excel

实测评分 未实测

查看安装方法

适用场景

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

包含的文件(1)

  • SKILL.md3.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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/genoffice1.1万2026年10月23日 更新

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/genoffice1.1万2026年10月23日 更新

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/genoffice1.1万2026年10月23日 更新

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/genoffice1.1万2026年10月23日 更新

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/genoffice1.1万2026年10月23日 更新

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/genoffice1.1万2026年10月23日 更新

查看 genspark-ai 的全部技能

报告此技能的问题