assay — плагин для Claude Code: проверка веб-страниц
Плагин assay проверяет изменённые веб-страницы: проходит по элементам управления и сообщает, что сработало или вызвало ошибку. Результат появляется в конце хода агента.
MIT ★ 1 596 обновлён 2026-10-29
/plugin marketplace add hashgraph-online/awesome-codex-plugins
/plugin install assay@awesome-codex-pluginsЧто делает assay
После изменений плагин запускает проверку страницы и выводит результат в одну строку для чистого прохода или с перечнем замечаний. Он проверяет элементы управления, а повторяющиеся ошибки связывает с первым найденным случаем. Код плагин сам не исправляет: попросите агента внести правки отдельно.
Хук Stop запускает проверку после хода, в котором менялась веб-страница. Изменение файла в папке отмечает для проверки самую недавно изменённую HTML-страницу; при равенстве выбирается index.html. Поиск охватывает до четырёх уровней папок, пропускает node_modules и .git и проверяет не более трёх страниц за ход. Каждой странице отводится до четырёх минут, всем проверкам вместе — до девяти.
Плагин устанавливает скилл и хук в Claude Code. Если страницу проверяют, результат показывается даже при отсутствии замечаний; ход без изменений страниц ничего не выводит. Плагин сообщает о найденном, но не знает, какое поведение задумано: нажатие кнопки без видимого эффекта не обязательно означает ошибку.
Какие задачи решает
- проверить интерактивные элементы изменённой страницы
- найти ошибки, возникающие при нажатии кнопок
- выявить повторяющиеся сбои без дублирования описаний
- узнать, какие страницы агент проверил после правок
Примеры запросов агенту
- Измени
app.jsи проверь страницу в этой папке. - Проверь все изменённые веб-страницы и покажи результат.
- После правок проверь, что происходит при нажатии каждой кнопки.
Как установить assay
Через маркетплейс плагинов
/plugin marketplace add hashgraph-online/awesome-codex-plugins/plugin install assay@awesome-codex-pluginsПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы об assay
Как установить assay в Claude Code?
Выполните команды по порядку: /plugin marketplace add hashgraph-online/awesome-codex-plugins, затем /plugin install assay@awesome-codex-plugins.
Что делает assay?
После изменений веб-страницы плагин запускает её проверку, нажимает элементы управления и сообщает результат. Он не меняет код без отдельной просьбы.
Какие страницы assay проверяет?
Изменение веб-файла отмечает HTML-страницу в той же папке. Плагин ищет до четырёх уровней папок, исключает node_modules и .git и проверяет максимум три страницы за ход.
Исходный текст
assay · MIT
<h1 align="center">The Skill and the Plugin</h1> <p align="center"><b>English</b> · <a href="README.zh-CN.md">简体中文</a> · <a href="README.ja.md">日本語</a> · <a href="README.ko.md">한국어</a> · <a href="README.ru.md">Русский</a></p> --- <p align="center">Two ways to have your agent check a page it just wrote. <strong><a href="../../docs/harnesses.md">Install steps for fifteen harnesses →</a></strong></p> --- ## Contents - [The Skill](#the-skill) - [The Plugin](#the-plugin) - [Reporting, Not Fixing](#reporting-not-fixing) --- ## The Skill The skill works in all fifteen supported harnesses. [`skills/checking-a-page/SKILL.md`](skills/checking-a-page/SKILL.md) tells the agent to run this after finishing a page: ```bash assay <the page> --one-line ``` and to end its reply with the output, word for word: ``` assay: checked todo/todo.html, 8 checks, nothing flagged. ``` or, when something is wrong: ``` assay: checked notes/index.html, 12 checks, 4 flagged: - press Clear all: the page threw an error and stopped running, Cannot set properties of null (setting 'innerHTML') - press Clear all twice (same finding as press Clear all) - press Add, then Clear all (same finding as press Clear all) - press Clear all, then Add (same finding as press Clear all) ``` Those four lines are one bug. The repeats name the first finding instead of repeating its message. The agent copies assay's output rather than summarising it, so the numbers and wording stay exact. With the skill alone, the agent decides when to run the check. --- ## The Plugin The plugin adds a `Stop` hook, which runs the check at the end of every turn that changed a page. In Claude Code, Codex, Grok Build CLI, Devin CLI, Factory Droid and GitHub Copilot CLI it installs the skill and the hook together. In Cursor it installs the skill alone. The DeepSeek Harness runs the hook through its Claude Code bridge. - **Which pages it checks.** A change to any web file marks the page in the same folder, so editing `app.js` counts. In each folder it checks the most recently changed `.html` file, preferring `index.html` on a tie. - **How far it looks.** It searches at most four folders deep, skips `node_modules` and `.git`, only considers files changed since its last run, and checks at most three pages per turn. - **It always reports** when it checks a page, so a clean result can't be mistaken for assay not running. A turn that changed no page reports nothing. - **It keeps the turn open** so you see the result, and never does this twice in a row. It checks the harness's `stop_hook_active` flag and writes a timestamp (in the harness's scratch folder, else the repository's `.git` folder, else a `.assay-last-run` file). If it can't write the timestamp, it reports without keeping the turn open. - **It finishes in time.** It gives each page up to four minutes and all the pages together up to nine, so it ends before the harness cancels it at the ten-minute limit set in `hooks.json`. A page left without time is reported as not checked. --- ## Reporting, Not Fixing The agent shows you what assay found and doesn't change code because of it unless you ask. assay doesn't know what the page is for, so a finding is a place to look, not a confirmed bug. A control can correctly do nothing in the state it was pressed in, and a value can be limited on purpose. Ask the agent to fix something and it will.
© awss1i · MIT · hashgraph-online/awesome-codex-plugins