categories-functors
Problem-solving strategies for categories functors in category theory
npx skills add parcadei/Continuous-Claude-v3 --skill categories-functors --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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` 2. **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` 3. **Functor Types** - Covariant: preserves arrow direction - Contravariant: reverses arrow direction - Faithful/Full: injective/surjective on Hom-sets - Equivalence: full, faithful, essentially surjective 4. **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) 5. **Verify with Lean 4** - Compiler-in-the-loop: write proof, `lake build` checks - Mathlib has full category theory library - See: `.claude/
- When to Use
- Decision Tree
- Tool Commands
- Lean4Category
- Lean4Functor
- Lean4Build
- Cognitive Tools Reference
Lean 4 with Mathlib: import CategoryTheory.Category.Basic Lean 4: theorem map_comp (F : C ⥤ D) : F.map (g ≫ f) = F.map g ≫ F.map f := F.map_comp lake build # Compiler-in-the-loop verification
What does the categories-functors skill do?
Problem-solving strategies for categories functors in category theory
How do I install it?
Run `npx skills add parcadei/Continuous-Claude-v3 --skill categories-functors --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From parcadei/Continuous-Claude-v3, a repository with 3,879 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.