ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
Measuring text dimensions, fitting text to containers, and checking overflow.
Collection of role-based AI personas (e.g. senior-frontend-developer, security-engineer, technical-writer) with .claude and .cursor rules/skills. Copy a persona’s config into your project to get domain-tuned behavior, plus ready-made workflows for docs, PRs, and automation.
ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
Measuring text dimensions, fitting text to containers, and checking overflow.
ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
Use React's to preserve state/DOM for expensive components that frequently toggle visibility.
ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
Many browsers don't have hardware acceleration for CSS3 animations on SVG elements. Wrap SVG in a and animate the wrapper instead.
ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
Use explicit ternary operators (? :) instead of && for conditional rendering when the condition can be 0, NaN, or other falsy values that render.
ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
Apply content-visibility: auto to defer off-screen rendering.
ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
Extract static JSX outside components to avoid re-creation.
ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
When rendering content that depends on client-side storage (localStorage, cookies), avoid both SSR breakage and post-hydration flickering by injecting a synchronous script that updates the DOM before React hydrates.
ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
Reduce SVG coordinate precision to decrease file size. The optimal precision depends on the viewBox size, but in general reducing precision should be considered.
ratnesh-maurya/cursor-claude-personas
Cursor rule Cursor
Don't subscribe to dynamic state (searchParams, localStorage) if you only read it inside callbacks.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: