·hygiene
</>

hygiene

Use when making code changes to ensure they pass VS Code's hygiene checks. Covers the pre-commit hook, unicode restrictions, string quoting rules, copyright headers, indentation, formatting, ESLint, and stylelint. Run the hygiene check before declaring work complete.

76Installs·1Trend·@microsoft

Installation

$npx skills add https://github.com/microsoft/vscode --skill hygiene

How to Install hygiene

Quickly install hygiene AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/microsoft/vscode --skill hygiene
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: microsoft/vscode.

SKILL.md

View raw

VS Code runs a hygiene check as a git pre-commit hook. Commits will be rejected if hygiene fails.

Always run the pre-commit hygiene check before declaring work complete. This catches issues that would block a commit.

This executes node --experimental-strip-types build/hygiene.ts, which scans only staged files (from git diff --cached).

Use when making code changes to ensure they pass VS Code's hygiene checks. Covers the pre-commit hook, unicode restrictions, string quoting rules, copyright headers, indentation, formatting, ESLint, and stylelint. Run the hygiene check before declaring work complete. Source: microsoft/vscode.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/microsoft/vscode --skill hygiene
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from microsoft/vscode

Quick answers

What is hygiene?

Use when making code changes to ensure they pass VS Code's hygiene checks. Covers the pre-commit hook, unicode restrictions, string quoting rules, copyright headers, indentation, formatting, ESLint, and stylelint. Run the hygiene check before declaring work complete. Source: microsoft/vscode.

How do I install hygiene?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/microsoft/vscode --skill hygiene Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/microsoft/vscode