agentleFS
maxwell2732maxwell2732/claudecode-research-harness-workflow/skills/ui/SKILL.md

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.

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
  1. Distinctive:

    Read the appropriate reference file from "Feature Details" above

    line 36
  2. Distinctive:

    When generating UI components, ensure accessibility:

    line 41

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

UI Skills

A set of skills responsible for generating UI components and forms.

Constraint Priority and Applicability

  1. By default, apply the constraints in ${CLAUDE_SKILL_DIR}/references/ui-skills.md with highest priority.
  2. Apply ${CLAUDE_SKILL_DIR}/references/frontend-design.md only when "sharp/distinctive/expressive/brand-focused" is explicitly requested.
  3. 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

FeatureDetails
Constraint SetSee references/ui-skills.md / references/frontend-design.md
Component GenerationSee references/component-generation.md
Feedback FormsSee references/feedback-forms.md

Execution Steps

  1. Apply constraint set (follow priority order)
  2. Quality gate (Step 0)
  3. Classify the user's request
  4. Read the appropriate reference file from "Feature Details" above
  5. 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 readers

For 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 + text

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.