Skip to content
Development
Skill

/natural-transformations

Problem-solving strategies for natural transformations in category theory

From plugin
vibecosystem
547200 skills138 agents7 hooks

Claude Code

$ npx -y skills add vibeeval/vibecosystem --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
@vibeeval
Ships withvibecosystem

A focused runtime for Claude Code. A bounded worker for Codex. Catalog (in repo): Default core: vibecosystem packages agents, skills and hooks for software work.

547200 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
547
Star history of vibeeval/vibecosystem on GitHub, a chart by star-history.com

Other skills on vibecosystem.

achievements

achievements

Steam-style achievement system with XP, levels, streaks, and skill trees. Gamifies the development workflow. 25 achievements…

agent-benchmark

agent-benchmark

Framework for measuring and tracking agent response quality over time. Detects regressions before they reach production. Use when…

agent-linter

agent-linter

Agent ve skill dosyalarinin yapisal dogrulamasi. Frontmatter kontrol, naming convention, zorunlu bolum kontrolu, tutarlilik…

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.

skills2w309k
@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,…

ecc2w293k
@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…

react5d252k
@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.