data-cleaning
O que ela faz
Esta skill limpa planilhas bagunçadas e tabelas exportadas. Ela é para quem junta dados de várias fontes ou digita dados à mão e precisa de um resultado confiável.
Quando usar
- ✓Quando uma planilha tem duplicatas, células vazias ou formatos misturados de data e número.
- ✓Quando você juntou dados de vários sistemas e precisa de uma única tabela consistente.
- ✓Quando você precisa de um registro de limpeza que mostre exatamente o que foi alterado e por quê.
Link da skill
https://github.com/genspark-ai/genoffice/blob/main/skills/recommended/data-cleaning/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Limpe esta lista de clientes: remova as duplicatas, corrija os formatos de data e me diga o que você mudou.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente primeiro verifica a saúde dos dados e depois propõe regras de limpeza e espera sua confirmação. Ele deixa a tabela original como está, limpa uma cópia e registra cada alteração.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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.
Perguntas frequentes
Ele vai apagar linhas sem perguntar?
Não. A skill diz que qualquer ação de exclusão precisa ser confirmada antes de ser executada.
Como ele decide qual duplicata manter?
Você escolhe a regra, como manter o mais recente, o mais completo ou o primeiro registro.
O que é o registro de limpeza?
Um registro linha por linha de cada alteração, para que você possa revisar o que foi feito.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 12 mil
- Posição no ranking
- #11597
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
genoffice
12 milAjuda seu agente a criar, converter e ler arquivos do Office, como PowerPoint, Excel, Word e PDF, localmente, usando a ferramenta de linha de comando GenOffice.
brand-copy
12 milAjuda seu agente a escrever várias versões de slogans, diferenciais e uma história de marca para um produto e seu público, entregues em Markdown.
budget-planner
12 milAjuda seu agente a transformar um plano ou os gastos de um projeto em planilha de orçamento, com valores mensais, resumos e aba de premissas.
business-plan
12 milAjuda seu agente a escrever um plano de negócios completo, com mercado, produto, modelo, concorrentes, projeções financeiras e equipe, em Word.
Skills parecidas
gitcrawl
394 milPermite que seu agente pesquise um arquivo salvo de issues e pull requests do GitHub, agrupe os duplicados e verifique o status atual deles no GitHub.
slacrawl
394 milPermite que seu agente pesquise e conte mensagens em um arquivo local do Slack, verifique quão atualizado ele está e o atualize quando necessário.
goplaces
394 milAjuda seu agente a buscar lugares, obter detalhes e avaliações e identificar nomes de lugares usando o Google Places, com saída em JSON para scripts.