Translation Diff Export
Devolutions/UniGetUI
Compares UniGetUI JSON locale files against English, identifies untranslated or source-changed keys, and generates patch, reference, and handoff files for a target language.
Guide for integrating DirectX Tool Kit for DirectX 12 into new projects and understanding the library's API surface.
$ npx skills add microsoft/DirectXTK12 --skill directxtk12-usage -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/DirectXTK12 directxtk12-usage --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/microsoft/DirectXTK12.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/directxtk12-usage .claude/skills/directxtk12-usage && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "directxtk12-usage" agent skill from https://github.com/microsoft/DirectXTK12/tree/main/skills/directxtk12-usage into .claude/skills/directxtk12-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "directxtk12-usage", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microsoft/DirectXTK12/tree/main/skills/directxtk12-usageType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microsoft/DirectXTK12 --skill directxtk12-usage -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/DirectXTK12 directxtk12-usage --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/DirectXTK12.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/directxtk12-usage .agents/skills/directxtk12-usage && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "directxtk12-usage" agent skill from https://github.com/microsoft/DirectXTK12/tree/main/skills/directxtk12-usage into .agents/skills/directxtk12-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "directxtk12-usage", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/DirectXTK12 --skill directxtk12-usage -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/DirectXTK12 directxtk12-usage --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/DirectXTK12.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/directxtk12-usage .cursor/skills/directxtk12-usage && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "directxtk12-usage" agent skill from https://github.com/microsoft/DirectXTK12/tree/main/skills/directxtk12-usage into .cursor/skills/directxtk12-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "directxtk12-usage", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microsoft/DirectXTK12.git --path skills/directxtk12-usage--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microsoft/DirectXTK12 --skill directxtk12-usage -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/DirectXTK12 directxtk12-usage --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/DirectXTK12.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/directxtk12-usage .gemini/skills/directxtk12-usage && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "directxtk12-usage" agent skill from https://github.com/microsoft/DirectXTK12/tree/main/skills/directxtk12-usage into .gemini/skills/directxtk12-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "directxtk12-usage", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microsoft/DirectXTK12 directxtk12-usageInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microsoft/DirectXTK12 --skill directxtk12-usage -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/DirectXTK12.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/directxtk12-usage .github/skills/directxtk12-usage && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "directxtk12-usage" agent skill from https://github.com/microsoft/DirectXTK12/tree/main/skills/directxtk12-usage into .github/skills/directxtk12-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "directxtk12-usage", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/DirectXTK12 --skill directxtk12-usage -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/DirectXTK12 directxtk12-usage --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/DirectXTK12.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/directxtk12-usage .opencode/skills/directxtk12-usage && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "directxtk12-usage" agent skill from https://github.com/microsoft/DirectXTK12/tree/main/skills/directxtk12-usage into .opencode/skills/directxtk12-usage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "directxtk12-usage", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
directxtk12-usageGuide for integrating DirectX Tool Kit for DirectX 12 into new projects and understanding the library's API surface.
Directxtk12 Usage is an agent skill from microsoft/DirectXTK12, published by the product's own GitHub organization. Guide for integrating DirectX Tool Kit for DirectX 12 into new projects and understanding the library's API surface. Use this skill when asked about how to use DirectXTK12, set up a new project, or get an overview of available classes and functionality.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `reference/overview.md`).
It works with Windows. The repository describes itself as: The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2f7b07a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are cpp, json, bash and cmake).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
raw.githubusercontent.comAlso links to:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Directxtk12 Usage loads about 2.2k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 608 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from microsoft/DirectXTK12 at commit 2f7b07a, republished under its MIT licence (© microsoft). 608 words, ~2,172 tokens.
.claude/skills/directxtk12-usage/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.The DirectX Tool Kit for DirectX 12 (DirectXTK12) is a collection of helper classes for writing Direct3D 12 C++ code for Win32 desktop applications (Windows 10+), Xbox Series X|S, Xbox One, and Universal Windows Platform (UWP) apps.
directxtk12_desktop_win10, directxtk12_uwpdirectxtk12In your vcpkg.json file, add the following:
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"directx-headers",
"directxmath",
"directxtk12"
]
}If using GameInput for the game input functionality, add the following:
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"directx-headers",
"directxmath",
{
"name": "directxtk12",
"default-features": false,
"features": [
"gameinput"
]
}
]
}If using DirectX Tool Kit for Audio and GameInput, add the following:
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"directx-headers",
"directxmath",
{
"name": "directxtk12",
"default-features": false,
"features": [
"gameinput",
"xaudio2-9"
]
}
]
}vcpkg install directxtk12Features: xaudio2-9 (DirectX Tool Kit for Audio using XAudio 2.9), gameinput (Using GameInput for gamepad, keyboard, and mouse), tools (command-line tools). Triplets: x64-windows, arm64-windows, etc.
For DLL usage (x64-windows default triplet), define DIRECTX_TOOLKIT_IMPORT in your consuming project. For static library usage, use -static-md triplet variants.
CMakeLists.txt:
find_package(directxtk12 CONFIG REQUIRED)
target_link_libraries(your_target PRIVATE Microsoft::DirectXTK12)Use the d3d12game_vcpkg template as a starting point.
Use directxtk12_desktop_win10 for Win32 desktop applications or directxtk12_uwp for UWP apps.
Add the appropriate .vcxproj from the DirectXTK12/ folder to your solution and add a project reference. Add the DirectXTK12\Inc directory to your Additional Include Directories.
For a full step-by-step walkthrough, see the Getting Started tutorial on the wiki.
A minimal initialization sequence:
ID3D12Device.GraphicsMemory instance (one per device).DescriptorHeap for SRV/CBV/UAV descriptors.ResourceUploadBatch to upload textures and static buffers to the GPU.SpriteBatch, Effects, Model) with the appropriate pipeline state.GraphicsMemory::Commit after executing command lists.The public API is defined in the header files in the Inc/ directory. See the reference overview for a categorized summary of all classes and helpers.
Full documentation for each class is available on the GitHub wiki.
API signatures are defined in the public headers under the Inc/ directory. Always consult those headers for the authoritative function signatures, parameters, and SAL annotations.
DirectXTK12 classes follow RAII principles. Most objects are created with std::make_unique and destroyed automatically. COM resources are managed with Microsoft::WRL::ComPtr.
Most DirectXTK12 objects are device-dependent — they are created with a ID3D12Device* and must be recreated if the device is lost. Plan your resource management accordingly.
DirectXTK12 rendering classes (SpriteBatch, Effects, PrimitiveBatch, etc.) are not thread-safe. Use one instance per thread, or synchronize access externally. Resource creation (texture loading, model loading) can be done from any thread.
EffectPipelineStateDescription and RenderTargetState to configure PSOs for effects and rendering helpers.DescriptorHeap to manage shader-visible descriptor heaps. Most rendering classes require descriptor heap indices at draw time.ResourceUploadBatch batches uploads into a single command list for efficiency.GraphicsMemory manages per-frame dynamic allocations (constant buffers, dynamic vertex/index buffers). Call Commit once per frame.All classes and functions reside in the DirectX namespace. Headers that contain Direct3D 12-specific types use inline namespace DX12 to avoid conflicts when both DX11 and DX12 toolkits are linked together.
#include "SpriteBatch.h"
// Usage:
auto spriteBatch = std::make_unique<DirectX::SpriteBatch>(device, ...);#include "Effects.h"
#include "EffectPipelineStateDescription.h"
#include "RenderTargetState.h"
RenderTargetState rtState(DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_FORMAT_D32_FLOAT);
EffectPipelineStateDescription pd(
&VertexPositionNormalTexture::InputLayout,
CommonStates::Opaque,
CommonStates::DepthDefault,
CommonStates::CullCounterClockwise,
rtState);
auto effect = std::make_unique<BasicEffect>(device, EffectFlags::Lighting | EffectFlags::Texture, pd);#include "Model.h"
auto model = Model::CreateFromSDKMESH(device, L"mymodel.sdkmesh");
// Upload resources
ResourceUploadBatch upload(device);
upload.Begin();
model->LoadStaticBuffers(device, upload);
upload.End(commandQueue).wait();
// Draw (simplified — see wiki for full parameter details)
model->Draw(commandList, ...);#include "DDSTextureLoader.h"
#include "ResourceUploadBatch.h"
#include "DescriptorHeap.h"
ResourceUploadBatch upload(device);
upload.Begin();
Microsoft::WRL::ComPtr<ID3D12Resource> texture;
CreateDDSTextureFromFile(device, upload, L"texture.dds", texture.ReleaseAndGetAddressOf());
upload.End(commandQueue).wait();#include "Keyboard.h"
#include "Mouse.h"
#include "GamePad.h"
auto keyboard = std::make_unique<DirectX::Keyboard>();
auto mouse = std::make_unique<DirectX::Mouse>();
auto gamePad = std::make_unique<DirectX::GamePad>();
// In update loop
auto kb = keyboard->GetState();
if (kb.Escape)
PostQuitMessage(0);
auto pad = gamePad->GetState(0);
if (pad.IsConnected())
{
if (pad.IsAPressed())
/* jump */;
}#include "Audio.h"
// Create audio engine
auto audioEngine = std::make_unique<DirectX::AudioEngine>();
// Load and play a sound
auto soundEffect = std::make_unique<DirectX::SoundEffect>(audioEngine.get(), L"explosion.wav");
soundEffect->Play();
// Per-frame update
audioEngine->Update();Note: Code examples above are simplified for clarity. Consult the wiki tutorials and public headers in
Inc/for complete working code with all required parameters.
© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/directxtk12-usage of microsoft/DirectXTK12.
Open the folder on GitHubat commit 2f7b07a
Directxtk12 Usage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Directxtk12 Usage this skillmicrosoft/DirectXTK12 | 1.8k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Translation Diff ExportDevolutions/UniGetUI | 26k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Translation Diff ImportDevolutions/UniGetUI | 26k | — | ~750 | Automated safety check: Pass | MIT | |
| Translation Diff TranslateDevolutions/UniGetUI | 26k | — | ~934 | Automated safety check: Pass | MIT | |
| Translation ReviewDevolutions/UniGetUI | 26k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Translation Source SyncDevolutions/UniGetUI | 26k | — | ~1.2k | Automated safety check: Pass | MIT |
Devolutions/UniGetUI
Compares UniGetUI JSON locale files against English, identifies untranslated or source-changed keys, and generates patch, reference, and handoff files for a target language.
Devolutions/UniGetUI
Merges translated key-value pairs from a UniGetUI JSON localization patch back into the full language file and validates the merged result.
Devolutions/UniGetUI
Translates a sparse UniGetUI JSON language patch, writes completed entries into the working copy, preserves placeholders and terminology, and prepares the patch for merge-back.
Devolutions/UniGetUI
Reviews UniGetUI .json language files for localization quality, detects parity issues, English-equal entries, wrong-script content, and cross-language outliers, then generates a dataset for…
Devolutions/UniGetUI
Synchronizes the UniGetUI English language file with source-code usage, identifies missing translation keys, removes unused entries, reports localization drift, and can reorder locale files to match…
LanceMcCarthy/DevOpsExamples
Bootstrap, develop, and design modern WinUI 3 desktop applications with C and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and…
microsoft/DirectXTK12
Walk through the DirectX Tool Kit for DirectX 12 Getting Started tutorial step by step.
microsoft/DirectXTK12
Guide for performing the DirectX Tool Kit for DirectX 12 release process.
Works with
Guide for integrating DirectX Tool Kit for DirectX 12 into new projects and understanding the library's API surface. Directxtk12 Usage is an agent skill from microsoft/DirectXTK12, published by the product's own GitHub organization. Guide for integrating DirectX Tool Kit for DirectX 12 into new projects and understanding the library's API surface.
Directxtk12 Usage fits situations like: asked about how to use DirectXTK12; set up a new project; get an overview of available classes and functionality.
Run `npx skills add microsoft/DirectXTK12 --skill directxtk12-usage -a claude-code`. Or copy the skill folder (skills/directxtk12-usage in microsoft/DirectXTK12) into .claude/skills/directxtk12-usage in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microsoft/DirectXTK12 --skill directxtk12-usage -a codex`. Or copy the skill folder (skills/directxtk12-usage in microsoft/DirectXTK12) into .agents/skills/directxtk12-usage in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/DirectXTK12 --skill directxtk12-usage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/directxtk12-usage, .gemini/skills/directxtk12-usage, .github/skills/directxtk12-usage and .opencode/skills/directxtk12-usage in your project.
SKILL.md names no scripts, command-line tools or credentials: Directxtk12 Usage is instructions for the agent only.
SKILL.md names 2 domains. In commands or code: raw.githubusercontent.com; the agent is likely to contact it when it follows the instructions. As links in the text: github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Directxtk12 Usage is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Directxtk12 Usage: Translation Diff Export (Devolutions/UniGetUI, 26k stars), Translation Diff Import (Devolutions/UniGetUI, 26k stars), Translation Diff Translate (Devolutions/UniGetUI, 26k stars) and Translation Review (Devolutions/UniGetUI, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microsoft (a GitHub organization, an official publisher) maintains it in microsoft/DirectXTK12, which has 1,757 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.
Source: microsoft/DirectXTK12 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.