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★ 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
- Typecheck (web + backend + callback):
pnpm typecheck
- React Compiler bailouts:
pnpm compiler:check
- Design-system drift:
pnpm design:check
- Lint (whole tree; former lint-staged scope was staged files only):
pnpm lint
- 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.
- Tests (web + backend
bun test, script tests; CI runs the same command):
pnpm test
- Commit hygiene (manual — hooks are off):
- No
Co-authored-by: Cursor/Made-with: Cursorin commit messages - No stray lone
@line in the message (PowerShell here-string leak)
- No
Notes
- Do not run
convex codegenas 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), без исполняемых скриптов.
Похожие скиллы
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