effects-runtime
CLAUDE.md758 starsChanged 3 months agoMITView on GitHub
This file provides project-specific guidance for Claude Code. Update this file whenever Claude does something incorrectly so it learns not to repeat mistakes. It can load and render cool animation effects, The APIs provided by effects-core allow your engine to quickly access animation data such as layer and particle animation. Give Claude verification loops for 2-3x quality improvement: After every correction or mistake, update this CLAUDE.md with a rule to prevent repeating it. Claude is good at writing rules for…
In this repository3 other files it gives its agents.
- changelog-curationSkill
- commit-push-prSkill
- quick-commitSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
15 rules. About 0 are common, 13 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Run npx eslint --fix on all modified .ts files
- Distinctive: line 18
Before creating PR: run full lint and test suite
- Distinctive: line 24
Use descriptive variable names
- Distinctive: line 25
Keep functions small and focused
- Distinctive: line 26
Write tests for new functionality
- Distinctive: line 44
After every correction or mistake, update this CLAUDE.md with a rule to prevent repeating it.
- Distinctive: line 48
Keep iterating until the mistake rate measurably drops.
- Distinctive: line 52
Start every complex task in plan mode (shift+tab to cycle)
- Distinctive: line 54
When something goes sideways, switch back to plan mode and re-plan.
- Distinctive: line 55
Use plan mode for verification steps too, not just for the build
- Distinctive: line 61
When working in parallel, only one agent should edit a given file at a time
- Very specific: line 69
Don't use any type in TypeScript without explicit approval
- Distinctive: line 70
Don't skip error handling
- Distinctive: line 71
Don't commit without running tests first
- Distinctive: line 72
Don't make breaking API changes without discussion
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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.
Files
CLAUDE.md - Project Instructions for Claude Code
This file provides project-specific guidance for Claude Code. Update this file whenever Claude does something incorrectly so it learns not to repeat mistakes.
Project Overview
It can load and render cool animation effects, The APIs provided by effects-core allow your engine to quickly access animation data such as layer and particle animation.
Development Workflow
Give Claude verification loops for 2-3x quality improvement:
- Make changes
- Run typecheck
- Run
npx eslint --fixon all modified.tsfiles - Run tests
- Lint before committing
- Before creating PR: run full lint and test suite
Code Style & Conventions
<!-- Customize these for your project's conventions -->- Use descriptive variable names
- Keep functions small and focused
- Write tests for new functionality
- Handle errors explicitly, don't swallow them
Commands Reference
# Verification loop commands (customize for your project)
pnpm check:ts # Type checking
pnpm test # Run tests, temporarily requires opening browser for manual confirmation
pnpm lint # Lint all files
# Git workflow
git status # Check current state
git diff # Review changes before commitSelf-Improvement
After every correction or mistake, update this CLAUDE.md with a rule to prevent repeating it. Claude is good at writing rules for itself.
End corrections with: "Now update CLAUDE.md so you don't make that mistake again."
Keep iterating until the mistake rate measurably drops.
Working with Plan Mode
- Start every complex task in plan mode (shift+tab to cycle)
- Pour energy into the plan so Claude can 1-shot the implementation
- When something goes sideways, switch back to plan mode and re-plan. Don't keep pushing.
- Use plan mode for verification steps too, not just for the build
Parallel Work
- For tasks that need more compute, use subagents to work in parallel
- Offload individual tasks to subagents to keep the main context window clean and focused
- When working in parallel, only one agent should edit a given file at a time
- For fully parallel workstreams, use git worktrees:
git worktree add .claude/worktrees/<name> origin/main
Things Claude Should NOT Do
<!-- Add mistakes Claude makes so it learns -->- Don't use
anytype in TypeScript without explicit approval - Don't skip error handling
- Don't commit without running tests first
- Don't make breaking API changes without discussion
Project-Specific Patterns
<!-- Add patterns as they emerge from your codebase -->- Respond in Simplified-Chinese by default; only switch to another language when explicitly requested in the prompt
Update this file continuously. Every mistake Claude makes is a learning opportunity.
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
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.

