Centralize taxonomy module (lib/taxonomy)

Technology·Architecture, Design System, Data

Solid
Case studyPin — Pro

Consolidate scattered taxonomy definitions into a single authoritative module (lib/taxonomy) to standardize types, color formats, and emoji mappings across multiple BCs.

Key Insight

Create one canonical taxonomy source that exports DB-ready structures and utilities for HSL ↔ Tailwind color derivation, ensuring consistent types and removing duplicated emoji mappings.

Context

Current state: four separate taxonomy definitions exist across BCs with inconsistent types (e.g., `Art`, `Research` not in schema), three different color formats with no conversion utilities, and duplicated emoji mappings. Target: a single lib/taxonomy module imported by achievements, OG, pills, and agent; HSL and Tailwind color formats with derivation utilities; a DB-ready structure that simplifies migration to a taxonomy table later.

taxonomydesign-systemcolorsemojidatabase-migrationfrontendbackend
Created Jan 3, 2026Updated last month