Claude Code Lint and Validate Skill for TypeScript Checks
Run the repository's lint and type checks separately, locate the real failure and repeat the checks after repair.
中文Install in Claude Code
Use an existing TypeScript project with lint scripts and `tsconfig.json`. Create any deliberately invalid example in a scratch branch.
- Get the complete `cli-tool/components/skills/development/lint-and-validate` directory from the pinned GitHub checkout.
- Copy it under the target project's `.claude/skills/`. Confirm `.claude/skills/lint-and-validate/SKILL.md`, open Claude Code at the project root, and call `/lint-and-validate`.
Example task
Assign a string to a number variable while keeping the format consistent. Run lint and type checks and report which step identifies the problem.What to check
The type checker reports the mismatched assignment. The lint outcome is reported separately and both are rerun after repair.
Original SKILL.md on GitHub · Updated
Frequently asked question
Why keep two statuses?
Lint rules and compiler type rules check different properties. Separate statuses make each result observable.