Skip to content
H

hygiene

Making code changes to ensure they pass VS Code's hygiene checks

by microsoftFree

Launch
#468in AI Skills
0In stores

Description

hygiene is an agent skill from the Microsoft VS Code repository, listed on skills.sh. It helps contributors make code changes that pass VS C…

Highlights

  • Runs VS Code's pre-commit hygiene checks
  • Unicode and string quoting rules
  • Copyright header checks
  • Checks staged or specific files

Ratings & Reviews

No ratings yet

Be the first to rate hygiene.

People also visit

S

sessions

Core principles and workflow router for changes

AI Skills
Launch
C

code-tour

Create CodeTour `.tour` files

AI Skills
Launch
E

extract-errors

Adding new error messages to React, or seeing "unknown error code" warnings

AI Skills
Launch
F

feature-flags

Feature flag tests fail, flags need updating, understanding @gate pragmas

AI Skills
Launch
T

test

Run tests for React core

AI Skills
Launch
A

accessibility

Primary accessibility skill for VS Code

AI Skills
Launch

hygiene FAQ

What does the hygiene skill do?

It helps you make changes that pass VS Code's pre-commit hygiene checks, so the commit is not rejected.

What do the checks cover?

The pre-commit hook, unicode restrictions, string quoting rules and copyright headers.

Can I check files before staging them?

Yes. The skill explains how to check specific files directly.

How do I install it?

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

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best hygiene alternatives?

Popular alternatives to hygiene include sessions, code-tour and extract-errors. See all hygiene alternatives

Developer Stuff

Badges