dragoon0x/optik

focus

Generate a complete focus ring system. Creates consistent, visible :focus-visible styles that match the design aesthetic while meeting accessibility requirements.

First seen May 9, 2026

Installation

$ npx skills add dragoon0x/optik --skill focus

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from dragoon0x/optik · top by installs.

npx skills add dragoon0x/optik

Browse all from dragoon0x/optik

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 853 B
  • docs SUMMARY.md 175 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 5 installs

SKILL.md

/focus — Focus Ring System

Generate focus styles for all interactive elements:

Default Focus Ring

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: inherit;
}

Adapt the ring color to work against both light and dark backgrounds. Use outline (not box-shadow) for reliability. Always set outline-offset for breathing room.

For specific elements:

  • Buttons: ring matches button radius
  • Inputs: ring matches input radius
  • Cards/links: ring follows the clickable area
  • Skip link: visible position when focused

Never use outline: none without a visible replacement.