hygiene

Run VS Code hygiene checks on staged TypeScript and CSS files.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/aadorian/VSCode_Readme --skill hygiene-aadorian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hygiene
Source: https://github.com/aadorian/VSCode_Readme/tree/main/education/engineering-tooling/github/copilot-skills/hygiene
Command: npx skills add https://github.com/aadorian/VSCode_Readme --skill hygiene-aadorian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you catch VS Code hygiene violations before a commit is blocked, so code changes stay compliant with repository rules and can be completed confidently.

Core Features & Use Cases

  • Pre-commit validation: Checks staged files before work is declared complete.
  • Style and formatting enforcement: Verifies indentation, string quoting, Unicode usage, and formatter output.
  • Code quality gates: Runs lint-style checks for TypeScript and CSS files, including ESLint and stylelint coverage.
  • Use Case: Use this Skill when preparing a change that must pass repository hygiene rules before it can be committed.

Quick Start

Run the hygiene check on your staged changes before you declare the task complete.

Frequently Asked Questions about hygiene

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run pre-commit hygiene checks for TypeScript and CSS in VS Code?

Run the repository precommit task or hygiene.ts checker to scan staged TypeScript and CSS files. This validates formatting, ESLint, and stylelint rules before code is marked complete.

What is VS Code hygiene validation for staged source files?

VS Code hygiene validation is a pre-commit check that scans staged changes using ESLint and stylelint. It verifies indentation, string quoting, Unicode usage, and copyright compliance to catch commit-blocking issues early.

Does the VS Code hygiene checker work with both ESLint and stylelint?

Yes, the hygiene checker runs lint-style checks for TypeScript files using ESLint and CSS files using stylelint. It applies formatter-aligned rules to both workflows during pre-commit validation.

Why does my pre-commit task fail with formatting and quoting violations?

Pre-commit tasks fail when staged files violate repository hygiene rules. The checker detects incorrect indentation, string quoting, Unicode usage, and formatting issues that must be fixed before committing.

Do I need a precommit task to check VS Code hygiene issues?

Yes, you need either the repository precommit task or the hygiene.ts checker to scan staged changes. These tools enforce formatting, quoting, indentation, and copyright compliance before code completion.

Can I check copyright compliance and Unicode usage before committing TypeScript code?

Yes, the hygiene checker verifies copyright compliance and Unicode usage alongside indentation and string quoting. It scans staged TypeScript files to ensure repository rules are met before commit.