Skip to content
Back to skills

Quality Checks

ASecurity

Quality checks: finding and running the lint, format, type check, test and build commands, never silencing errors, lefthook for Git hooks, wiring the checks to the pre-commit and pre-push hooks and CI, and lint rules against the patterns agents tend to write. Load when running checks after a change and before a PR.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsgit

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add the-up/ai --skill quality-checks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quality Checks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quality Checks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/the-up-quality-checks/badge)](https://www.skillsdirectory.com/skills/the-up-quality-checks)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: quality-checks
description: "Quality checks: finding and running the lint, format, type check, test and build commands, never silencing errors, lefthook for Git hooks, wiring the checks to the pre-commit and pre-push hooks and CI, and lint rules against the patterns agents tend to write. Load when running checks after a change and before a PR."
---

# Quality Checks

- Use the existing lint, format, and static analysis tools if they're suitable and maintained; if they're missing or inadequate, set them up.
- Determine the quality commands from the repository scripts and CI: lint, format, type check, test, build.
- Run the relevant checks after each step and all required checks before the PR.
- Fix the errors your change causes; report pre-existing and environment-related problems separately.
- Don't get around errors by silencing them, removing checks, or adding unnecessary exceptions; if a rule needs to change, say so explicitly.
- Use lefthook for Git hooks; don't install husky. If the repository uses another hook manager, follow it and propose moving to lefthook.
- Before each commit, run the lint, the type check, and the tests that the change affects.
- Wire the fast checks (format, lint, and the type check when it's fast enough) to the pre-commit hook, the lint of the packages that depend on the change to the pre-push hook, and all checks to CI.
- Add lint rules against the patterns that AI agents tend to write, such as chained type assertions, parameters typed as `unknown` that are never narrowed, and conditional spreads of empty objects.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.