ui
Skill42 starsChanged 6 days agoMITView on GitHub
Explicit helper for UI components, hero sections, forms, feedback, and contact surfaces. Do NOT load for: authentication, backend implementation, database work, or business logic.
In this repository32 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-browserSkill
- authSkill
- ciSkill
- crudSkill
- deploySkill
- harness-acceptSkill
- harness-loopSkill
- harness-plan-briefSkill
- harness-planSkill
- harness-progressSkill
- harness-releaseSkill
- harness-reviewSkill
- harness-setupSkill
- harness-syncSkill
- harness-workSkill
- maintenanceSkill
- memorySkill
- principlesSkill
- research-harness-auditSkill
- research-harness-cleanSkill
- research-harness-planSkill
- research-harness-releaseSkill
- research-harness-reviewSkill
- research-harness-setupSkill
- research-harness-workSkill
- session-controlSkill
- session-initSkill
- session-memorySkill
- sessionSkill
- session-stateSkill
- workflow-guideSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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 36
Read the appropriate reference file from "Feature Details" above
- Distinctive: line 41
When generating UI components, ensure accessibility:
≈ “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 Skills
A set of skills responsible for generating UI components and forms.
Constraint Priority and Applicability
- By default, apply the constraints in
${CLAUDE_SKILL_DIR}/references/ui-skills.mdwith highest priority. - Apply
${CLAUDE_SKILL_DIR}/references/frontend-design.mdonly when "sharp/distinctive/expressive/brand-focused" is explicitly requested. - UI Skills MUST/NEVER rules are maintained in principle. However, the following exceptions are allowed only when the user explicitly requests them:
- Gradients, glow effects, strong decorations
- Animations (additions/extensions)
- Custom easing
Feature Details
| Feature | Details |
| Constraint Set | See references/ui-skills.md / references/frontend-design.md |
| Component Generation | See references/component-generation.md |
| Feedback Forms | See references/feedback-forms.md |
Execution Steps
- Apply constraint set (follow priority order)
- Quality gate (Step 0)
- Classify the user's request
- Read the appropriate reference file from "Feature Details" above
- Generate following its instructions
Step 0: Quality Gate (Accessibility Checklist)
When generating UI components, ensure accessibility:
♿ Accessibility Checklist
It is recommended that the generated UI meets the following:
### Required
- [ ] Set alt attributes on images
- [ ] Associate labels with form elements
- [ ] Keyboard operable (Tab to move focus)
- [ ] Focus state is visually apparent
### Recommended
- [ ] Information not conveyed by color alone
- [ ] Contrast ratio 4.5:1 or higher (text)
- [ ] Appropriate use of aria-label / aria-describedby
- [ ] Heading structure (h1 → h2 → h3) is logical
### Interactive Elements
- [ ] Buttons have appropriate labels (e.g., "View product details" not just "Details")
- [ ] Focus trap in modals/dialogs
- [ ] Error messages are read by screen readersFor VibeCoder
♿ Making designs usable by everyone
1. **Add descriptions to images**
- "Red sneakers, front view" not just "Product image"
2. **Make clickable areas keyboard-accessible too**
- Move with Tab key, confirm with Enter
3. **Don't rely on color alone**
- Not just red=error; also use icon + textDoes 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.

