Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

verify-pr

БесплатноБез исполняемых скриптовНе проверен

Verifies an autoconsent pull request by running local CI checks, reviewing rule quality, and inspecting Jenkins E2E results. Use when reviewing, verifying, or…

duckduckgoот duckduckgo★ 139 звёзд на GitHub

Об этом скилле

Verify PR

Copy this checklist and track progress:

PR Verification:
- [ ] Step 1: Local checks pass
- [ ] Step 2: Rule review complete
- [ ] Step 3: CI results checked
- [ ] Step 4: Browser verification done

Step 1: Local Checks

npm run lint
npm run rule-syntax-check
npm run test:lib
npm run rule-sites-check
SPECS=<name> npx playwright test tests/rule-sites.spec.ts --project webkit

If any check fails, fix the issue and re-run before proceeding.

Step 2: Rule Review

JSON rule PRs

  • Test file exists in tests/sites/ (tests/sites/generated/ for generated rules) with reachable URLs, and its notes explain non-obvious groups and options
  • Selectors are stable (no CSS module hashes, dynamic IDs, or framework-generated IDs)
  • optOut targets a reject/decline button, not a privacy policy link or close button
  • prehideSelectors are narrow (no body or full-page selectors)
  • minimumRuleStepVersion: 2 if rule uses removeClass, setStyle, or addStyle
  • Generated rule fixes (rules/generated/) are consistent across all region variants

Code-based rule PRs

  • No hardcoded site-specific values
  • Fallback paths for regional variants
  • Uses existing DOM helpers (this.click(), this.waitForElement(), etc.)

Step 3: CI Results

GitHub Actions (.github/workflows/checks.yml): Runs lint and test:lib. Must pass.

Jenkins: Runs Playwright E2E in 9 regions (US, GB, AU, CA, DE, FR, NL, CH, NO) for modified rules only. On Chrome, tests that fail on a bot wall (navigation error, or no CMP on an error or challenge page) are rerun in an Oxylabs browser in the same region, which solves captchas, with one retry (results-<REGION>-oxylabs.xml, screenshots under screenshots/oxylabs/); a pass there counts as a pass. Posts a PR comment with artifact ZIP and review tool link for inspecting screenshots.

Flaky E2E failures

Before concluding a test is broken:

  1. Check Jenkins screenshots in the review tool
  2. Verify the site still shows the same popup
  3. Region-only failures → consider adding skipRegions
  4. CI retries twice — intermittent failures often self-resolve

Step 4: Browser Verification

Build and load extension: npm run prepublish → load dist/addon-mv3/ in Chrome.

Confirm on target site(s):

  • Popup is detected and handled
  • Page scrolls normally after opt-out
  • Interactive elements remain clickable

For CMP rules: test on multiple sites using the same CMP (find sites in data/coverage.json).

Полный SKILL.md на GitHub

Установить verify-pr в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл verify-pr?

Verifies an autoconsent pull request by running local CI checks, reviewing rule quality, and inspecting Jenkins E2E results. Use when reviewing, verifying, or approving a PR, when checking if a PR is ready to merge, or when the user asks to validate PR changes.

Как установить скилл verify-pr?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл verify-pr запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить verify-pr с