Agent skill UI design
Explain Interface
Shape a web interface around a coherent visual direction.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add jakubkrehel/skills --skill explain-interface --agent claude-code --yesCheck this file in your project.claude/skills/explain-interface/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add jakubkrehel/skills --skill explain-interfaceSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring a public URL and one specific visual element, or a screenshot for a reconstruction. Inspect only the supplied scope.
View operation manualWhat this skill helps with
- Shape a web interface around a coherent visual direction.
Good for
- Visual direction
- Skill name
- explain-interface
- Workflow
- Explain the layers of a background effect
- Deliverable
- A mechanism in paint order with measured, derived and inferred claims clearly identified.
- Skill name
explain-interface- Repository
jakubkrehel/skills
Keep the request tied to one real task
A broad request
Tell me which framework built this gradient and reproduce it pixel for pixel.
The observable effect can come from CSS, pseudo-elements or compositing. Compiled output rarely proves the authoring library or intent.
A checkable workflow
- Scope the effect in the supplied input
- Read the visible layers in paint order
- Explain the mechanism in words
Explain Interface operation manual
Inspect the CSS and painted layers for one named effect, then explain which technique creates each part of what is visible.
Replace the bracketed details with the component, route, or source you want to use.
Scope the effect in the supplied input
Name the section and state, then identify the evidence source.
Prompt · Step 1Run /explain-interface on [public URL or screenshot] to explain [specific background effect]. State the exact section, relevant viewport, and state. With a URL, use a scriptable browser or fetched public HTML and CSS to collect evidence for the named element. Keep activity to that page and the state needed for the explanation. With a screenshot, call it a reconstruction and describe the visible evidence.Read the visible layers in paint order
Inspect the element, pseudo-elements and relevant ancestors.
Prompt · Step 2Run /explain-interface for [identified background section and state]. Inspect computed backgrounds, transforms, filters, opacity, clipping, and ::before and ::after where present. Walk the relevant ancestor layers and identify what each contributes. Record the measured values, distinguish any derived geometry, and label intent or stack guesses as inferred. If a shader or canvas hides implementation, describe the observed effect and the exact limitation.Explain the mechanism in words
Connect each technique to its visual result and note what remains unknown.
- Each implementation claim identifies measured, derived or inferred evidence.
- The explanation accounts for visible layers and known limits.
Prompt · Step 3Run /explain-interface to summarize [gathered layer evidence]. Explain the background in paint order and what each layer contributes. Give the important measured or derived values and make uncertainties visible. If based on a screenshot, explain how it could be built and label approximate values. Close with the transferable layer sequence and conditions that affect the result. Keep the output to explanation and cite evidence.
Find the relevant rule
Provide the actual target and point to the installed reference.
A shape appears but the element has one backgroundReference
- Command or reference
find-the-effect.md- Examples
- Check ancestor layers, pseudo-elements and clipping in the actual rendered state.
Only a screenshot is availableReference
- Command or reference
from-an-image.md- Examples
- Describe visible evidence and mark the mechanism as a reconstruction.
Explain Interface troubleshooting
Can a screenshot prove exact CSS values?
A screenshot supports visible observations and approximations. Use rendered values or loaded CSS for verified declarations.