Back to skills
SKILL.md
Ui Implementation Engineer
ASecurityTranslates approved Design Decision Records (DDR) and design tokens into production-grade frontend component implementations. Enforces strict semantic HTML5, accessible landmark regions, modern Tailwind v4 / CSS utility architecture, mathematical spatial layout, and zero arbitrary inline styles.
- 7 stars
- 0 votes
- 0 copies
- 3 views
- Added November 9, 2026
Works with
Security analysis
100/100npx -y skills add Harmitx7/tribunal-kit --skill ui-implementation-engineer --agent claude-codeAre you the author of Ui Implementation Engineer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/harmitx7-ui-implementation-engineer)---
name: ui-implementation-engineer
description: 'Translates approved Design Decision Records (DDR) and design tokens into production-grade frontend component implementations. Enforces strict semantic HTML5, accessible landmark regions, modern Tailwind v4 / CSS utility architecture, mathematical spatial layout, and zero arbitrary inline styles.'
version: 1.0.0
last-updated: 2026-10-30
skills:
- frontend-design
- better-ui
- adapt
tools: Read, Grep, Glob, Bash, Edit, Write
scripts-binding:
- .agent/scripts/lint_runner.js
- .agent/scripts/verify_all.js
inputs:
designDecisionRecord: 'object'
targetFramework: 'string'
componentSpec: 'object'
outputs:
componentMarkup: 'string'
styleSheet: 'string'
implementationReport: 'object'
trigger:
- 'ui-implementation'
- 'implement-ui'
- 'build-component'
- 'frontend-markup'
---
# UI Implementation Engineer — Production Component Engineering
## Mandatory Pre-Flight Context Inspection
Before writing or modifying component code, inspect these 5 critical parameters:
1. **DDR Alignment**: Confirm the existence of an approved Design Decision Record (or derive one using `art_direction_engine.js`) prior to generating markup.
2. **Semantic Element Selection**: Replace generic `<div>` containers with semantic HTML elements (`<nav>`, `<main>`, `<article>`, `<section>`, `<aside>`, `<header>`, `<footer>`, `<dialog>`).
3. **Token Adherence**: Map every color, spacing, and radius value to defined CSS variables (`var(--surface-0)`) or Tailwind v4 theme tokens rather than raw hex or pixel values.
4. **Layout Robustness**: Guard all flex and grid containers against content truncation, overflow wrapping, and layout shifts (`min-w-0`, `shrink-0`, `overflow-hidden`).
5. **Interactive Contract Readiness**: Prepare elements for 5-state contracts (`hover`, `focus-visible`, `active`, `disabled`) with dedicated focus rings and active press physics.
## Activation Boundaries
- **Activate when:** Implementing new frontend components, writing JSX/TSX/HTML templates, converting designs into code, or restructuring legacy templates into semantic UI.
- **DO NOT activate when:** Analyzing backend APIs, designing database models, or solely auditing accessibility without implementation changes.
## 🔁 Multi-Pass Implementation Protocol
| Pass | Phase | Core Action | Observable Target |
| :--------- | :--------------------------------- | :----------------------------------------------------------------------------------------------- | :------------------------- |
| **Pass 1** | **Semantic Skeleton** | Construct HTML5 document outline with accessible landmarks and ARIA roles. | Semantic DOM Tree |
| **Pass 2** | **Spatial & Grid Layout** | Apply 8pt grid spacing, container queries, and nested radius geometry. | Responsive Layout Skeleton |
| **Pass 3** | **Design Token Application** | Bind OKLCH color tokens, fluid typography clamps, and elevation borders. | Styled Components |
| **Pass 4** | **Interactive State Hookup** | Implement tactile scale (`active:scale-[0.98]`), focus outlines, and disabled states. | 5-State Interactive Target |
| **Pass 5** | **AST Cleanliness & Verification** | Run defect analyzer to verify zero `transition: all`, no raw hex values, and no `outline: none`. | Defect-Free Implementation |
---
## 🛠️ Technical Architecture & Implementation Recipes
### 1. Semantic Container Structure
```tsx
// Compliant Production Component Implementation
import React from 'react';
interface MetricCardProps {
label: string;
value: string | number;
delta: string;
isPositive: boolean;
}
export function MetricCard({ label, value, delta, isPositive }: MetricCardProps) {
return (
<article className="p-5 rounded-[16px] bg-[var(--surface-1)] border border-[oklch(1_0_0/0.08)] shadow-sm hover:border-[oklch(1_0_0/0.16)] transition-[border-color,box-shadow] duration-150 ease-out flex flex-col gap-2 min-w-0">
<header className="flex items-center justify-between gap-2">
<h3 className="text-xs font-medium uppercase tracking-wider text-[var(--text-muted)] truncate">
{label}
</h3>
<span
className={`text-xs font-semibold px-2 py-0.5 rounded-[4px] ${
isPositive
? 'bg-[oklch(0.25_0.08_145)] text-[oklch(0.85_0.14_145)]'
: 'bg-[oklch(0.25_0.08_25)] text-[oklch(0.85_0.14_25)]'
}`}
>
{delta}
</span>
</header>
<p className="text-2xl font-semibold tracking-tight text-[var(--text-primary)] font-mono tabular-nums">
{value}
</p>
</article>
);
}
```
### 2. Forbidden Anti-Patterns in Markup
- ❌ Raw Hex Codes: `style={{ backgroundColor: '#1e293b' }}` → Use `bg-[var(--surface-1)]` or `@theme` token.
- ❌ All Transitions: `className="transition-all"` → Use `transition-[color,background-color,border-color,transform]`.
- ❌ Outline Suppression: `className="outline-none"` without custom ring → Use `focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--accent-primary)]`.
- ❌ Flat Click Targets: Buttons without `:active` press scale → Add `active:scale-[0.98]`.
---
## 🏛️ Tribunal Verification & Guardrails
### 🛑 Verification-Before-Completion (VBC) Protocol
1. Run `analyzeVisualDefects(markup)` to prove zero AST defects.
2. Verify all interactive targets support keyboard focus navigation with visible rings.
3. Confirm zero raw hex color values exist in the implementation.
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.