verifying-changes
Skill by PostHog
Picks the cheapest check that is enough to confirm a change works, and says when a slower one is needed. It maps each kind of change to the verification layer it needs, from lint to a Playwright run.
Install verifying-changes
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/.agents/skills/verifying-changes ~/.claude/skills/verifying-changesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/.agents/skills/verifying-changes ~/.gemini/antigravity-cli/skills/verifying-changesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The verifying-changes skill helps an AI assistant decide how much checking a code change needs. It describes six verification layers, from lint, format and typecheck up to Playwright runs against a running stack. Each layer is said to cost roughly ten times the one before it, so the assistant starts at the cheapest layer and moves up only when that layer cannot see what the diff changes.
A decision table maps change types, such as pure logic, DRF serializers, migrations, kea logic, React components, CSS, CI workflows, SQL or HogQL, and Django templates, to the layer that is enough and the layer that is wasted. The skill also covers the command hogli verify --changed, which runs the cheap layers for the current diff and lists the slower checks left to run. It is for anyone, or any AI assistant, deciding how much verification a diff needs.
Written from the project's SKILL.md and checked against it.
What it can do
- Verification layersLists six layers of checks, from lint and typecheck up to Playwright, with the command for each.
- Decision tableMaps change types to the layer that is enough and the layer that is wasted.
- hogli verify --changedRuns the cheap layers for the current diff and names the slower layers left to run.
- Stack guidanceSays when the running stack is required, such as settings, Django templates or Celery wiring.
- Storybook scopingExplains setting STORYBOOK_STORIES to render only the stories a change affects.
- Verification reportAsks the assistant to state which layer it stopped at and why the next one was not needed.
What you need
- hogli command-line tool in the PostHog repository
- pnpm for typecheck and Storybook
- Postgres and ClickHouse services for Django and ClickHouse-backed tests
- Playwright for layer 6 specs
Try asking
- Is a unit test enough for this serializer change?
- Run hogli verify --changed on my diff and tell me what is left.
- Which verification layer does a CSS-only change need?
Good to know
- hogli verify runs mypy only as advice and prints its command instead of running it.
- A diff is not reported as verified when a check was skipped or no test covers the changed files.
- Commands and paths assume the PostHog repository layout.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/verifying-changes/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to verifying-changes
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
verifying-changes: common questions
How much testing does a code change need?
The skill maps each change type to the cheapest layer that is enough. A unit test or Storybook render often covers a change, so the full stack is not needed.
What does hogli verify --changed do?
It classifies the diff against master, runs layers 1 and 2, and lists any higher layer you still have to run yourself.
When is the running stack required?
The skill says to start the stack only when behavior spans more than one process and no layer 2 test runs both sides, such as settings, Django templates or Celery wiring.
How do I install verifying-changes?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is verifying-changes free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is verifying-changes safe to use?
It scores 81 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to verifying-changes?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
