Pluto.jl / rules
Cursor rule5.4k starsChanged 12 months agoMITView on GitHub
When adding new UI elements
1 other project uses a version of this.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- fonsp/Pluto.jlword for word, first seen Oct 9, 2026
Who's talking about JuliaPluto/Pluto.jl
- Paulogcd/MPC_Simulations.jl“Bump Pluto from 1.0.4 to 1.1.0 in /docs”GitHub · Nov 2, 2026
- JuliaPluto/featured“Bump Pluto from 1.0.4 to 1.1.0 in /pluto-deployment-environment in the all-julia-packages group across 1 …”GitHub · Nov 2, 2026
- sosiristseng/gensjulia“Link Checker Report”GitHub · Nov 1, 2026
- sosiristseng/sosiristseng.github.io“Link Checker Report”GitHub · Nov 1, 2026
- JuliaRegistries/General“New version: Pluto v1.1.0”GitHub · Oct 27, 2026
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub (50 times).
On GitHub · 50
- Nov 2, 2026Bump Pluto from 1.0.4 to 1.1.0 in /docs — Paulogcd/MPC_Simulations.jl0 reactions
- Nov 2, 2026Bump Pluto from 1.0.4 to 1.1.0 in /pluto-deployment-environment in the all-julia-packages group across 1 directory — JuliaPluto/featured0 reactions
- Nov 1, 2026Link Checker Report — sosiristseng/gensjulia0 reactions
- Nov 1, 2026Link Checker Report — sosiristseng/sosiristseng.github.io0 reactions
- Oct 27, 2026New version: Pluto v1.1.0 — JuliaRegistries/General0 reactions · 1 comment
45 more on GitHub
- Oct 23, 2026WebKit: a reload while a websocket message is being read logs "Failed to unpack message" and a page error, failing first-cell.test.mjs — jowch/Ember0 reactions · 1 comment
- Oct 5, 2026Bump the all-julia-packages group across 1 directory with 2 updates — JuliaPluto/featured0 reactions · 1 comment
- Oct 4, 2026New version: Pluto v1.0.4 — JuliaRegistries/General0 reactions · 1 comment
- Oct 1, 2026Link Checker Report — sosiristseng/gensjulia0 reactions
- Oct 1, 2026Link Checker Report — sosiristseng/sosiristseng.github.io0 reactions
- Sep 1, 2026Link Checker Report — sosiristseng/gensjulia0 reactions
- Sep 1, 2026Link Checker Report — sosiristseng/sosiristseng.github.io0 reactions
- Aug 31, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Aug 1, 2026Link Checker Report — sosiristseng/gensjulia0 reactions
- Aug 1, 2026Link Checker Report — sosiristseng/sosiristseng.github.io0 reactions
- Jul 27, 2026Update JuliaMono font — JuliaDocs/Documenter.jl0 reactions · 3 comments
- Jul 24, 2026Bump the all-julia-packages group across 2 directories with 4 updates — TuringLang/TuringGLM.jl0 reactions · 3 comments
- Jul 17, 2026Bump the all-julia-packages group across 2 directories with 3 updates — TuringLang/TuringGLM.jl0 reactions · 2 comments
- Jul 16, 2026Bump Pluto from 1.0.1 to 1.0.3 — josealuna/PGA.jl0 reactions
- Jul 15, 2026Update Pluto requirement to 1.0.3 — dillondaudert/UMAP.jl0 reactions
- Jul 7, 2026New version: Pluto v1.0.3 — JuliaRegistries/General0 reactions · 1 comment
- Jul 6, 2026Handle function and macro expressions in explore — JuliaPluto/ExpressionExplorer.jl0 reactions · 7 comments
- Jul 6, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Jul 6, 2026New version: Pluto v1.0.2 — JuliaRegistries/General0 reactions · 1 comment
- Jul 3, 2026Bump the all-julia-packages group across 2 directories with 3 updates — TuringLang/TuringGLM.jl0 reactions · 2 comments
- Jul 2, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Jul 1, 2026Update Pluto requirement from 0.20.21 to 0.20.21, 1.0 in /notebooks in the all-julia-packages group across 1 directory — abhro/GravitationalPotentials.jl0 reactions
- Jul 1, 2026Link Checker Report — sosiristseng/gensjulia0 reactions
- Jul 1, 2026Link Checker Report — sosiristseng/sosiristseng.github.io0 reactions
- Jun 29, 2026Link Checker Report — sosiristseng/gensjulia0 reactions
- Jun 27, 2026Link Checker Report — sosiristseng/sosiristseng.github.io0 reactions
- Jun 26, 2026Bump the all-julia-packages group across 2 directories with 3 updates — TuringLang/TuringGLM.jl0 reactions · 2 comments
- Jun 22, 2026Link Checker Report — sosiristseng/gensjulia0 reactions
- Jun 20, 2026Link Checker Report — sosiristseng/sosiristseng.github.io0 reactions
- Jun 19, 2026Bump the all-julia-packages group across 2 directories with 3 updates — TuringLang/TuringGLM.jl0 reactions · 1 comment
- Jun 18, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Jun 11, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Jun 8, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Jun 5, 2026Bump the all-julia-packages group across 1 directory with 2 updates — PalmStudio/XPalm.jl0 reactions
- Jun 5, 2026Bump the all-julia-packages group across 2 directories with 2 updates — TuringLang/TuringGLM.jl0 reactions · 2 comments
- Jun 4, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Jun 3, 2026Update Pluto requirement from 0.20.23 to 0.20.23, 1.0 — SimonEnsemble/ShortestPathMolecularGraphKernels.jl0 reactions
- Jun 3, 2026Update Pluto requirement from 0.20.21 to 0.20.21, 1.0 in /notebooks in the all-julia-packages group across 1 directory — abhro/MagneticFieldSHTCExpander.jl0 reactions
- Jun 2, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Jun 2, 2026Bump the all-julia-packages group across 1 directory with 2 updates — JuliaPluto/featured0 reactions · 1 comment
- Jun 1, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Jun 1, 2026[pull] main from JuliaPluto:main — Spencerx/Pluto.jl0 reactions
- Jun 1, 2026Link Checker Report — sosiristseng/gensjulia0 reactions
- Jun 1, 2026Link Checker Report — sosiristseng/sosiristseng.github.io0 reactions
- May 29, 2026Update Pluto requirement from 0.20 to 0.20, 1.0 in the all-julia-packages group — PalmStudio/XPalm.jl0 reactions · 1 comment
Other versions1 project uses a version of this.
Word for word · 1
- fonsp/Pluto.jl★ 5.4k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,243 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- .cursor/rules/frontend-styling.mdcCursor rule
- .cursor/rules/localization.mdcCursor rule
The file
Show its rules and text
We split this icon-usage.mdc into the rules it gives an agent
26 rules. About 0 are common, 16 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
Use Ionicons from CDN: https://cdn.jsdelivr.net/gh/ionic-team/ionicons@5.5.1/src/svg/
- Distinctive: line 50
Always pin to version 5.5.1 for consistency
- Distinctive: line 51
Use SVG format exclusively
- Very specific: line 56
Use em units for icon sizes
- Very specific: line 57
Default size should be 1em
- Very specific: line 58
Use background-size: contain for proper scaling
- Very specific: line 61
Use CSS variables for filters: var(--image-filters)
- Distinctive: line 63
Consider dark/light mode compatibility
- Distinctive: line 66
Use margin adjustments sparingly and only for fine-tuning
- Distinctive: line 67
Prefer flexbox/grid for general layout
- Very specific: line 68
Use background-position for precise control
- Very specific: line 73
Use <button> for interactive elements
- Very specific: line 74
Keep <span> elements empty in HTML
- Distinctive: line 75
Add appropriate ARIA labels when needed
- Distinctive: line 78
Use descriptive class names indicating purpose
- Very specific: line 79
Follow existing patterns in frontend/editor.css
- Distinctive: line 85
Consider reduced motion preferences
- Distinctive: line 88
Use CDN for consistent caching
- Distinctive: line 90
Avoid icon font libraries
- Very specific: line 95
Add content to icon <span> elements
- Distinctive: line 97
Use inline styles for icons
- Distinctive: line 99
Use PNG/JPG for icons
- Distinctive: line 103
Keep icon implementation in CSS
- Distinctive: line 104
Use consistent sizing patterns
- Distinctive: line 105
Follow existing component patterns
- Distinctive: line 106
Test icons in both light/dark themes
≈ “Common” is an estimate: at least 1 in 5 of the 6,809 Cursor rule 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
---
description: When adding new UI elements
globs:
alwaysApply: false
---
# Icon Usage Guide
This guide explains how to implement icons consistently across the frontend codebase.
## HTML Structure
Icons should be implemented using empty `<span>` elements within their parent containers:
```html
<button class="your-button-class">
<span></span>
</button>
```
## Implementation Methods
### 1. Background Image Method
Used primarily for button icons. Reference example in [frontend/components/ExportBanner.js](mdc:Pluto.jl/frontend/components/ExportBanner.js):
```css
button.toggle_presentation span {
background-image: url("https://cdn.jsdelivr.net/gh/ionic-team/ionicons@5.5.1/src/svg/easel-outline.svg");
filter: invert(1);
}
```
### 2. Pseudo-element Method
Used for decorative icons or indicators. Reference example in [frontend/editor.css](mdc:Pluto.jl/frontend/editor.css):
```css
.notify-when-done label::before {
content: "";
display: inline-block;
width: 1em;
height: 1em;
background-image: url("https://cdn.jsdelivr.net/gh/ionic-team/ionicons@5.5.1/src/svg/notifications-outline.svg");
background-size: contain;
filter: var(--image-filters);
}
```
## Icon Source
- Use Ionicons from CDN: `https://cdn.jsdelivr.net/gh/ionic-team/ionicons@5.5.1/src/svg/`
- Always pin to version 5.5.1 for consistency
- Use SVG format exclusively
## Styling Guidelines
1. Size and Units
- Use `em` units for icon sizes
- Default size should be `1em`
- Use `background-size: contain` for proper scaling
2. Theming
- Use CSS variables for filters: `var(--image-filters)`
- For light icons on dark backgrounds: `filter: invert(1)`
- Consider dark/light mode compatibility
3. Positioning
- Use margin adjustments sparingly and only for fine-tuning
- Prefer flexbox/grid for general layout
- Use `background-position` for precise control
## Best Practices
1. Semantic HTML
- Use `<button>` for interactive elements
- Keep `<span>` elements empty in HTML
- Add appropriate ARIA labels when needed
2. Class Naming
- Use descriptive class names indicating purpose
- Follow existing patterns in [frontend/editor.css](mdc:Pluto.jl/frontend/editor.css)
- Example: `toggle_presentation`, `notify-when-done`
3. Accessibility
- Ensure sufficient contrast
- Provide text alternatives where needed
- Consider reduced motion preferences
4. Performance
- Use CDN for consistent caching
- Optimize SVG files
- Avoid icon font libraries
## Common Pitfalls
1. DO NOT:
- Add content to icon `<span>` elements
- Define the icon in JavaScript or import from an icon library
- Use inline styles for icons
- Mix different icon libraries
- Use PNG/JPG for icons
- Hardcode colors without using CSS variables
2. DO:
- Keep icon implementation in CSS
- Use consistent sizing patterns
- Follow existing component patterns
- Test icons in both light/dark themesDoes 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.

