Favicon of run-pre-commit-checks

run-pre-commit-checks Skill

AI Agent SkillTypeScriptOpen source

Run the mandatory pre-commit checks before committing code. Includes lint, type checking, and unit tests. MUST be run before every commit. Published by microsoft in vscode-python-environments.

What is run-pre-commit-checks Skill?

Run the mandatory pre-commit checks before committing code. Includes lint, type checking, and unit tests. MUST be run before every commit. Published by microsoft in vscode-python-environments. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
53/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Testing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use run-pre-commit-checks Skill

  • Use it for testing.

Built with

TypeScriptCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/vscode-python-environments
  • Skill file: .github/skills/run-pre-commit-checks/SKILL.md

What it does

Run the mandatory pre-commit checks before committing code. Includes lint, type checking, and unit tests. MUST be run before every commit.

Skill instructions

Run Pre-Commit Checks This skill defines the mandatory checks that must pass before any commit. When to Use - ALWAYS before committing code changes - After fixing reviewer or Copilot review comments - Before pushing changes - When the maintainer agent requests pre-commit validation Required Checks All three checks must pass before committing: 1. Lint Check (Required) powershell npm run lint What it checks: - ESLint rules defined in eslint.config.mjs - TypeScript-specific linting rules - Import ordering and unused imports - Code style consistency To auto-fix issues: powershell npm run lint -- --fix 2. Type Check (Required) powershell npm run compile-tests What it checks: - TypeScript type errors - Missing imports - Type mismatches - Strict null checks Output location: out/ directory (not used for production) 3. Unit Tests (Required) powershell npm run unittest What it checks: - All unit tests in src/test/ pass - Tests run with Mocha framework - Uses configuration from build/.mocha.unitt

Explore related resources

Frequently asked questions

What is run-pre-commit-checks?

run-pre-commit-checks is a open-source AI agent skill with Copy skill directory. Run the mandatory pre-commit checks before committing code. Includes lint, type checking, and unit tests. MUST be run before every commit.

Who is run-pre-commit-checks best for?

run-pre-commit-checks is best for reusing agent instructions, scripts, and references, testing workflows.

How do I install run-pre-commit-checks?

Install or run run-pre-commit-checks using Copy skill directory. Check run-pre-commit-checks for the latest setup command.

Is run-pre-commit-checks actively maintained?

run-pre-commit-checks may need a closer maintenance check before production use.

Share:

Stars
132
Forks
51
Last commit
17 days ago
Repository age
2 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to run-pre-commit-checks