Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

upgrade-validator

Skill by express-validator

Upgrades the npm validator dependency in express-validator and syncs chain types, implementations, options and declarations with validator.js releases. Built for express-validator maintainers who keep validator pinned to patch-only semver.

  • Score 86
  • 6.2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install upgrade-validator

Built from the published package, never by AI.

git clone --depth 1 https://github.com/express-validator/express-validator /tmp/express-validator && mkdir -p ~/.claude/skills && cp -r /tmp/express-validator/.agents/skills/upgrade-validator ~/.claude/skills/upgrade-validator

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install upgrade-validator in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The upgrade-validator skill guides an AI assistant through upgrading the npm validator dependency in the express-validator project. It covers the version bump, then maps new validators, sanitizers and options from validator.js releases to the chain and type files. It also updates declarations/validator.d.ts and runs the test, lint and docs commands.

The skill explains that express-validator pins validator to patch-only semver, as described in PR #1253, so minor upstream releases are not applied by accident. It tells the assistant to compare the old and new validator.js tags before editing. The skill is written for maintainers who bump the validator package or upgrade validatorjs manually.

Written from the project's SKILL.md and checked against it.

What it can do

  • Upgrade validator packageRuns npm install validator@latest and restores patch-only pinning in package.json.
  • Map new validatorsAdds new validator methods to the chain and implementation files in alphabetical order.
  • Map new sanitizersAdds new sanitizer methods to the sanitizer chain and implementation files.
  • Update option typesExtends src/options.ts only for enum-like values or structured option objects.
  • Sync declarationsUpdates declarations/validator.d.ts to match the installed validator call signatures.
  • Verify the upgradeRuns npm test, npm run lint and npm run docs:regenerate-api and fixes failures.

What you need

  • npm
  • express-validator repository checkout

Try asking

  • Upgrade validator to the latest version in this express-validator repo
  • Find validator.js changes between my current version and the latest tag
  • Add new validator methods from the latest validator release to the chain files

Good to know

  • Upgrades are manual by policy and meant for maintainers.
  • The project pins validator to patch-only semver, so the skill keeps that range.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/upgrade-validator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to upgrade-validator

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

upgrade-validator: common questions

Why does express-validator pin validator to patch versions?

The source says the pin, described in PR #1253, stops new minor releases from validatorjs from being pulled in implicitly. This keeps unexpected breaking changes out of the project.

Where is the source of truth for validator changes?

The source names the validatorjs/validator.js repository. It recommends a tag range compare, such as v<old>...v<new>, to see commits and diffs.

Which files does the upgrade update?

It updates src/chain/validators.ts, validators-impl.ts, sanitizers.ts, sanitizers-impl.ts, src/options.ts when needed, and declarations/validator.d.ts.

How do I install upgrade-validator?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is upgrade-validator free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is upgrade-validator safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, 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 upgrade-validator?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

upgrade-validator Install

Add to stack

Loading.