scooter-lacroix/maestro/categories-functors

Claude Code and agent skill by scooter-lacroix/maestro

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Problem-solving strategies for categories functors in category theory

Install

npx vskill@latest install scooter-lacroix/maestro/categories-functors

SKILL.md

The same SKILL.md was published earlier as scooter-lacroix/maestro/categories-functors.

Categories Functors

When to Use

Use this skill when working on categories-functors problems in category theory.

Decision Tree

  1. Verify Category Axioms
  • Objects and morphisms (arrows) defined?
  • Identity morphism for each object: id_A: A -> A
  • Composition associative: (f . g) . h = f . (g . h)
  • Write Lean 4: theorem assoc : (f ≫ g) ≫ h = f ≫ (g ≫ h) := Category.assoc
  1. Check Functor Properties
  • F: C -> D maps objects to objects, arrows to arrows
  • Preserves identity: F(id_A) = id_{F(A)}
  • Preserves composition: F(g . f) = F(g) . F(f)
  • Write Lean 4: theorem comp : F.map (g ≫ f) = F.map g ≫ F.map f := F.map_comp
  1. Functor Types
  • Covariant: preserves arrow direction
  • Contravariant: reverses arrow direction
  • Faithful/Full: injective/surjective on Hom-sets
  • Equivalence: full, faithful, essentially surjective
  1. Common Functors
  • Forgetful functor: forgets structure (e.g., Grp -> Set)
  • Free functor: left adjoint to forgetful
  • Hom functor: Hom(A, -) or Hom(-, B)
  • Power set functor: Set -> Set via X |-> P(X)
  1. Verify with Lean 4
  • Compiler-in-the-loop: write proof, lake build checks
  • Mathlib has full category theory library
  • See: .maestro/skills/lean4-functors/SKILL.md for exact syntax

Tool Commands

Lean4_Category
bash
# Lean 4 with Mathlib: import CategoryTheory.Category.Basic
Lean4_Functor
bash
# Lean 4: theorem map_comp (F : C ⥤ D) : F.map (g ≫ f) = F.map g ≫ F.map f := F.map_comp
Lean4_Build
bash
lake build # Compiler-in-the-loop verification

Cognitive Tools Reference

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

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/scooter-lacroix/maestro/categories-functors/badge)](https://verified-skill.com/skills/scooter-lacroix/maestro/categories-functors)

Something wrong with this skill or its page? Tell us.