observe · plugin87 — скилл для Claude Code: что делает и как установить
Скилл observe для Claude Code проверяет по локальным хукам, соблюдал ли агент правила UX/UI-набора в недавних сессиях. Запускается вручную пользователем для аудита правок интерфейса.
MIT ★ 3 216 обновлён 2026-11-10
/plugin marketplace add plugin87/ux-ui-agent-skills
/plugin install ux-ui-agent-skills@ux-ui-agent-skillsЧто делает observe
Скилл анализирует историю сессий и проверяет три правила. Каждая изменённая страница должна пройти гейт до завершения работы, в актуальной версии файла не должно остаться замечаний fast-gate, а агент не должен завершать сессию при открытых страницах в хуке Stop. Качество самого дизайна скрипт не оценивает.
Внутри вызывается скрипт scripts/observe.mjs через Node.js. Скилл не работает отдельно: ему нужен полный набор ux-ui-agent-skills с хуками и библиотеками, развёрнутый через npx [email protected] init или как плагин. Простая установка через npx skills add скопирует только папку скилла, и при запуске появится ошибка KIT_MISSING.
Какие задачи решает
- проверить прохождение гейтов по всем изменённым страницам интерфейса
- найти незакрытые замечания fast-gate в актуальных версиях файлов
- выявить сессии, завершённые вопреки блокировкам хука Stop
- экспортировать сводку аудита сессий в HTML-отчёт
Примеры запросов агенту
- Запусти observe для текущего проекта за последние 3 дня
- Покажи подробности сессии через
observe --session <id> - Сформируй HTML-отчёт аудита через
observe --html report.html
Как установить observe
1Через маркетплейс плагинов
/plugin marketplace add plugin87/ux-ui-agent-skills/plugin install ux-ui-agent-skills@ux-ui-agent-skillsКоманда ставит плагин ux-ui-agent-skills целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add plugin87/ux-ui-agent-skills --skill observe -a claude-code3Вручную: положить файлы
~/.claude/skills/observe/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/observe/
1Через Skills CLI (Vercel)
npx skills add plugin87/ux-ui-agent-skills --skill observe -a codex2Вручную: положить файлы
.agents/skills/observe/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add plugin87/ux-ui-agent-skills --skill observe -a cursor2Вручную: положить файлы
.cursor/skills/observe/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install plugin87/ux-ui-agent-skills .claude/skills/observe2Вручную: положить файлы
.github/skills/observe/SKILL.md1Через Skills CLI (Vercel)
npx skills add plugin87/ux-ui-agent-skills --skill observe -a gemini-cli2Командой платформы
gemini skills install https://github.com/plugin87/ux-ui-agent-skills --path .claude/skills/observeВручную: положить файлы
.devin/skills/observe/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об observe
Как установить observe в Claude Code?
В Claude Code выполните по очереди команды /plugin marketplace add plugin87/ux-ui-agent-skills и /plugin install ux-ui-agent-skills@ux-ui-agent-skills. Для работы скрипта также потребуется инициализировать набор через npx [email protected] init.
Что делает observe?
Скилл считывает события локальных хуков и показывает, выполнил ли агент обязательные требования набора при редактировании UI. Сама модель вызвать команду не может из-за параметра disable-model-invocation.
Что нужно для работы observe?
Требуются среда выполнения Node.js и установленный набор ux-ui-agent-skills. Если файл scripts/observe.mjs отсутствует в проекте, скилл сразу прекращает работу.
Исходный текст
SKILL.md · MIT
--- name: observe description: 'Show whether the agent followed the kit''s rules in recent sessions: pages edited and measured, Stop hook blocks, findings left open. Reads local hook events only.' # A command the user runs, like /gate. The model never starts it. disable-model-invocation: true --- ## Requirements This skill needs the full UX/UI Agent Skills kit: the gates, the references and the design-system library. Install it with `npx [email protected] init` or as the Claude Code plugin. `npx [email protected] add` copies the skill folder and nothing else, and this skill has no guidance-only mode: its whole job is to read what the kit's hooks recorded, so without the kit there is nothing for it to do. > **Step 0: is the kit here?** Check once: > `ls ${CLAUDE_SKILL_DIR}/../../../scripts/observe.mjs >/dev/null 2>&1 && echo KIT_OK || echo KIT_MISSING` > On `KIT_MISSING`, say plainly that only the skill folder was installed, name > the install command above, and stop. Do not guess the contents of a file you > could not open, and do not report a result you did not produce. Report what the hooks recorded - never a reconstruction from memory. 1. Run `node ${CLAUDE_SKILL_DIR}/../../../scripts/observe.mjs --project "$CLAUDE_PROJECT_DIR"` (or without `--project` when the user asks about every project, and with `--days N` when they name a window). 2. Quote the summary lines it prints. If it says no session edited UI, say that and stop: there is nothing to judge. 3. For each session marked `BROKE A RULE`, run it again with `--session <id>` and say which rule failed and the timeline line that shows it. 4. If the user wants the page, run it with `--html <path>` and give the path. What it measures, and what it does not: three counted rules per session - every edited page had a passing gate before the end, no fast-gate finding was left on a file's latest version, and the agent never finished while the Stop hook still had pages open. It says nothing about design quality, and an `unfinished` session is not counted for or against.
© Thientan Soparat · MIT · plugin87/ux-ui-agent-skills
Похожие скиллы
Все скиллы по теме «Настройка агента: память, контекст, субагенты» →Сначала — observe от других авторов.