Command Palette

Search for a command to run...

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

preflight

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

Run repo health checks that used to live in husky hooks (typecheck, React Compiler bailouts, design-system drift, lint, tests). Use when the user says…

vvedantbот vvedantb★ 100 звёзд на GitHub

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

Preflight

On-demand replacement for disabled husky gates. Run from repo root. Fix failures before continuing; do not skip unless the user says so.

Steps

  1. Typecheck (web + backend + callback):
pnpm typecheck
  1. React Compiler bailouts:
pnpm compiler:check
  1. Design-system drift:
pnpm design:check
  1. Lint (whole tree; former lint-staged scope was staged files only):
pnpm lint
  1. Preview parity (only when the preview toolbar, comment card or comments drawer changed; needs the web dev server and agent-browser, so CI skips it):
pnpm preview:parity

It compares Eva's AnnotationCommentCard and PreviewCommentsDrawer with the copies the proxy injects into a direct sandbox link. If only the colours moved, pnpm preview:parity --write-theme re-measures Eva's tokens and rewrites themeFallback.generated.ts.

  1. Tests (web + backend bun test, script tests; CI runs the same command):
pnpm test
  1. Commit hygiene (manual — hooks are off):
    • No Co-authored-by: Cursor / Made-with: Cursor in commit messages
    • No stray lone @ line in the message (PowerShell here-string leak)

Notes

  • Do not run convex codegen as part of preflight (uploads to the linked deployment).
  • Husky hooks under .husky/ are commented out on purpose; re-enable there if you want gates back on every commit/push.
  • Optional format pass on dirty files: ./node_modules/.bin/lint-staged (needs staged files) or Prettier on specific paths.

Установить preflight в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл preflight?

Run repo health checks that used to live in husky hooks (typecheck, React Compiler bailouts, design-system drift, lint, tests). Use when the user says preflight, /preflight, run checks before push, or asks to typecheck the monorepo occasionally.

Как установить скилл preflight?

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

Скилл preflight запускает скрипты?

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

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

Сравнить preflight с