Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

frontend-mockup-loop-dashboard

БесплатноБез исполняемых скриптовНе проверен

Dashboard-specific adapter on the generic frontend-mockup-loop skill: binds the 7-step design loop to pi-agent-dashboard component sources, theme-system…

BlackBeltTechnologyот BlackBeltTechnology★ 357 звёзд на GitHub

Об этом скилле

When to Use

Use when designing or refining any surface in packages/client (or src/client) of pi-agent-dashboard, and for every mock / mockup / UI-option / variant request here. This is a THIN ADAPTER: the generic loop, tools, and rubric live in the frontend-mockup-loop skill (source of truth: the workspace copy in packages/mockup-loop). Load that first for the full procedure; this skill only supplies the dashboard-specific bindings. Skip for trivial one-class tweaks.

Procedure

  1. LOAD the generic loop first: read the WORKSPACE copy packages/mockup-loop/.pi/skills/frontend-mockup-loop/SKILL.md (not an installed npm copy: unreleased skill changes apply here before the next release). Follow its 7 steps (GROUND, CONTRACT, MOCKUP, TEST, FIX, PROMOTE, LEARN) and use its tools (serve_mockup, score_mockup, init_ui_contract). The bindings below override only the dashboard-specific details. ANTI-SLOP binding (packages/anti-slop suite): Design Read profile is always product-ui; redesign mode preserve (anti-slop-redesign: audit first, protected list incl. data-testid + keyboard shortcuts); image direction is off for every dashboard surface (never run anti-slop-image-direction or anti-slop-brandkit here). Part B and layout discipline do not apply.
  2. GROUND binding: read the authoritative component source (e.g. packages/client/src/components/SessionCard.tsx) and capture the exact classes (e.g. rounded-xl border border-[var(--border-secondary)] bg-[var(--bg-secondary)]) and cite colours by TOKEN NAME (--bg-secondary, --bg-tertiary, --severity-*-{bg,fg,border}), never by a measured hex: values differ per palette. Delegate harvest per the debug-dashboard skill's references/isolated-verification.md.
  3. CONTRACT binding: read root ui-contract.md for every design fact (token roles, severity/tint/status families, type/spacing scale, WCAG invariants, theme layers). Token definitions live in packages/client/src/index.css (base dark/light); 8 more palettes x dark/light are runtime overrides from packages/client/src/lib/theme/themes.ts. New tokens get added to the theme layer first, then cited in ui-contract.md. Per-change scope: write openspec/changes//mockups/ui-plan.md (surfaces -> tokens -> states).
  4. MOCKUP binding: live-component mock is MANDATORY (generic step 3: fidelity R1-R4, scripts for behaviour, show with serve_mock_site, #ref URLs in every question, decisions via mock-decide). One page per <root>/<yyyy-mm-dd-slug>/mock.tsx using REAL @app/* client components, kit via mock-site/kit, rings Issue/Fix on the divs that change (guide: packages/mockup-loop/references/live-mock-site.md; example: packages/mockup-loop/examples/2026-11-03-session-pills/). Environment: inherited from packages/client/vite.config.ts via root package.json mockSite (launcher packages/client/scripts/vite-build.mjs) — never copy client aliases or plugins; mockups/mock-site.config.ts holds options only (title, themes, app, mock-only aliases @app/@flows), plus mock-site.app.tsx + mock-site.css. LOCATE binding: every Locate frame (locate, locate.phone) uses the shared dashboard Locate page DashboardPage from @locate/dashboard-page.tsx (mockups/_locate/: real ResizableSidebar + SessionCards by folder + SessionHeader, phone = real MobileShell): pass sessions (locateSession(...), server shapes), open (initial session, default landing view), part (the reviewed part), phone; script steps click sessionTarget(id) then the tabs / panels a user clicks, ending act: "spot" on the part. Write only the path, never a stand-in shell. Host APIs (/api/*, /ws) come from fixtures (capture real shapes with mock-capture); "Missing fixtures" on the page lists what is still unanswered. Serve serve_mock_site{} (port 5299, never 8000) or npm run mocks. Static boards only for geometry repros (chat-selection-anchor style), and only as a directory holding STATIC.md that names the exception — never a loose .html (npm run check:mockups reports it). Location: change exists -> mockups go to openspec/changes//mockups/ (no marker row). No change yet (explore mode) -> write a dated live mock mockups/<yyyy-mm-dd-slug>/mock.tsx (static: mockups/<slug>/ + STATIC.md) and add a mockups/AGENTS.md row whose Purpose cell ends exactly Pending change: <intent> right before the closing | — spelling and casing exact, intent a short human hint with no | and no backticks. The marker makes it adoptable: openspec/config.yaml rules.proposal and plan-proposal Step 1b move it into the change when its proposal is created. Mockups not meant for a change get no marker. Verify dark AND light. PLUGIN SURFACE binding (a plugin page, dialog, overlay route or slot widget): compose from the runtime kit (dashboard-plugin-runtime: SettingsStatusPill, SettingsNotice, SettingsActionError, the field family) and the ui:* primitives (ui:dialog, ui:status-pill, ...), never hand-built equivalents
Полный SKILL.md на GitHub

Установить frontend-mockup-loop-dashboard в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл frontend-mockup-loop-dashboard?

Dashboard-specific adapter on the generic frontend-mockup-loop skill: binds the 7-step design loop to pi-agent-dashboard component sources, theme-system tokens, and isolated verification. Use when designing/redesigning any pi-agent-dashboard client surface. Triggers: "design a dashboard screen", "mockup a dashboard surface", "redesign SessionCard", "make dashboard UI consistent".

Как установить скилл frontend-mockup-loop-dashboard?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл frontend-mockup-loop-dashboard запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить frontend-mockup-loop-dashboard с