Agent Skillsryantsai/KKTerm › dashboard-widget-designer

dashboard-widget-designer

GitHub

优化KKTerm仪表盘AI生成小部件的视觉设计、布局层级及一致性。提供紧凑状态、清晰状态反馈(加载/空/错误等)及设计规范,确保在小尺寸网格内美观可用,需配合builder技能进行代码实现。

assistant-skills/dashboard-widget-designer/SKILL.md ryantsai/KKTerm

Trigger Scenarios

用户要求改善仪表盘小部件的外观或可用性 需要对小部件进行视觉重构或设计评审

Install

npx skills add ryantsai/KKTerm --skill dashboard-widget-designer -g -y
More Options

Non-standard path

npx skills add https://github.com/ryantsai/KKTerm/tree/main/assistant-skills/dashboard-widget-designer -g -y

Use without installing

npx skills use ryantsai/KKTerm@dashboard-widget-designer

指定 Agent (Claude Code)

npx skills add ryantsai/KKTerm --skill dashboard-widget-designer -a claude-code -g -y

安装 repo 全部 skill

npx skills add ryantsai/KKTerm --all -g -y

预览 repo 内 skill

npx skills add ryantsai/KKTerm --list

SKILL.md

Frontmatter
{
    "name": "dashboard-widget-designer",
    "description": "Improve KKTerm Dashboard AI Created Widget visual design, layout hierarchy, desktop utility polish, design-system consistency, compact states, and redesign critique."
}

Dashboard Widget Designer

Use this skill when the user asks for a better-looking, more usable, or more polished Dashboard AI Created Widget or Dashboard view. Pair it with dashboard-widget-builder when code must be created or patched.

This skill adapts open-design-style practice for KKTerm: choose a clear artifact role, apply a small design system consistently, critique the result before delivery, and keep the artifact runnable inside its sandbox.

Design Workflow

  1. Identify the widget's job: monitor, launcher, calculator, timeline, command helper, map, chart, status panel, game, or focused utility.
  2. Define a compact visual direction before writing or changing code: calm utility, dense operations, high-contrast alert, soft desktop object, or playful canvas.
  3. Preserve the user's requested content and behavior. Redesign presentation before inventing new features.
  4. Prefer one strong hierarchy: primary metric or action, secondary details, then tertiary metadata.
  5. Treat the Dashboard grid size as a hard constraint. Design for the current widget bounds first, then make it resilient to resize.
  6. Critique the widget before finalizing: scan for cramped spacing, unclear status color, unreadable text, competing focal points, missing states, and unnecessary chrome.

KKTerm Visual Language

  • Prefer desktop utility over marketing-page composition.
  • Use compact cards, meters, status chips, timelines, small controls, and object-like surfaces.
  • Keep the host widget frame visible; do not duplicate the app's outer card chrome inside the widget.
  • Use the widget accent only when it helps meaning or grouping.
  • Keep decorative effects subtle. Avoid heavy glassmorphism, oversized hero sections, excessive gradients, and animated clutter.
  • Use system-ish type sizing: clear labels, readable values, short captions, and no tiny critical text.
  • Keep icons functional. If an icon does not clarify status, action, or category, omit it.

Layout Rules

  • Start with a single-column layout for small widgets and a two-zone layout only when there is enough room.
  • Keep controls close to the content they affect.
  • Put refresh, configure, or secondary actions in a quiet top or bottom utility row.
  • Avoid inner scrollbars in the default state. If overflow is unavoidable, make the scroll area intentional and label what it contains.
  • Use fluid sizing from the widget viewport. Avoid fixed desktop-sized canvases or hardcoded full-page dimensions.
  • Do not rely on browser page background; the widget is rendered inside KKTerm's Dashboard surface.

State Design

Every data-driven widget should have clear states:

  • Loading: short, low-noise progress text or skeleton shape.
  • Empty: explain what is missing and what action would populate it.
  • Error: show the user-facing failure and a safe retry path.
  • Stale: show last updated time when data can become old.
  • Success: make the primary result visible without requiring reading every detail.

Redesign Heuristics

When improving an existing widget:

  1. Keep the current data model and bridge calls unless the user asked for behavior changes.
  2. Remove visual noise before adding new elements.
  3. Consolidate duplicate labels and repeated timestamps.
  4. Make the most important value readable at a glance.
  5. Normalize spacing, border radius, and color use across repeated rows.
  6. Preserve non-English text exactly.
  7. Patch only the smallest source area needed.

Handoff Checklist

Before creating or updating a widget, verify:

  • It fits the assigned Dashboard grid bounds.
  • It has a readable hierarchy at small sizes.
  • Loading, empty, error, and stale states are present when relevant.
  • Color is not the only status cue.
  • Animation is bounded and can stop when not needed.
  • The code stays script-widget compatible and does not import runtime CDN assets.

Version History

  • b4e2eb1 Current 2026-07-05 14:38

Same Skill Collection

assistant-skills/dashboard-data-visualization/SKILL.md
assistant-skills/dashboard-widget-builder/SKILL.md
assistant-skills/desktop-accessibility-ui/SKILL.md
assistant-skills/dns-dhcp-troubleshooter/SKILL.md
assistant-skills/firewall-port-troubleshooter/SKILL.md
assistant-skills/network-connectivity-troubleshooter/SKILL.md
assistant-skills/remote-desktop-helper/SKILL.md
assistant-skills/sftp-transfer-helper/SKILL.md
assistant-skills/ssh-troubleshooter/SKILL.md
assistant-skills/terminal-command-planner/SKILL.md
assistant-skills/tls-certificate-troubleshooter/SKILL.md

Metadata

Files
0
Version
b4e2eb1
Hash
a48c8dab
Indexed
2026-07-05 14:38

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-15 06:09
浙ICP备14020137号-1 $mapa de visitantes$