Favicon of presets-vs-kits

presets-vs-kits Skill

AI Agent SkillTypeScriptOpen source

Use when writing or reviewing code that must work in both CMake Presets and Kits/Variants modes. Covers configure, build, test, environment, and generator paths. Triggers: "presets vs kits", "useCMakePresets", "works in both modes". Published by microsoft in vscode-cmake-tools.

What is presets-vs-kits Skill?

Use when writing or reviewing code that must work in both CMake Presets and Kits/Variants modes. Covers configure, build, test, environment, and generator paths. Triggers: "presets vs kits", "useCMakePresets", "works in both modes". Published by microsoft in vscode-cmake-tools. 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
80/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
  • Writing
  • Testing use cases
  • Writing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use presets-vs-kits Skill

  • Use it for testing.
  • Use it for writing.

Built with

TypeScriptCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/vscode-cmake-tools
  • Skill file: .github/skills/presets-vs-kits/SKILL.md

What it does

Use when writing or reviewing code that must work in both CMake Presets and Kits/Variants modes. Covers configure, build, test, environment, and generator paths. Triggers: "presets vs kits", "useCMakePresets", "works in both modes".

Skill instructions

Presets Mode vs Kits/Variants Mode Guide for writing code that works correctly in both operating modes of CMake Tools. Any shared code path (configure, build, test, environment, targets) must handle both modes. --- The two modes CMake Tools operates in one of two mutually exclusive modes per project folder: | | Presets mode | Kits/variants mode | |---|---|---| | Source of truth | CMakePresets.json / CMakeUserPresets.json | Kit selection + variant settings | | When active | cmake.useCMakePresets is 'always', or 'auto' and preset files exist | cmake.useCMakePresets is 'never', or 'auto' and no preset files exist | | Runtime check | CMakeProject.useCMakePresets === true | CMakeProject.useCMakePresets === false | How the mode is determined typescript // src/config.ts export type UseCMakePresets = 'always' | 'never' | 'auto'; // src/cmakeProject.ts — doUseCMakePresetsChange() const usingCMakePresets = useCMakePresets === 'always' ? true : useCMakePresets === 'never' ? false : await this.has

Explore related resources

Frequently asked questions

What is presets-vs-kits?

presets-vs-kits is a open-source AI agent skill with Copy skill directory. Use when writing or reviewing code that must work in both CMake Presets and Kits/Variants modes. Covers configure, build, test, environment, and generator paths.

Who is presets-vs-kits best for?

presets-vs-kits is best for reusing agent instructions, scripts, and references, testing workflows, writing workflows.

How do I install presets-vs-kits?

Install or run presets-vs-kits using Copy skill directory. Check presets-vs-kits for the latest setup command.

Is presets-vs-kits actively maintained?

presets-vs-kits may need a closer maintenance check before production use.

Share:

Stars
1,679
Forks
530
Last commit
9 days ago
Repository age
10 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to presets-vs-kits

presets-vs-kits: Install, Config & GitHub Signals – SkillIndex