본문으로 건너뛰기
Skillpedia
일반 코딩40k · #7478

winmd-api-search

하는 일

이 도구는 프로그램에 기능을 추가하기 위해 올바른 Windows 함수(API)를 찾는 데 도움을 줍니다. 카메라 사용이나 파일 저장 같은 기능을 위해 함수의 전체 세부 정보를 가져옵니다.

사용하는 경우

  • ✓새 기능을 만들고 싶은데 어떤 함수를 써야 할지 모를 때.
  • ✓'X는 어떻게 하나요?'라고 물었는데 X가 카메라, 파일 등 시스템과 관련될 때.
  • ✓코드를 쓰기 전에 함수의 정확한 세부 정보가 필요할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/winmd-api-search/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/winmd-api-search/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“앱으로 사진을 찍으려면 어떻게 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 Windows 함수에 관한 정보가 담긴 로컬 데이터베이스를 검색합니다. 여러분의 요청을 기술 용어로 바꾸고, 가장 적합한 함수를 찾아 그 세부 내용을 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

WinMD API Search

This skill helps you find the right Windows API for any capability and get its full details. It searches a local cache of all WinMD metadata from:

  • Windows Platform SDK — all Windows.* WinRT APIs (always available, no restore needed)
  • WinAppSDK / WinUI — bundled as a baseline in the cache generator (always available, no restore needed)
  • NuGet packages — any additional packages in restored projects that contain .winmd files
  • Project-output WinMD — class libraries (C++/WinRT, C#) that produce .winmd as build output

Even on a fresh clone with no restore or build, you still get full Platform SDK + WinAppSDK coverage.

When to Use This Skill

  • User wants to build a feature and you need to find which API provides that capability
  • User asks "how do I do X?" where X involves a platform feature (camera, files, notifications, sensors, AI, etc.)
  • You need the exact methods, properties, events, or enumeration values of a type before writing code
  • You're unsure which control, class, or interface to use for a UI or system task

Prerequisites

  • .NET SDK 8.0 or later — required to build the cache generator. Install from dotnet.microsoft.com if not available.

Cache Setup (Required Before First Use)

All query and search commands read from a local JSON cache. You must generate the cache before running any queries.

# All projects in the repo (recommended for first run)
.\.github\skills\winmd-api-search\scripts\Update-WinMdCache.ps1

# Single project
.\.github\skills\winmd-api-search\scripts\Update-WinMdCache.ps1 -ProjectDir <project-folder>

No project restore or build is needed for baseline coverage (Platform SDK + WinAppSDK). For additional NuGet packages, the project needs dotnet restore (which generates project.assets.json) or a packages.config file.

Cache is stored at Generated Files\winmd-cache\, deduplicated per-package+version.

What gets indexed

Source When available
Windows Platform SDK Always (reads from local SDK install)
WinAppSDK (latest) Always (bundled as baseline in cache generator)
WinAppSDK Runtime When installed on the system (detected via Get-AppxPackage)
Project NuGet packages After dotnet restore or with packages.config
Project-output .winmd After project build (class libraries that produce WinMD)

Note: This cache directory should be in .gitignore — it's generated, not source.

How to Use

Pick the path that matches the situation:


Discover — "I don't know which API to use"

The user describes a capability in their own words. You need to find the right API.

0. Ensure the cache exists

If the cache hasn't been generated yet, run Update-WinMdCache.ps1 first — see Cache Setup above.

1. Translate user language → search keywords

Map the user's daily language to programming terms. Try multiple variations:

User says Search keywords to try (in order)
"take a picture" camera, capture, photo, MediaCapture
"load from disk" file open, picker, FileOpen, StorageFile
"describe what's in it" image description, Vision, Recognition
"show a popup" dialog, flyout, popup, ContentDialog
"drag and drop" drag, drop, DragDrop
"save settings" settings, ApplicationData, LocalSettings

Start with simple everyday words. If results are weak or irrelevant, try the more technical variation.

2. Run searches

.\.github\skills\winmd-api-search\scripts\Invoke-WinMdQuery.ps1 -Action search -Query "<keyword>"

This returns ranked namespaces with top matching types and the JSON file path.

If results have low scores (below 60) or are irrelevant, fall back to searching online documentation:

  1. Use web search to find the right API on Microsoft Learn, for example:
    • site:learn.microsoft.com/uwp/api <capability keywords> for Windows.* APIs
    • site:learn.microsoft.com/windows/windows-app-sdk/api/winrt <capability keywords> for Microsoft.* WinAppSDK APIs
  2. Read the documentation pages to identify which type matches the user's requirement.
  3. Once you know the type name, come back and use -Action members or -Action enums to get the exact local signatures.

…

자주 묻는 질문

사용하기 전에 설치해야 할 것이 있나요?

네, 처음 사용하기 전에 특정 스크립트를 실행해 '캐시'(정보 파일)를 생성해야 합니다.

API란 무엇인가요?

API(응용 프로그램 인터페이스)는 프로그래머가 운영체제(예: Windows)에 카메라 접근이나 알림 표시 같은 특정 작업을 시키기 위해 사용하는 명령이나 도구입니다.

도구가 API를 찾지 못하면 어떻게 되나요?

로컬 데이터에서 좋은 일치 항목을 찾지 못하면, 공식 Microsoft 온라인 문서를 검색하라고 제안합니다.

상세 정보

작성자의 원본 설명

Find and explore Windows desktop APIs. Use when building features that need platform capabilities — camera, file access, notifications, UI controls, AI/ML, sensors, networking, etc. Discovers the right API for a task and retrieves full type details (methods, properties, events, enumeration values).

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7478
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬