Back to list
trash-panda-v91-beta

frontend-delegation

by trash-panda-v91-beta

A modular and declarative dotfiles configuration using Nix Flakes, Home Manager, and nix-darwin.

1🍴 0📅 Jan 22, 2026

SKILL.md


name: frontend-delegation description: Use when touching frontend files to classify visual vs logic changes before acting

Frontend Delegation

Frontend files require classification before action. Visual work goes to Pixel; logic you handle directly.

The Core Question

Before touching any frontend file, ask:

"Is this change about how it LOOKS or how it WORKS?"

  • LOOKS → DELEGATE to Pixel
  • WORKS → Handle directly

Change Type Classification

Change TypeExamplesAction
Visual/UI/UXColor, spacing, layout, typography, animation, responsive breakpoints, hover states, shadows, borders, icons, imagesDELEGATE to pixel
Pure LogicAPI calls, data fetching, state management, event handlers (non-visual), type definitions, utility functions, business logicHandle directly
MixedComponent changes both visual AND logicSplit: logic yourself, visual to pixel

Quick Reference Examples

FileChangeTypeAction
Button.tsxChange color blue→greenVisualDELEGATE
Button.tsxAdd onClick API callLogicDirect
UserList.tsxAdd loading spinner animationVisualDELEGATE
UserList.tsxFix pagination logic bugLogicDirect
Modal.tsxMake responsive for mobileVisualDELEGATE
Modal.tsxAdd form validation logicLogicDirect

Visual Keyword Detection

DELEGATE if ANY of these keywords involved:

style, className, tailwind, color, background, border, shadow,
margin, padding, width, height, flex, grid, animation, transition,
hover, responsive, font-size, icon, svg, theme, dark-mode

Delegation Prompt to Pixel

When delegating, include:

1. TASK: Specific visual goal
2. EXPECTED OUTCOME: What it should look like
3. CONTEXT: File paths, existing styles, design system
4. MUST DO: Visual requirements
5. MUST NOT DO: Don't change logic, don't add dependencies

After Delegation

Verify Pixel's work:

  • Does it match the visual requirements?
  • Did it follow existing style patterns?
  • Did it avoid changing logic?

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon