agentleFS
shihabshahriershihabshahrier/manim-coding-skill/CLAUDE.md

manim-coding-skill

CLAUDE.md2 starsChanged 7 months agoMITView on GitHub

This is the test-manim Claude Code / opencode skill. One skill, one purpose: make any AI model produce great STEM teaching animations in ManimGL. Never edit agent-specific copies directly — edit source files, then sync manually or via CI. - ManimGL only — not ManimCE. All API references must use manimlib imports. ShowCreation not Create. TexText not Text. Tex not MathTex. - 15s chunks — skill enforces this. Don't change to arbitrary lengths. - No hooks — skill is user-invocable…

The file

We split this CLAUDE.md into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No implicit Claude behaviors assumed.

    line 41
  2. Very specific:

    Add a load instruction in SKILL.md under the appropriate phase

    line 67
  3. Distinctive:

    Follow lazy loading — only load when the phase needs it

    line 68

≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md — manim-coding-skill

What this repo is

This is the test-manim Claude Code / opencode skill. One skill, one purpose: make any AI model produce great STEM teaching animations in ManimGL.


File structure — what owns what

Source of truth — edit only these

FileControls
skills/test-manim/SKILL.mdAll skill behavior: phases, rules, templates, API notes
skills/test-manim/references/manim-gl-api.mdManimGL object reference, error table
skills/test-manim/references/storytelling.mdNarrative structure, pacing, anti-patterns

Never edit agent-specific copies directly — edit source files, then sync manually or via CI.

Auto-generated / agent-specific (sync from source)

FileContent
.cursor/rules/test-manim.mdcCondensed skill for Cursor
.windsurf/rules/test-manim.mdCondensed skill for Windsurf
.clinerules/test-manim.mdCondensed skill for Cline
.github/copilot-instructions.mdCondensed skill for Copilot
AGENTS.md@./skills/test-manim/SKILL.md include for OpenAI agents
GEMINI.md@./skills/test-manim/SKILL.md include for Gemini CLI

Key constraints

  • ManimGL only — not ManimCE. All API references must use manimlib imports. ShowCreation not Create. TexText not Text. Tex not MathTex.
  • 15s chunks — skill enforces this. Don't change to arbitrary lengths.
  • No hooks — skill is user-invocable only. No SessionStart/UserPromptSubmit hooks.
  • Open-weight compatible — every rule must work with non-Claude models. No implicit Claude behaviors assumed.

ManimGL version

Developed against manimgl 1.7.2. If updating references, verify API against installed version:

python3 -c "import importlib.metadata; print(importlib.metadata.version('manimgl'))"

Making changes

Skill behavior change

Edit skills/test-manim/SKILL.md only. Open a PR with before/after example.

API reference update

Edit skills/test-manim/references/manim-gl-api.md. Verify the API against manimgl source before adding.

Storytelling guide update

Edit skills/test-manim/references/storytelling.md. Changes should be grounded in animation pedagogy, not preference.

Adding a new reference file

  1. Create skills/test-manim/references/{name}.md
  2. Add a load instruction in SKILL.md under the appropriate phase
  3. Follow lazy loading — only load when the phase needs it

What "good" looks like

A good animation produced by this skill:

  • Has a visual hook that asks a question before any label appears
  • Maintains a consistent color contract across all chunks
  • Each chunk teaches exactly one concept
  • Last chunk returns to opening visual, now annotated with understanding
  • Renders clean at 1080p, merges without codec mismatch

A bad animation:

  • Opens with a definition or equation
  • Uses colors inconsistently
  • Crams 3 concepts into one chunk
  • Ends abruptly without synthesis

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.