Mmcp.market

natural-transformations skill

by parcadei·parcadei/Continuous-Claude-v3·3.9k stars·MIT

Problem-solving strategies for natural transformations in category theory

A100/100content scan

Is the natural-transformations skill safe?

Clean: nothing in its files matched our rules. We read 1 file in the folder on 2026-09-28.

No findings.

Install the natural-transformations skill

A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.

git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3.git /tmp/Continuous-Claude-v3
mkdir -p ~/.claude/skills
cp -r /tmp/Continuous-Claude-v3/.claude/skills/math/category-theory/natural-transformations ~/.claude/skills/natural-transformations
available in every project

In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub

The instructions your agent would load

SKILL.md as published, without the frontmatter. Read it on GitHub

Natural Transformations

When to Use

Use this skill when working on natural-transformations problems in category theory.

Decision Tree

  1. Verify Naturality

G(f) . etaA = etaB . F(f)

  • eta: F => G is natural transformation between functors F, G: C -> D
  • For each f: A -> B in C, diagram commutes:
  • Write Lean 4: theorem nat : η.app B ≫ G.map f = F.map f ≫ η.app A := η.naturality
  1. Component Analysis
  • eta_A: F(A) -> G(A) for each object A
  • Each component is morphism in target category D
  • Lean 4: def η : F ⟶ G where app := fun X => ...
  1. Natural Isomorphism
  • Each component eta_A is isomorphism
  • Functors F and G are naturally isomorphic
  • Notation: F ≅ G (NatIso in Mathlib)
  1. Functor Category
  • [C, D] has functors as objects
  • Natural transformations as morphisms
  • Vertical composition: Lean 4 CategoryTheory.NatTrans.vcomp
  • Horizontal composition: CategoryTheory.NatTrans.hcomp
  1. Yoneda Lemma Application
  • Nat(Hom(A, -), F) ~ F(A) naturally in A
  • Lean 4: CategoryTheory.yonedaEquiv
  • Fully embeds C into [C^op, Set]
  • See: .claude/skills/lean4-nat-trans/SKILL.md for exact syntax

Tool Commands

Lean4_Naturality

# Lean 4: theorem nat : η.app B ≫ G.map f = F.map f ≫ η.app A := η.naturality

Lean4NatTrans

# Lean 4: def η : F ⟶ G where app := fun X => component_X

Lean4_Yoneda

# Lean 4: CategoryTheory.yonedaEquiv -- Yoneda lemma

Lean4_Build

lake build  # Compiler-in-the-loop verification

Cognitive Tools Reference

See .claude/skills/math-mode/SKILL.md for full tool documentation.

More skills from parcadei/Continuous-Claude-v3

All agent skills → · MCP servers