shade-glass-button-press
Add fingertip-local press deformation and a refractive release wave to a glass button. Use for taps, held presses, rim shimmer, and synchronized icon or text response.
Install / Use
npx skills add MengTo/Skills --skill shade-glass-button-pressInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of shade-glass-button-press
shade-glass-button-press scores 88/100 on our quality scale, 1746th of 4,719 Development & Engineering skills we index (top 37%).
Its SKILL.md is 2.4 KB long, split into 3 sections with 1 code example: a solid amount of guidance for an agent.
With 6,252 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so shade-glass-button-press is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit β read the skill file before letting an agent act on it.
shade-glass-button-press compared with similar skills
All 4 of these similar skills score higher than shade-glass-button-press; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| shade-glass-button-press (this skill)by MengTo | 88 | 6.3k | 2mo ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 121.6k | today | CLAUDE.md |
| hyperframesby heygen-com | 100 | 90.2k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 73.5k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 47.6k | 5d ago | CLAUDE.md |
Frequently asked questions
- How do I install shade-glass-button-press?
- Run
npx skills add MengTo/Skills --skill shade-glass-button-press. The install tabs above show the steps for each supported agent. - Which AI agents does shade-glass-button-press work with?
- It is written for Zed, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is shade-glass-button-press safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is shade-glass-button-press still maintained?
- The repository was last updated about 2 months ago, so shade-glass-button-press is actively maintained.
Skill content
View source on GitHubname: shade-glass-button-press description: Add fingertip-local press deformation and a refractive release wave to a glass button. Use for taps, held presses, rim shimmer, and synchronized icon or text response.
Shade a glass button press
Treat contact, activation and release as separate events. The native button owns activation and keyboard semantics. The shader receives a contact position and a clock for each control.
Hold
- On pointer down, store the contact in local coordinates relative to the undeformed button. Capture the pointer. Start a quick spring toward the held pose. Indent the face near the contact with a Gaussian falloff and reduce the optical thickness there.
- Keep the contact fixed for the release wave. A draggable slider inside a tile may update its own value while held. Resolve the drag threshold before interpreting the gesture as a tap.
- Preserve a visible keyboard focus ring. For Space and Enter, use the button center as the contact and rely on one activation path. On cancel, blur or lost capture, release the visual state and discard the pending activation.
Release
Compute all distances in one physical space. Multiplying normalized UVs by button dimensions before measuring a radius gives a consistent wave on wide and square controls.
vec2 delta = (uv - contactUV) * buttonSize;
float reach = length(max(contactUV, 1. - contactUV) * buttonSize);
float travel = (1. - pow(1. - t, 1.7)) * (reach + bandWidth);
float d = (length(delta) - travel) / bandWidth;
float crest = exp(-d*d);
float wake = exp(-pow((d + 1.1) / 1.6, 2.));
Here t runs from zero to one on release. Displace the backdrop along the outward direction using the difference between the crest and wake. At the crest, sample adjacent RGB positions for a brief spectral split. Gate the highlight by edge distance so the rim catches light when the wave arrives. Fade the entire response before deactivating the pass. Start with a roughly 700β1000 ms release and tune at actual button size.
Use the same clock for the glass, icon, and lettering. A short displacement or split confined to the passing crest keeps the label readable. A fresh tap replaces that buttonβs previous wave. Under reduced motion, use a static held highlight and immediate state change.
Try an off-center press in the wave demo. Test a long hold, a quick double-tap, keyboard activation and pointer cancellation. A release at the left edge should reach the right rim last.
Related Skills
taste-skill
121.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
hyperframes
90.2kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ai-job-search
73.5kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
47.6kA visual, example-driven guide to Claude Code β from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit β see the Safety scan above for what the skill file itself contains.
