Skip to content
Development
Skill

/natural-transformations

Problem-solving strategies for natural transformations in category theory

From plugin
continuous-claude-v3
3.9k156 skills32 agents

Claude Code

$ npx -y skills add parcadei/Continuous-Claude-v3 --skill natural-transformations --agent claude-code

SKILL.md

natural-transformations.SKILL.md
name: natural-transformations
description: "Problem-solving strategies for natural transformations in category theory"
allowed-tools: [Bash, Read]

Natural Transformations

When to Use

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

Decision Tree

1. **Verify Naturality**

  • eta: F => G is natural transformation between functors F, G: C -> D
  • For each f: A -> B in C, diagram commutes:

G(f) . eta_A = eta_B . F(f)

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

2. **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 => ...`

3. **Natural Isomorphism**

  • Each component eta_A is isomorphism
  • Functors F and G are naturally isomorphic
  • Notation: F ≅ G (NatIso in Mathlib)

4. **Functor Category**

  • [C, D] has functors as objects
  • Natural transformations as morphisms
  • Vertical composition: Lean 4 `CategoryTheory.NatTrans.vcomp`
  • Horizontal composition: `CategoryTheory.NatTrans.hcomp`

5. **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

Lean4_Nat_Trans

# 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.

Read more
@parcadei
Ships withcontinuous-claude-v3

A persistent, learning, multi-agent development environment built on Claude Code Continuous Claude transforms Claude Code into a continuously learning system that maintains context across sessions, orchestrates specialized agents, and eliminates wasting

3.9k156 skills32 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
3.9k
Star history of parcadei/Continuous-Claude-v3 on GitHub, a chart by star-history.com

Other skills on continuous-claude-v3.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about natural-transformations.

Which coding agents can use natural-transformations?
natural-transformations installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.