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★ 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
- 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 alwaysproduct-ui; redesign modepreserve(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. - 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. - 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). - MOCKUP binding: live-component mock is MANDATORY (generic step 3: fidelity R1-R4, scripts for behaviour, show with
serve_mock_site,#refURLs in every question, decisions viamock-decide). One page per<root>/<yyyy-mm-dd-slug>/mock.tsxusing REAL@app/*client components, kit viamock-site/kit, ringsIssue/Fixon 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.jsonmockSite(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 pageDashboardPagefrom@locate/dashboard-page.tsx(mockups/_locate/: realResizableSidebar+SessionCards by folder +SessionHeader, phone = realMobileShell): passsessions(locateSession(...), server shapes),open(initial session, default landing view),part(the reviewed part),phone; script steps clicksessionTarget(id)then the tabs / panels a user clicks, endingact: "spot"on the part. Write only the path, never a stand-in shell. Host APIs (/api/*,/ws) come fromfixtures(capture real shapes withmock-capture); "Missing fixtures" on the page lists what is still unanswered. Serveserve_mock_site{}(port 5299, never 8000) ornpm run mocks. Static boards only for geometry repros (chat-selection-anchor style), and only as a directory holdingSTATIC.mdthat names the exception — never a loose.html(npm run check:mockupsreports 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 exactlyPending 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 theui:*primitives (ui:dialog,ui:status-pill, ...), never hand-built equivalents
Установить 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-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic