Prove a change works before calling it done or committing: compile .typ/.qmd/.py/.R, run the project's tests and build, look at rendered pages, click-test frontend changes in Chrome. Use right after you finish editing any compilable or visual file (Typst, Quarto, Python, R, HTML/TSX/CSS, Markdown with images, xlsx), before a commit, and when asked to verify or check work. 中文说法 — "检查一下能不能跑", "验证渲染", "提交前确认", "这个改动真的能跑". Not for quality or style review (/doc-review).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Verify?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/clearsmog-verify)
---
name: verify
description: >-
Prove a change works before calling it done or committing: compile .typ/.qmd/.py/.R, run the project's tests and build, look at rendered pages, click-test frontend changes in Chrome. Use right after you finish editing any compilable or visual file (Typst, Quarto, Python, R, HTML/TSX/CSS, Markdown with images, xlsx), before a commit, and when asked to verify or check work. 中文说法 — "检查一下能不能跑", "验证渲染", "提交前确认", "这个改动真的能跑". Not for quality or style review (/doc-review).
allowed-tools: ["Read", "Bash", "Glob", "Grep", "Skill"]
---
# Verify
Prove the change works. A passing type-check is not proof.
## 1. Find what changed
In a git repo: `git diff --name-only HEAD` plus `git diff --name-only --cached`, plus untracked files from `git status --porcelain`. Outside git, verify the files touched in this session.
**Done when:** you have the list of changed files.
## 2. Check each file type
| Changed | Check |
|---|---|
| `.typ` | `typst compile` the entry file with the project's flags (`--root`, `--font-path`); any warning counts. Then render to PNG in a temp directory, `typst compile --format png --ppi 110 <file> "$(mktemp -d)/p-{0p}.png"`, and Read the pages touched (slides: every slide; long documents: also the first and last page) for overflow, blank pages and missing figures. Full checklist: the `typst` skill's `references/visual-verification.md` |
| `.qmd` | `quarto render` the file; if `quarto` is not installed, skip and report it as unverified |
| `.py` | `uv run python -I -m py_compile <file>`; when the script writes output files, confirm they exist and are not empty; run `uv run pytest` if the project has tests; run the script itself if it is an entry point and safe to run |
| `.R` | `Rscript <file>` when it is a standalone script; if `Rscript` is not installed, skip and report it as unverified |
| `.html`, `.tsx`, `.jsx`, `.css`, `.vue` | `bun run build` and `bun run test` if defined (`biome check` when `biome.json` exists); then open the page with Claude in Chrome (load the `claude-in-chrome` skill) and click through the changed flow, checking the console for errors |
| `.md` with images or diagrams | render it in the target viewer and confirm the images load |
| `.xlsx` | recalculate and scan for `#REF!`, `#DIV/0!`, `#VALUE!` |
Use the project's own commands when it defines them (`package.json` scripts, `Makefile`, `justfile`, `pyproject.toml`), in preference to the defaults above.
**Done when:** every changed file has had its check run, or is marked skipped with the reason.
## 3. Report
One line per check: what ran and whether it passed. On a failure, show the relevant output and do not commit. Fix it, or stop and say what is broken. Never report a check as passed when it was skipped; say it was skipped and why.
**Done when:** every check has one line (passed, failed with its output, or skipped with
the reason), and nothing failing was committed.