fmess-chat-check — скилл для Claude Code: проверка чатов
Скилл fmess-chat-check для Claude Code проверяет отображение чатов в приложении fMess. Запускает проверку перед выпуском изменений CSS или скрипта страницы, которые затрагивают сообщения и оформление.
MIT ★ 122 обновлён 2026-11-15
npx skills add toanbku/fmess --skill fmess-chat-check -a claude-codeЧто делает fmess-chat-check
Скилл запускает проверку чатов в установленном приложении fMess и сверяет результат по снимкам экрана. Он проходит по найденным чатам разных типов и темам Messenger, проверяет светлый и тёмный режимы, сообщения, цитаты, эмодзи и уведомления. Оценка учитывает видимость пузыря и контраст текста, полосы цитаты и кнопки закрытия уведомления.
На macOS сначала нужна debug-сборка: npx tauri build --debug --bundles app. Затем скрипт tests/app/chat-check.sh закрывает работающий fMess, запускает пробу и снова открывает приложение. Результаты, изображения и result.json сохраняются в выходную папку; отсутствующие типы сообщений отмечаются для ручной проверки. Анимации, масштабирование и вспышка при быстрой прокрутке остаются ручными проверками.
Какие задачи решает
- проверить контраст текста в пузырях сообщений
- найти проблемы с отображением цитат и эмодзи
- проверить темы чатов в светлом и тёмном режимах
- заметить уведомления с нечитаемым текстом
Примеры запросов агенту
- Проверь отображение чатов в fMess перед выпуском изменений CSS.
- Запусти проверку чатов после правок скрипта страницы.
- Проверь, как тема отображает цитаты и уведомления в fMess.
Как установить fmess-chat-check
1Через Skills CLI (Vercel)
npx skills add toanbku/fmess --skill fmess-chat-check -a claude-code2Вручную: положить файлы
~/.claude/skills/fmess-chat-check/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/fmess-chat-check/
1Через Skills CLI (Vercel)
npx skills add toanbku/fmess --skill fmess-chat-check -a codex2Вручную: положить файлы
.agents/skills/fmess-chat-check/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add toanbku/fmess --skill fmess-chat-check -a cursor2Вручную: положить файлы
.cursor/skills/fmess-chat-check/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install toanbku/fmess .claude/skills/fmess-chat-check2Вручную: положить файлы
.github/skills/fmess-chat-check/SKILL.md1Через Skills CLI (Vercel)
npx skills add toanbku/fmess --skill fmess-chat-check -a gemini-cli2Командой платформы
gemini skills install https://github.com/toanbku/fmess --path .claude/skills/fmess-chat-checkВручную: положить файлы
.devin/skills/fmess-chat-check/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о fmess-chat-check
Как установить fmess-chat-check в Claude Code?
Выполни npx skills add toanbku/fmess --skill fmess-chat-check -a claude-code. Скилл устанавливается в ~/.claude/skills/fmess-chat-check/SKILL.md.
Что делает fmess-chat-check?
Проверяет отображение сообщений и элементов чата в fMess по снимкам экрана: включая пузыри, цитаты, эмодзи и уведомления в разных темах и режимах.
Что нужно для работы fmess-chat-check?
Нужны macOS и приложение fMess. Перед запуском проверки собери debug-версию командой npx tauri build --debug --bundles app.
Исходный текст
SKILL.md · MIT
---
name: fmess-chat-check
description: Check how chats look in the real fMess app before a change to the page script or a theme ships. Run it for any CSS or inject change that can touch messages, bubbles, quotes, the chat's background or colours (0.1.31 shipped bare bubbles because one chat kind was never looked at).
---
# Chat check
`tests/app/chat-check.sh [output dir] [max chats]` (macOS, debug build:
`npx tauri build --debug --bundles app` first). It quits the running fMess,
runs `tests/app/chat-check.js` as a probe, and opens the installed fMess again.
## What it covers
For one read chat of each kind found in the list, with each Messenger chat
theme found:
| Dimension | Values |
|---|---|
| Chat | encrypted (e2ee), not encrypted, group |
| Messenger chat theme | default, gradient, colour (and wallpaper) |
| fMess look | Messenger, Zalo, WhatsApp, Teams, and any other theme in `src-tauri/themes/` (CSS put in the page, nothing saved) |
| Mode | light, dark (Messenger's own setting, put back at the end) |
| Messages | text bubbles (yours, theirs), quotes, emoji-only ("icons") |
| Toasts | one of Facebook's own (`cometPushToast`) per look and mode, as a chat named `toast` |
It scrolls back up to 8 screens for a screen with a quote or an emoji message.
Notes at the end say what wasn't found (e.g. no emoji message): look for one
by hand then.
## What it checks (on the picture's pixels)
- a bubble is visible: beside its text differs from just outside it
- its text reads: contrast ≥ 2.5 (Messenger's own white on #0099FF is ~3)
- a quote's text (≥ 2) and bar (≥ 1.25) read on the bubble
- an emoji-only message has no bubble behind it
- `box gradient` per chat: whether the chat box still paints the theme's
gradient (the fast-scroll flash, #27, comes from it)
- a toast's text reads (≥ 3) and its close button's cross shows on its face
(≥ 2). Facebook draws toasts the other way round from the page, so a theme's
page colours leaking into them gave white on white (0.1.33, dark mode, all
three themes). A toast that never showed fails (`no toast showed`, with
whether the page was hidden: keep the window in view while it runs)
Skipped on purpose: text in links (shared posts) and buttons (the message a
reply quotes), see-through bubbles Messenger dims, bubbles drawn as a border
only (unsent messages), anything covered (pinned message, a theme's card).
## Reading the result
`PASSED`/`FAILED` and one line per problem; `result.json` and the pictures in
the output dir, plus `sheet-<chat>.png` per chat: Messenger, Zalo, WhatsApp,
Teams across, light above dark. Look at the sheets even when it passes.
Before trusting a new check, run it on a known-bad build (it must fail) and a
known-good one (it must pass).
## Still by hand
The fast-scroll flash, hover cards, pinch/zoom, anything animated: ask anh
to try it in the debug build (a recorder probe helps, see fmess-fast-iteration
in memory).
For what happens when the computer sleeps, the network drops, the encrypted
chats' worker dies or a notification rings, and for whether the search field
can be typed in and text selected (focus-check.sh), see the fmess-live-check
skill. A check that clicks or types should use real events (probe.rs,
`window.__fmessInputRequest`), described there.
© toanbku · MIT · toanbku/fmess