DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to block bad commits with lint and version drift checks with Agentic Playwright

Run the bundled lint, skill drift, and version checks so broken rules or mismatched versions never get committed.

Short answer: Run npm run check:skills-drift to confirm Constitution rules stay anchored in their owning skill; then run npm run check:skills-references to catch broken pointers and anchors across the rule trees; run npm run check:version to confirm VERSION, package.json, and the latest CHANGELOG heading match. All steps.

Who it is forA team lead or maintainer who keeps a shared test scaffold and wants consistent rules across contributors.

The problemRule files, skill references, and version numbers drift apart over time, and contributors may not notice until CI fails.

The outcomeClear pass or fail results from the drift and version checks, run locally before a commit or in CI.

What you need first

  • Node.js v22.x or later
  • npm v10.x or later
  • An empty directory or empty git repo for the test project
  • A web application URL to test, or the --demo option to try the bundled demo app

Steps

  1. Run npm run check:skills-drift to confirm Constitution rules stay anchored in their owning skill.
  2. Run npm run check:skills-references to catch broken pointers and anchors across the rule trees.
  3. Run npm run check:version to confirm VERSION, package.json, and the latest CHANGELOG heading match.
  4. Run npm run skills:verify to re-hash the vendored skills and detect drift from the lock file.

Prompt for your agent

In the agentic-playwright repo, run `npm run check:skills-drift`, `npm run check:skills-references`, `npm run check:version`, and `npm run skills:verify`. Expected output: each command exits with a clear pass or a non-zero drift error. Verify all four exit with status zero before reporting success.

Caveat. The README says these checks run from the Husky pre-commit hook and CI, so they only guard commits in a repo where those hooks are installed.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for idavidov13/agentic-playwright and "Block bad commits with lint and version drift checks"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer