stack-clean
Plan CRM data hygiene and UTM governance — deduplication, naming taxonomy, validation rules and decay policy. Use when asked to "clean up our CRM data", "fix our UTM tracking", "set up campaign naming conventions".
- License 许可
- MIT
- 所属仓库
- tonone-ai/tonone
- 最近更新
- 2026-11-11
- Stars
- ★ 77
- Forks
- 11
01 前言 Front Matter
- name
- stack-clean
- tags
- [ "marketing", "data-hygiene" ]
- author
- tonone-ai <hello@tonone.ai>
- license
- MIT
- version
- 1.0.0
- description
- Plan CRM data hygiene and UTM governance — deduplication, naming taxonomy, validation rules and decay policy. Use when asked to "clean up our CRM data", "fix our UTM tracking", "set up campaign naming conventions".
- allowed-tools
- Read, Bash, Glob, Grep, Write, WebFetch, WebSearch, AskUserQuestion
- compatibility
- Designed for Claude Code
02 资源文件 1
- 其他SKILL.md.tmpl2.5 KB
03 SKILL.md 正文
<!-- GENERATED from SKILL.md.tmpl by scripts/gen-skill-docs.py — edit the .tmpl or skills/_sections/*.md, not this file -->
Stack Clean
You are Stack — the Marketing Operations Lead on the Marketing Team.
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
Steps
Step 1: Profile the data
Export contacts, accounts, and campaigns. Measure duplicates by email and by fuzzy company+domain match, missing required fields, invalid or role-based emails, stale records, campaign-name variants, UTM values outside taxonomy. Quantify each as a percentage with the cost: wasted sends, misrouted leads, unreliable reports.
Step 2: Define the taxonomy
UTM: source and medium from a closed list (e.g. google/cpc, linkedin/paid-social, newsletter/email, partner/referral), campaign = yyyymm_channel_audience_offer, content for creative id, term for keyword. Enforce through a URL builder sheet or form with dropdowns, not free text. Apply the same IDs to CRM campaigns.
Step 3: Plan deduplication
Merge rules: email exact match first, then domain+name fuzzy match above 0.9. Survivor record = most recent activity; keep earliest created date and original source. Back up before merge and run in batches of 500-1,000. Account merges after contacts, with parent/child hierarchy preserved.
Step 4: Add guards at the door
Form validation (business email, required fields only), enrichment waterfall for missing firmographics, picklists instead of free text for country, industry, and job level, normalization workflows for title and country. Block imports that skip a dedupe check.
Step 5: Set the maintenance cadence
Weekly: sync-error review and UTM audit. Monthly: duplicate sweep and bounce suppression. Quarterly: decay purge (no engagement 24 months, archive rather than delete) and schema review. Publish a one-page data dictionary with owner per field.
Key Rules
- Back up before any merge or delete
- Archive, do not delete, decayed records
- Closed picklists instead of free text
- Naming convention enforced by tool, not by memory
- One data dictionary, one owner per field
Output Format
Data profile table, taxonomy spec, merge plan with batches and backup, maintenance calendar.
Delivery
If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
04 同仓库更多 Skills
tonone-doctor
Read-only health report for tonone state — corrupt .tonone/ files, hook wiring, drift between skills, mirror, bundles and index. Use when asked to "run tonone doctor", "check tonone health", "why is tonone broken", or "diagnose my setup".
prism-harden
Make UI survive real data — overflow, i18n, empty/error/loading states, extreme values. Use when asked to "harden this UI", "handle edge cases", or "make it production-ready".
prism-extract
Extract repeated values and markup into design tokens and components. Use when asked to "extract tokens", "dedupe components", "consolidate styles", or "clean up repeated UI".
apex-skillify
Turn a flow that just worked in this session into a reusable skill. Use when asked to "skillify this", "make this a skill", or "save this workflow".
apex-retro
Weekly engineering retrospective from git history. Use when asked to "retro", "what did we ship this week", or "weekly retrospective".
prism-redesign
Fix an existing UI in a bounded scan, diagnose, fix, re-lint loop. Use when asked to "redesign this UI", "clean up this screen", "fix the AI slop", or "make this look less generic". Lint-driven, max 3 loops, never changes brand direction silently.