From suaveplan-data
Use when implementing or debugging code that uses @suaveplan/domain-normalizer: Normalisation, matching, and alias-canonicalisation for internet domain names.
How this skill is triggered — by the user, by Claude, or both
Slash command
/suaveplan-data:domain-normalizerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Normalisation, matching, and alias-canonicalisation for internet domain names. Given heterogeneous URL or domain input — including common mobile/CDN subdomains and 31 built-in alias mappings (e.g. `m.youtube.com → youtube.com`, `old.reddit.com → reddit.com`) — this package produces a canonical registrable domain via `tldts`, strips `www`/`m`/`mobile` prefixes, resolves the alias map, and return...
Normalisation, matching, and alias-canonicalisation for internet domain names. Given heterogeneous URL or domain input — including common mobile/CDN subdomains and 31 built-in alias mappings (e.g. m.youtube.com → youtube.com, old.reddit.com → reddit.com) — this package produces a canonical registrable domain via tldts, strips www/m/mobile prefixes, resolves the alias map, and returns structured NormalizedDomain objects. It also provides Levenshtein-based similarity scoring (computeSimilarity), fuzzy matching (matchDomains), and a groupDomains function that clusters a mixed list by canonical root domain. Use this package for deduplicating contact email domains, canonicalising URLs before storage, and building domain-level blocklists. For full entity deduplication across arbitrary fields use @suaveplan/dedup; for MIME or URL content-type detection use @suaveplan/mime.
@suaveplan/domain-normalizer.import { /* see API Reference below */ } from "@suaveplan/domain-normalizer";
Workspace dependencies: none
This skill is intentionally short. The package's own documentation is the authoritative source — read these in order:
packages/data/domain-normalizer/README.md — overview, install, quick-start, module indexpackages/data/domain-normalizer/src/**/*.md — co-located docs per implementation file (Purpose, Features, Basic + Advanced examples, full API reference, Implementation notes — all packages in genesis ship ≥200 words per module)packages/data/domain-normalizer/package.json exports map — every subpath you can import fromWhen the user asks an API question, read the relevant co-located .md first; do not answer from training-data memory.
../../../README.mdThis SKILL.md is auto-generated by suaveplan-skills/scripts/generate-skills.ts from the package's README. Do not edit by hand — re-run the generator after the README changes.
npx claudepluginhub suaveplan/suaveplan-skills --plugin suaveplan-dataSearches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.