Agent skill

categories-functors

Problem-solving strategies for categories functors in category theory

parcadei3,879★ · 1 repos on radarProfile →
claude-codecan modify filesMIT
Install
npx skills add parcadei/Continuous-Claude-v3 --skill categories-functors --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: BashRead
Path: .claude/skills/math/category-theory/categories-functors/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 3,879
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

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

What's inside
Steps it walks through
  1. When to Use
  2. Decision Tree
  3. Tool Commands
  4. Lean4Category
  5. Lean4Functor
  6. Lean4Build
  7. Cognitive Tools Reference
Commands it runs
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
More from Continuous-Claude-v3
All skills →
About this skill
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.

Keep going