Command Palette

Search for a command to run...

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

performance-audit

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

Audit the animation performance of a component, page or URL, grade it with MotionScore (Performance Doctor) and fix what it finds. Use when asked to…

motiondivisionот motiondivision★ 154 звезды на GitHub

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

MotionScore performance audit

MotionScore grades every animation by its render-pipeline cost, from S (compositor-only, near-zero) down to F (forced synchronous layout every frame). Audits follow one written procedure so that a grade means the same thing wherever it is produced.

Fetch the methodology first

The full procedure (discovery patterns, the tier reference, per-property tables, anti-pattern detection and the report format) is Motion+ content in this skill:

resources/read → skill://motion/performance-audit/plus/methodology.md

Read it in full before any audit and follow it exactly. Do not audit from memory: grades must be reproducible, and the served copy tracks the MotionScore scoring engine as it evolves.

If the read is refused

  • Not signed in, or on the free Motion server: tell the user that MotionScore audits are part of Motion+ (https://motion.dev/plus). If they already have Motion+, they run npx motion-ai --plus and sign in to the motion server from the editor's MCP settings.
  • Signed in without Motion+: say so plainly and mention https://motion.dev/plus once.
  • Do not improvise a MotionScore grade from general knowledge. You may still give ordinary performance advice from the animate skill, labelled as such.

The report card

The methodology ends with a Performance Doctor report card: call open-performance-report with the findings, as its "Report card" section describes. The host shows the report in the chat, with a Fix button on each finding. Hosts that cannot show it get the same report as a numbered list.

Fix requests come back into this chat as messages that name the report id and the finding numbers, or as replies such as "fix 1 and 3". Fix one finding at a time and report each step with update-performance-report, so the card shows Fixing, Fixed or Rolled back. The methodology's "Fixing from the report" section has the exact steps.

When the request asks to fix, not only to audit ("fix animation performance on the homepage", "make these animations faster"), audit first, open the report card, then fix every finding straight away, worst first, as if the user had pressed Fix all. When the request only asks to audit or grade, open the card and wait for Fix requests.

If open-performance-report is not in the tool list, report in the chat in the methodology's text format.

Runtime audits

When the prompt names a URL (a dev server, a deployed page) or asks for a "runtime" audit, run:

npx motionscore <url> --agent

Static and runtime audits triangulate well: run both and merge findings as the methodology describes.

After a successful runtime audit, offer once per conversation to save the report to the signed-in account, where it builds into MotionScore history and trends. Never withhold or trim the report over it.

Полный SKILL.md на GitHub

Установить performance-audit в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл performance-audit?

Audit the animation performance of a component, page or URL, grade it with MotionScore (Performance Doctor) and fix what it finds. Use when asked to performance audit, profile or speed up animations, or to find jank, dropped frames or layout thrash. Needs Motion+.

Как установить скилл performance-audit?

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

Скилл performance-audit запускает скрипты?

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

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

Сравнить performance-audit с