ui-intergrity
Skill4 starsChanged 3 months agoMITView on GitHub
Prevent and fix visual integration bugs when building, modifying, or reviewing user interfaces, especially browser extensions or UI injected into third-party websites. Use for overlap, stacking, clipping, positioning, layout-shift, scrolling, animation, responsiveness, duplicate mount, click-blocking, and host-site interference issues.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- 1Skill
- 2Skill
- 3Skill
- 4Skill
- 5Skill
- ae-extendscriptSkill
- asapSkill
- backbeforeSkill
- componentsSkill
- githubSkill
- huhSkill
- instantSkill
- motion-animateSkill
- motion-assetsSkill
- motion-designSkill
- motion-pipelineSkill
- motion-planSkill
- quick-contextSkill
- shader-uiSkill
- thumbnailSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Test default, hover, expanded, animated, scrolled, and resized states.
- Distinctive: line 17
Check bounding boxes, overflow, stacking contexts, and pointer events when something looks wrong.
- Distinctive: line 23
When injecting UI into another website:
- Distinctive: line 25
Treat the host DOM and CSS as untrusted and changeable.
- Distinctive: line 27
Avoid fragile selectors and assumptions about host layout.
- Distinctive: line 28
Do not break, cover, move, or intercept native site controls.
- Distinctive: line 31
Prefer positioning relative to the component the UI visually belongs to.
- Distinctive: line 35
Before considering UI complete, actively check for overlaps, clipping, off-screen content, incorrect stacking, scroll or animation …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
UI Integrity
Prevent visual integration bugs, including unintended overlap; z-index or stacking-context conflicts; clipping and overflow; broken absolute, fixed, or sticky positioning; layout shifts; scroll and animation collisions; extension UI interfering with native website UI; invisible elements blocking clicks; duplicate injected components; and responsive-layout breakage.
Approach
When changing UI:
- Identify the component's intended spatial owner and positioning context.
- Inspect nearby native and custom UI for possible collisions.
- Test default, hover, expanded, animated, scrolled, and resized states.
- Check bounding boxes, overflow, stacking contexts, and pointer events when something looks wrong.
- Fix the underlying layout relationship instead of masking it with arbitrary offsets or huge
z-indexvalues. - Re-test the changed component and surrounding UI.
Browser extension rules
When injecting UI into another website:
- Treat the host DOM and CSS as untrusted and changeable.
- Scope or isolate extension styles.
- Avoid fragile selectors and assumptions about host layout.
- Do not break, cover, move, or intercept native site controls.
- Account for SPA navigation and dynamic DOM updates.
- Prevent duplicate mounts.
- Prefer positioning relative to the component the UI visually belongs to.
Pressure-test
Before considering UI complete, actively check for overlaps, clipping, off-screen content, incorrect stacking, scroll or animation collisions, blocked click targets, long-text breakage, viewport-width breakage, and host-site interference. Do not declare the UI finished just because the default screenshot looks correct.
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.

