rlaope/oh-my-hermes / .claude/agent-skills/omh-frontend
omh-frontend
Verified[omh] Building or polishing a web or terminal UI.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 13.8 KB |
| references/chart-styling.md | markdown | 5.5 KB |
| references/component-registry-adoption.md | markdown | 8.7 KB |
| references/design-system-contract.md | markdown | 15.4 KB |
| references/details.md | markdown | 7.0 KB |
| references/editorial-layout.md | markdown | 6.5 KB |
| references/forms-and-input.md | markdown | 8.5 KB |
| references/mobile-density-gate.md | markdown | 6.5 KB |
| references/reference-token-extraction.md | markdown | 4.1 KB |
| references/rendered-scene-craft.md | markdown | 3.9 KB |
| references/screenshot-loop.md | markdown | 5.8 KB |
| references/scroll-motion-libraries.md | markdown | 7.0 KB |
| references/taste-foundations.md | markdown | 13.1 KB |
| references/tui-craft.md | markdown | 7.2 KB |
| references/web-vitals-budgets.md | markdown | 3.6 KB |
| toolkit/LICENSE.upstream | other | 1.3 KB |
| toolkit/README.md | markdown | 9.5 KB |
| toolkit/examples/phone-clean.html | other | 1012 B |
| toolkit/examples/phone-overflow.html | other | 891 B |
| toolkit/scripts/phone_check.py | script | 28.7 KB |
| toolkit/upstream-manifest.json | config | 3.1 KB |
references/reference-token-extraction.md
View on GitHub# Reference Token Extraction
A user-supplied reference is the visual contract. The work is extraction
into `DESIGN.md`, not admiration: a reference that is only glanced at
degrades into a vague mood, the contract inherits none of its precision,
and the output lands back at generic — which is what the gate exists to
stop.
## Static reference (screenshot, mockup, Figma export)
Extract into `DESIGN.md`, naming the reference in the Research Log:
- palette samples per background layer, text level, and accent;
- the type scale as measured ratios (display/heading/body/caption), the
weights in play, and how line-height behaves;
- layout geometry: container width, column rhythm, section spacing values;
- component anatomy: radii, borders, shadows, and every state treatment the
reference shows;
- copy tone and density — the real shape of the content, not lorem
geometry.
## Live URL reference
When the user's selected executor or browser lane can drive a page, extract
runtime truth instead of guessing from pixels: computed styles for tokens,
the actual default/hover/focus/active states, transition durations and
easings, and responsive behavior at the breakpoints that matter. Record
what was extracted in the Research Log. OMH itself never launches a
browser, network call, or daemon — extraction happens in the lane the user
selected, and only its recorded findings enter the contract.
## Fidelity discipline
- Extract tokens and layout grammar; never copy logos, trademarks, or
brand copy.
- Recombine into project-specific primitives — the reference calibrates
quality; it does not become the product.
- Final QA for reference-driven work goes to the visual-QA owner: request a
`visual_qa_plan/v1` whose references name the supplied reference, with
the visual-fidelity review perspective comparing the rendered result
against it side by side — and verify the implementation is a reusable
design-system build, not a screenshot-matched one-off.
## Skeleton versus brand
A reference carries two layers: a skeleton (layout, spacing rhythm,
component anatomy, motion) and a brand (colour and type). They are taken
separately.
- **A project that already has a brand or design system** takes skeleton and
motion from the reference, and colour and type from its own brand. Taking
the reference's colour and type as well would replace the brand with the
reference.
- **Colour and type are extracted too** when no brand exists yet, or when the
user asked to match the reference. Record which of the two applied in the
Research Log.
- **Several references** are rebuilt on one spacing unit, one grid and one
type scale, with one transition treatment across all borrowed sections.
Stacked as they came, they read as several sites on one page.
- **Drop what only meant something for the reference's owner**: its mascot,
its seasonal banner, its menu names.
## Remove traces before it leaves the team
Before a result goes outside the team, search it for traces of the
reference: its name in titles, comments and metadata, redrawn copies of its
artwork, and working notes that name it. The search is a command whose
output is in hand; reading the files does not count. The result's own copy
does not name the reference either. Keep the Research Log, which stays with
the team, as the one place the reference is named.
## Boundary
Extraction produces a prepared contract. Rendered comparisons, screenshots,
and PASS verdicts belong to the visual-QA owner and stay observed-only.
## Attribution
The idea of pairing a design-system contract file with taste-direction
material and an evidence-bound critique lane adapts concepts from the
`frontend` skill of `code-yeongyu/oh-my-openagent@9c62b62` (Sustainable Use
License 1.0) and its permissively licensed design upstreams:
`Leonxlnx/taste-skill` (MIT), `nextlevelbuilder/ui-ux-pro-max-skill` (MIT),
`Owl-Listener/designpowers` (MIT), and `nexu-io/open-design` (Apache-2.0).
No upstream text is reproduced; the wording here is OMH's own, and OMH keeps
its deterministic no-render boundary. Product names appear as quality
analogies only; OMH is not affiliated with, endorsed by, or sponsored by any
named company.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |