What problem does it solve? Choosing the wrong mathematical formalism for a domain model is a primary driver of architectural debt, and informal data migrations often destroy semantic meaning. This Skill provides a prescriptive methodology for selecting and applying the correct formalism — category theory, coalgebra, linear logic, session types, or information theory — to domain modeling, schema migration, protocol verification, and architectural entropy measurement. ## Core Features & Use Cases - Functorial Data Migration: Apply adjoint functors (Δ, Σ, Π) to migrate and merge database schemas without semantic loss, treating schemas as categories. - Olog Construction: Build ontological graphs with strict construction rules (singular noun phrases, functional morphisms, commutative diagrams) to make domain knowledge verifiable. - Behavioral & Protocol Verification: Use coalgebraic bisimulation for behavioral equivalence and session types for deadlock-free multi-party protocol compliance. - Architectural Entropy Metrics: Compute SEIC (Structural Entropy Index of a Community) with null-model analysis to detect centralization and architectural fragility. - Use Case: When merging two microservice databases, model both schemas as categories, define a schema mapping functor, and use the pullback/pushforward functors to migrate data while provably preserving relationships. ## Quick Start Use the sdma skill to model my order-processing domain as an olog and recommend the right formalism for verifying its payment protocol.