一键导入
perf-audit
Audit frontend performance for the EPUB reader and entity UI. Use when the reader is slow, entity drawer lags, or bundle size grows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit frontend performance for the EPUB reader and entity UI. Use when the reader is slow, entity drawer lags, or bundle size grows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deploy fancai to production VPS. Use when deploying, shipping, or pushing to production.
Create and run database migrations for fancai. Use when changing database schema, adding columns, creating tables, or modifying SQLAlchemy models.
Use when discussing architecture, adding features, or understanding fancai project structure. Provides technology overview and conventions.
Debug Celery task failures, memory issues, and queue problems. Use when celery tasks fail, book processing hangs, image generation times out, or workers consume too much memory.
Debug and improve the entity extraction, deduplication, and spoiler-free pipeline. Use when entities are missing, duplicated, have wrong spoiler levels, or chunk boundary issues occur.
Respond to production incidents on fancai.ru. Use when the site is down, slow, returning errors, or AI features are broken.
| name | perf-audit |
| description | Audit frontend performance for the EPUB reader and entity UI. Use when the reader is slow, entity drawer lags, or bundle size grows. |
| allowed-tools | Bash, Read, Grep, Glob |
cd frontend && npm run build 2>&1 | tail -20
cd frontend && time npx tsc --noEmit
useCallbackuseMemouseProgressSync debounced at 5sEpubReader.tsx (286 lines, orchestrator)useDescriptionHighlighting.ts (8 search strategies)EntityDrawer.tsx, EntityList.tsxchapterCache.ts (IndexedDB)