- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add BlackBeltTechnology/pi-agent-dashboard --skill anti-slop-redesign -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add BlackBeltTechnology/pi-agent-dashboard --skill anti-slop-redesign -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add BlackBeltTechnology/pi-agent-dashboard --skill anti-slop-redesign -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add BlackBeltTechnology/pi-agent-dashboard --skill anti-slop-redesign -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/BlackBeltTechnology/pi-agent-dashboard/tree/HEAD/packages/anti-slop/.pi/skills/anti-slop-redesign來自發布者
Most UI work changes a surface that already ships. Misclassifying the mode is the biggest source of bad redesign output: a "refresh" that renames routes, breaks e2e selectors and drops keyboard shortcuts is a regression, however good it looks. This skill makes the mode, the audit and the protected list explicit before anything is touched.
Authority: advisory. Findings feed the frontend-mockup-loop FIX step and
never override a WCAG-AA or severity gate. When a recommendation conflicts
with a gate result, the gate result stands and the recommendation is recorded
as overridden. The tell catalog itself lives in anti-slop-frontend; this
skill decides what may change and in which order.
frontend-mockup-loop MOCKUP on any surface that already ships.new-site → greenfield.State the anti-slop-frontend Design Read, then one of three modes:
Defaults per surface profile:
overhaul requires explicit user confirmation before proceeding. Ask once
(ask_user when available); without a yes, stay in preserve.overhaul only when the visual debt is structural (no design system,
broken mobile, broken IA). Sound IA and content → preserve.Produce the audit before touching any file. A redesign whose first artifact is a diff fails Verification.
anti-slop-frontend checklist for the declared
profile; list each hit with its rule id (A3, B2, ...).data-testid values).Apply in order; stop as soon as the brief is satisfied. Each lever is a separate, reviewable step.
anti-slop-frontend A1, T1).In preserve, levers 1-4 are the default scope; 5-6 need a reason in the
audit.
Diff the result against the protected inventory from step 2. Every changed protected item must be listed and confirmed (see below), or reverted.
In preserve and overhaul, these do not change unless the change is listed
explicitly and the user confirms it:
data-testid attributes (e2e suites select on them)Also preserve, unless asked: copy voice, existing accessibility wins (focus states, alt text, keyboard nav, contrast), and analytics event names.
overhaul.data-testid to match a new component name; the e2e suite
breaks silently in CI, not locally.overhaul has a recorded
confirmation.Redesign an existing UI without breaking it: declare a mode (greenfield / preserve / overhaul), audit the current surface before any edit, apply modernisation levers in priority order, and never silen
---name: anti-slop-redesigndescription: Redesign an existing UI without breaking it: declare a mode (greenfield / preserve / overhaul), audit the…---# packages/anti-slop/.pi/skills/anti-slop-redesign/SKILL.md總覽
Redesign an existing UI without breaking it: declare a mode (greenfield / preserve / overhaul), audit the current surface before any edit, apply modernisation levers in priority order, and never silently change routes, nav labels, form fields, shortcuts or data-testid hooks. Triggers: \"redesign this page\", \"modernise this UI\", \"refresh the look\", \"mockup an existing surface\".
常見問題
從發布者下載 packages/anti-slop/.pi/skills/anti-slop-redesign/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/BlackBeltTechnology/pi-agent-dashboard。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。