ui-implement
БесплатноБез исполняемых скриптовНе проверенPatterns for implementing UI improvements based on design analysis. Works with review documents from dev:ui-analyse or /dev:ui command. Includes Anti-AI…
от MadAppGang★ 290 звёзд на GitHubОб этом скилле
UI Implementation Skill
Overview
This skill provides patterns for implementing UI improvements based on design analysis. It transforms review findings into code changes following Anti-AI design principles.
Relationship to Other Skills
| Skill | Purpose | Modifies Code? |
|---|---|---|
| dev:ui-analyse | Visual analysis, issue detection | No |
| dev:ui-implement | Apply improvements from analysis | Yes |
| dev:ui-style-format | Style file specification | No |
| dev:design-references | Reference image management | No |
Prerequisite
This skill assumes analysis has been completed using:
dev:ui-analyseskill/dev:uicommand output- External design review
Before implementing, ensure you have:
- A review document with identified issues
- Component path(s) to modify
- Understanding of the visual metaphor to apply
Implementation Workflow
Phase 1: Parse Review Document
Extract actionable items from the review document.
# Extract actionable items from review
parse_review() {
local review_path="$1"
# Extract CRITICAL and HIGH issues
grep -A 2 "^\[CRITICAL\]" "$review_path"
grep -A 2 "^\[HIGH\]" "$review_path"
}
What to Look For:
- CRITICAL issues (fix immediately)
- HIGH issues (fix before release)
- Specific component locations
- Recommended changes
Phase 2: Visual Context (Optional)
If Gemini available and screenshot provided, understand the current visual state.
# Understand current visual state
npx claudish --model "$GEMINI_MODEL" --image "$CURRENT_SCREENSHOT" --quiet --auto-approve <<< "
Describe the current UI implementation:
1. Layout structure
2. Color scheme
3. Typography
4. Animation presence
5. Areas needing improvement
Output as structured data for implementation."
Provider Detection:
# Check providers in priority order
if -n "$GEMINI_API_KEY"; then
GEMINI_MODEL="g/gemini-3-pro-preview"
elif -n "$OPENROUTER_API_KEY"; then
GEMINI_MODEL="or/google/gemini-3-pro-preview"
elif -n "$GOOGLE_APPLICATION_CREDENTIALS"; then
GEMINI_MODEL="vertex/gemini-3-pro-preview"
else
GEMINI_MODEL="" # Text-only mode
fi
Phase 3: Apply Anti-AI Improvements
Apply the five core Anti-AI design rules to transform generic UI into distinctive design.
See Anti-AI Design Rules section below for detailed patterns.
Phase 4: Visual Verification (Optional)
If Gemini available after changes, verify improvements were applied correctly.
# Verify improvements
npx claudish --model "$GEMINI_MODEL" --image "$NEW_SCREENSHOT" --quiet --auto-approve <<< "
Verify these improvements were applied:
1. Asymmetric layout: {expected}
2. Texture/depth: {expected}
3. Typography drama: {expected}
4. Micro-interactions: {expected}
5. Bespoke colors: {expected}
Score 1-10 and note any remaining issues."
Anti-AI Design Rules
These rules transform generic, AI-generated looking UI into distinctive, human-crafted designs.
Rule 1: Break Symmetry
Rigid symmetric grids look AI-generated. Break them with asymmetric bento layouts.
// BEFORE: Symmetric grid
<div className="grid grid-cols-3 gap-4">
// AFTER: Asymmetric bento
<div className="grid grid-cols-12 gap-6">
<div className="col-span-7 row-span-2" />
<div className="col-span-5" />
<div className="col-span-3" />
<div className="col-span-2 -mt-8" />
</div>
Key Techniques:
- Use 12-column grids for flexibility
- Vary column spans (7+5, not 6+6)
- Use negative margins for overlap
- Vary row heights
- Break alignment intentionally
Rule 2: Add Texture
Flat solid colors look AI-generated. Add gradients, glass effects, and depth.
// BEFORE: Flat
<div className="bg-white rounded-lg">
// AFTER: Textured
<div className="
bg-gradient-to-br from-white/80 to-white/40
backdrop-blur-xl
border border-white/20
shadow-[0_8px_32px_rgba(0,0,0,0.08),inset_0_1px_0_rgba(255,255,255,0.6)]
">
Key Techniques:
- Gradient backgrounds (subtle, directional)
- Glassmorphism (backdrop-blur + semi-transparent)
- Complex shadows with inset highlights
- Border with alpha for subtle edges
- Noise texture overlays
Rule 3: Dramatic Typography
Generic typography looks AI-generated. Create dramatic visual hierarchy.
// BEFORE: Generic
<h1 className="text-2xl font-bold">Welcome</h1>
// AFTER: Dramatic
<h1 className="
text-[clamp(4rem,15vw,12rem)]
font-serif font-thin tracking-[-0.04em]
leading-[0.85]
bg-gradient-to-r from-zinc-900 via-zinc-600 to-zinc-900
bg-clip-text text-transparent
">
Welcome
</h1>
Key Techniques:
- Fluid typography with clamp()
- Extreme size contrasts (body 16px, hero 120px+)
- Tight line-height for headlines (0.85-0.95)
- Negative letter-spacing for large text
- Gradient text with bg-clip-text
- Mix serif/sans-serif for contrast
Rule 4: Micro-Interactions
Static elements look AI-generated. Add motion and feedback.
// BEFORE: Static
<butto
Установить ui-implement в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ui-implement?
Patterns for implementing UI improvements based on design analysis. Works with review documents from dev:ui-analyse or /dev:ui command. Includes Anti-AI design rules and visual verification.
Как установить скилл ui-implement?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ui-implement запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic