ies/music-topos/.codex/skills/categorical-composition/SKILL.md
# Categorical Composition **Category:** Phase 3 Core - Compositional Architecture **Status:** Skeleton Implementation **Dependencies:** None (foundational) ## Overview Implements categorical abstractions for compositional learning: Kan extensions for adapting between learning problems, higher adjunctions for bidirectional transformations, and functorial parameter transfer for compositional generalization. ## Capabilities - **Kan Extensions**: Left/right Kan extensions for problem adaptation
npx skillsauth add plurigrid/asi ies/music-topos/.codex/skills/categorical-compositionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Category: Phase 3 Core - Compositional Architecture Status: Skeleton Implementation Dependencies: None (foundational)
Implements categorical abstractions for compositional learning: Kan extensions for adapting between learning problems, higher adjunctions for bidirectional transformations, and functorial parameter transfer for compositional generalization.
Category Theory Primitives (category_theory.jl)
Kan Extensions (kan_extensions.jl)
Adjunctions (adjunctions.jl)
Functorial Parameter Transfer (functorial_transfer.jl)
formal-verification-ai (correctness proofs)using CategoricalComposition
# Define source and target categories
C = FiniteCategory(objects=[:A, :B], morphisms=Dict(:f => (:A, :B)))
D = FiniteCategory(objects=[:X, :Y, :Z], morphisms=Dict(:g => (:X, :Y), :h => (:Y, :Z)))
# Define functor F: C -> D
F = Functor(
source=C,
target=D,
object_map=Dict(:A => :X, :B => :Y),
morphism_map=Dict(:f => :g)
)
# Compute left Kan extension
G = Functor(source=C, target=Set, object_map=Dict(:A => [1,2], :B => [3,4]))
Lan_F_G = left_kan_extension(F, G)
# Verify adjunction
@assert check_adjunction(Lan_F_G, restriction_functor(F))
development
BDD-Driven Mathematical Content Verification Skill Combines Behavior-Driven Development with mathematical formula extraction, verification, and transformation using: - Cucumber/Gherkin for specification - RSpec for implementation verification - mathpix-gem for LaTeX/mathematical content extraction - Pattern matching on syntax trees for formula validation Enables iterative discovery and verification of mathematical properties through executable specifications.
tools
Meta-skill that generates domain-specific AI skills from tool documentation
development
Code Query with AI-enhanced deterministic analysis via SplitMix ternary classification
development
Directed Yoneda lemma as directed path induction. Riehl-Shulman's key insight for synthetic ∞-categories.