本文へ移動
cccskills
無料GitHub で公開

windows-interop-modernize

Windows アプリ開発 (Win32 / WPF / WinForms 相互運用) の相互運用・近代化リファレンス。

Win32 API, CreateWindowExW, WNDPROC, メッセージループ, COM (IUnknown, CoCreateInstance, ComPtr), CsWin32, windows-rs, C++/WinRT (winrt::com_ptr, IAsyncOperation, IDL, ABI 相互運用), C#/WinRT (cswinrt, ComWrappers, AOT/trimming, WindowNative), XAML Islands (DesktopWindowXamlSource, DesktopChildSiteBridge, WindowsXamlManager), WPF/WinForms 相互運用 (HwndHost, HwndSource, WindowsFormsHost, ElementHost), UWP から Windows App SDK / WinUI 3 への 移行 (namespace mapping, AppWindow, DispatcherQueue, .NET Upgrade Assistant)。

インストール方法を見る

含まれるファイル(118)

  • SKILL.md8.5 KB
  • references/cppwinrt/agile-objects.md2.7 KB
  • references/cppwinrt/async-coroutines.md4.7 KB
  • references/cppwinrt/author-apis.md3.4 KB
  • references/cppwinrt/author-coclasses.md3.7 KB
  • references/cppwinrt/boxing.md2.5 KB
  • references/cppwinrt/collections.md3.4 KB
  • references/cppwinrt/com-ptr-iinspectable.md2.4 KB
  • references/cppwinrt/consume-apis.md2.4 KB
  • references/cppwinrt/consume-com.md4.0 KB
  • references/cppwinrt/error-handling.md3.5 KB
  • references/cppwinrt/events-delegates.md3.5 KB
  • references/cppwinrt/get-started.md2.0 KB
  • references/cppwinrt/init-apartment.md1.5 KB
  • references/cppwinrt/interop-abi.md3.1 KB
  • references/cppwinrt/interop-winrt-cx.md3.0 KB
  • references/cppwinrt/macros.md2.9 KB
  • references/cppwinrt/move-to-winrt-from-csharp.md5.1 KB
  • references/cppwinrt/move-to-winrt-from-cx.md3.2 KB
  • references/cppwinrt/move-to-winrt-from-wrl.md3.3 KB
  • references/cppwinrt/naming.md1.8 KB
  • references/cppwinrt/native-interop.md2.9 KB
  • references/cppwinrt/overview.md1.5 KB
  • references/cppwinrt/pass-parms-to-abi.md3.3 KB
  • references/cppwinrt/projection-headers.md1.8 KB
  • references/cppwinrt/README.md5.2 KB
  • references/cppwinrt/std-cpp-data-types.md2.8 KB
  • references/cppwinrt/strings.md2.5 KB
  • references/cppwinrt/use-csharp-component-from-cpp-winrt.md2.9 KB
  • references/cppwinrt/weak-references.md3.5 KB
  • references/cppwinrt/xaml-binding.md3.0 KB
  • references/cppwinrt/xaml-cust-ctrl.md3.9 KB
  • references/csharp-winrt/agile-objects.md1.9 KB
  • references/csharp-winrt/aot-trimming.md2.7 KB
  • references/csharp-winrt/api-availability-checks.md2.5 KB
  • references/csharp-winrt/async-operations.md2.8 KB
  • references/csharp-winrt/authoring-winrt-components.md2.5 KB
  • references/csharp-winrt/com-interop.md3.0 KB
  • references/csharp-winrt/dotnet-winrt-removal.md2.5 KB
  • references/csharp-winrt/net-mappings-of-winrt-types.md3.6 KB
  • references/csharp-winrt/net-projection-from-cppwinrt-component.md3.6 KB
  • references/csharp-winrt/overview.md2.6 KB
  • references/csharp-winrt/README.md2.5 KB
  • references/csharp-winrt/sdk-net-ref-targetframework.md3.3 KB
  • references/csharp-winrt/window-handle-interop.md3.8 KB
  • references/csharp-winrt/winrt-api-desktop-support.md3.2 KB
  • references/uwp-migration/ai-assisted-migration.md3.6 KB
  • references/uwp-migration/applifecycle-migration.md3.1 KB
  • references/uwp-migration/background-task-migration.md3.3 KB
  • references/uwp-migration/case-study-1-photolab.md3.7 KB
  • references/uwp-migration/case-study-2-photo-editor.md4.3 KB
  • references/uwp-migration/dwritecore-migration.md1.4 KB
  • references/uwp-migration/feature-mapping.md4.2 KB
  • references/uwp-migration/keyboard-events-migration.md3.0 KB
  • references/uwp-migration/migration-overview.md3.0 KB
  • references/uwp-migration/misc-migration-guidance.md3.4 KB
  • references/uwp-migration/mrtcore-migration.md2.3 KB
  • references/uwp-migration/namespace-mapping.md6.7 KB
  • references/uwp-migration/overall-migration-strategy.md2.9 KB
  • references/uwp-migration/push-notifications-migration.md2.2 KB
  • references/uwp-migration/README.md6.5 KB
  • references/uwp-migration/threading-migration.md2.6 KB
  • references/uwp-migration/toast-notifications-migration.md3.4 KB
  • references/uwp-migration/upgrade-assistant.md3.7 KB
  • references/uwp-migration/what-is-supported.md4.5 KB
  • references/uwp-migration/windowing-migration.md4.1 KB
  • references/uwp-migration/winui3-ui-migration.md4.0 KB
  • references/win32-com/com-create-instance.md1.7 KB
  • references/win32-com/com-initialization.md1.6 KB
  • references/win32-com/com-smart-pointers.md1.6 KB
  • references/win32-com/create-window.md2.3 KB
  • references/win32-com/cswin32.md1.5 KB
  • references/win32-com/dialog-box.md1.3 KB
  • references/win32-com/dpi-awareness.md1.5 KB
  • references/win32-com/extended-window-styles.md1.9 KB
  • references/win32-com/hresult-error-handling.md3.1 KB
  • references/win32-com/iunknown.md1.4 KB
  • references/win32-com/message-box.md1.5 KB
  • references/win32-com/message-loop.md1.4 KB
  • references/win32-com/pinvoke-csharp.md2.1 KB
  • references/win32-com/README.md3.3 KB
  • references/win32-com/register-window-class.md1.9 KB
  • references/win32-com/win32-data-types.md1.9 KB
  • references/win32-com/window-lifecycle.md1.5 KB
  • references/win32-com/window-messages.md2.3 KB
  • references/win32-com/window-procedure.md1.5 KB
  • references/win32-com/window-styles.md2.1 KB
  • references/win32-com/windows-rs.md1.7 KB
  • references/wpf-winforms-interop/copilot-modernization-guide.md3.0 KB
  • references/wpf-winforms-interop/dotnet-upgrade-assistant.md2.0 KB
  • references/wpf-winforms-interop/hwndhost-hwndsource.md2.2 KB
  • references/wpf-winforms-interop/README.md3.3 KB
  • references/wpf-winforms-interop/windows-app-sdk-existing-project.md2.6 KB
  • references/wpf-winforms-interop/winforms-application-run.md1.8 KB
  • references/wpf-winforms-interop/winforms-designer.md2.3 KB
  • references/wpf-winforms-interop/winforms-form-control.md2.1 KB
  • references/wpf-winforms-interop/winrt-apis-in-wpf-winforms.md2.8 KB
  • references/wpf-winforms-interop/wpf-application.md2.0 KB
  • references/wpf-winforms-interop/wpf-basic-controls.md2.1 KB
  • references/wpf-winforms-interop/wpf-commanding.md3.6 KB
  • references/wpf-winforms-interop/wpf-data-binding.md2.3 KB
  • references/wpf-winforms-interop/wpf-dependency-property.md2.2 KB
  • references/wpf-winforms-interop/wpf-routed-events.md2.5 KB
  • references/wpf-winforms-interop/wpf-styles-templates.md2.9 KB
  • references/wpf-winforms-interop/wpf-vs-winui3.md3.6 KB
  • references/wpf-winforms-interop/wpf-window.md2.9 KB
  • references/wpf-winforms-interop/wpf-winforms-hosting.md2.0 KB
  • references/wpf-winforms-interop/wpf-xaml-overview.md2.7 KB
  • references/xaml-islands/desktop-child-site-bridge.md3.7 KB
  • references/xaml-islands/desktop-window-xaml-source.md3.6 KB
  • references/xaml-islands/dpi-and-sizing.md2.2 KB
  • references/xaml-islands/hosting-wpf-winforms-win32.md2.5 KB
  • references/xaml-islands/input-focus-navigation.md2.4 KB
  • references/xaml-islands/limitations.md2.6 KB
  • references/xaml-islands/overview.md2.3 KB
  • references/xaml-islands/README.md1.4 KB
  • references/xaml-islands/uwp-vs-winui3-migration.md2.8 KB
  • references/xaml-islands/windows-xaml-manager.md2.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Windows Interop / Modernize リファレンス

Win32・COM・C++/WinRT・C#/WinRT・XAML Islands・WPF/WinForms・UWP を横断する相互運用と近代化のリファレンス。 既存の Win32/WPF/WinForms/UWP 資産に WinRT API や WinUI 3 コンテンツを組み込む、または UWP から Windows App SDK へ移行する際の API・手順を蒸留する。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。

ディレクトリ構成

skills/windows-interop-modernize/
  SKILL.md
  references/
    win32-com/
      README.md
      com-create-instance.md
      com-initialization.md
      com-smart-pointers.md
      create-window.md
      cswin32.md
      dialog-box.md
      dpi-awareness.md
      extended-window-styles.md
      hresult-error-handling.md
      iunknown.md
      message-box.md
      message-loop.md
      pinvoke-csharp.md
      register-window-class.md
      win32-data-types.md
      window-lifecycle.md
      window-messages.md
      window-procedure.md
      window-styles.md
      windows-rs.md
    cppwinrt/
      README.md
      agile-objects.md
      async-coroutines.md
      author-apis.md
      author-coclasses.md
      boxing.md
      collections.md
      com-ptr-iinspectable.md
      consume-apis.md
      consume-com.md
      error-handling.md
      events-delegates.md
      get-started.md
      init-apartment.md
      interop-abi.md
      interop-winrt-cx.md
      macros.md
      move-to-winrt-from-csharp.md
      move-to-winrt-from-cx.md
      move-to-winrt-from-wrl.md
      naming.md
      native-interop.md
      overview.md
      pass-parms-to-abi.md
      projection-headers.md
      std-cpp-data-types.md
      strings.md
      use-csharp-component-from-cpp-winrt.md
      weak-references.md
      xaml-binding.md
      xaml-cust-ctrl.md
    csharp-winrt/
      README.md
      agile-objects.md
      aot-trimming.md
      api-availability-checks.md
      async-operations.md
      authoring-winrt-components.md
      com-interop.md
      dotnet-winrt-removal.md
      net-mappings-of-winrt-types.md
      net-projection-from-cppwinrt-component.md
      overview.md
      sdk-net-ref-targetframework.md
      window-handle-interop.md
      winrt-api-desktop-support.md
    xaml-islands/
      README.md
      desktop-child-site-bridge.md
      desktop-window-xaml-source.md
      dpi-and-sizing.md
      hosting-wpf-winforms-win32.md
      input-focus-navigation.md
      limitations.md
      overview.md
      uwp-vs-winui3-migration.md
      windows-xaml-manager.md
    wpf-winforms-interop/
      README.md
      copilot-modernization-guide.md
      dotnet-upgrade-assistant.md
      hwndhost-hwndsource.md
      windows-app-sdk-existing-project.md
      winforms-application-run.md
      winforms-designer.md
      winforms-form-control.md
      winrt-apis-in-wpf-winforms.md
      wpf-application.md
      wpf-basic-controls.md
      wpf-commanding.md
      wpf-data-binding.md
      wpf-dependency-property.md
      wpf-routed-events.md
      wpf-styles-templates.md
      wpf-vs-winui3.md
      wpf-window.md
      wpf-winforms-hosting.md
      wpf-xaml-overview.md
    uwp-migration/
      README.md
      ai-assisted-migration.md
      applifecycle-migration.md
      background-task-migration.md
      case-study-1-photolab.md
      case-study-2-photo-editor.md
      dwritecore-migration.md
      feature-mapping.md
      keyboard-events-migration.md
      migration-overview.md
      misc-migration-guidance.md
      mrtcore-migration.md
      namespace-mapping.md
      overall-migration-strategy.md
      push-notifications-migration.md
      threading-migration.md
      toast-notifications-migration.md
      upgrade-assistant.md
      what-is-supported.md
      windowing-migration.md
      winui3-ui-migration.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
CreateWindowExW / WNDPROC / メッセージループで生の Win32 ウィンドウを作成したいwin32-comreferences/win32-com/README.md
COM オブジェクトの初期化・生成・参照カウント管理 (CoInitializeEx, CoCreateInstance, IUnknown, ComPtr) を行いたいwin32-comreferences/win32-com/README.md
C# から CsWin32 / P/Invoke で Win32 API を呼びたい、Rust から windows-rs を使いたいwin32-comreferences/win32-com/README.md
C++ で WinRT ランタイムクラスを消費・作成し、非同期処理やイベントを扱いたいcppwinrtreferences/cppwinrt/README.md
IDL で API を作成し ABI・ネイティブ相互運用やエラーハンドリングを実装したいcppwinrtreferences/cppwinrt/README.md
C# から WinRT API を呼び出す、TFM 設定・非同期・型マッピングを把握したいcsharp-winrtreferences/csharp-winrt/README.md
ComWrappers / AOT・trimming 対応や WinRT コンポーネントの作成を行いたいcsharp-winrtreferences/csharp-winrt/README.md
WPF/WinForms/Win32 アプリに WinUI 3 の XAML コンテンツをホストしたいxaml-islandsreferences/xaml-islands/README.md
DesktopWindowXamlSource / DesktopChildSiteBridge でフォーカス・DPI・サイズ同期を扱いたいxaml-islandsreferences/xaml-islands/README.md
WPF / WinForms 既存アプリの基本 API (Window, Application, DependencyProperty, データバインディング) を確認したいwpf-winforms-interopreferences/wpf-winforms-interop/README.md
HwndHost/HwndSource や WindowsFormsHost/ElementHost で WPF と WinForms・Win32 を相互ホストしたいwpf-winforms-interopreferences/wpf-winforms-interop/README.md
WPF/WinForms に Windows App SDK を追加し WinRT API を呼びたいwpf-winforms-interopreferences/wpf-winforms-interop/README.md
UWP アプリを Windows App SDK / WinUI 3 へ移行する全体戦略・名前空間対応を知りたいuwp-migrationreferences/uwp-migration/README.md
ウィンドウ管理・スレッディング・通知・バックグラウンドタスクの UWP 固有 API を移行したいuwp-migrationreferences/uwp-migration/README.md
.NET Upgrade Assistant で機械的な移行を進めたいuwp-migrationreferences/uwp-migration/README.md
PhotoLab (C#) / Photo Editor (C++/WinRT) の移行事例を参考にしたい、AI コーディングエージェントで移行を自動化したいuwp-migrationreferences/uwp-migration/README.md

このスキルは Win32・COM・C++/WinRT・C#/WinRT・XAML Islands・WPF/WinForms・UWP 間の相互運用と移行手順のみを扱う。WinUI 3 のコントロール API 自体は windows-winui-controls、レイアウト・スタイル・XAML 記法は windows-winui-ui、Windows App SDK のランタイム機能は windows-app-sdk が担当する。

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

amd-rocm

無料日本語概要

AMD ROCm / HIP GPU コンピューティングリファレンス。 hipMalloc, hipLaunchKernelGGL, HIP Graph, HIPRTC, hipify, rocBLAS, MIOpen, RCCL, rocprofv3, amd-smi, rocminfo, CDNA1-4 / RDNA1-4, MI300 / MI350, gfx942, Matrix Core, wave32/64。

Fandhe-AI/agent-reference-skills42026年10月13日 更新

android-architecture

無料日本語概要

Android アプリ開発 (Kotlin) の推奨アーキテクチャリファレンス。 Jetpack, androidx, UI layer, Domain layer, Data layer, state holder, UDF, SSOT, オフラインファースト, モジュール化, ViewModel, viewModelScope, SavedStateHandle, Lifecycle, repeatOnLifecycle, collectAsStateWithLifecycle, LiveData, Hilt による DI, Paging 3 によるページング処理。

Fandhe-AI/agent-reference-skills42026年10月13日 更新

android-background-work

無料日本語概要

Android アプリ開発 (Kotlin) のバックグラウンド・非同期処理リファレンス。 Jetpack androidx WorkManager: Worker, CoroutineWorker, WorkRequest, Constraints, WorkInfo, WorkContinuation, expedited work, テスト。 Service: フォアグラウンドサービス, バウンドサービス, AIDL, Messenger。 AlarmManager, PendingIntent, BroadcastReceiver, JobScheduler, Doze。 Kotlin コルーチン, Flow, StateFlow, SharedFlow, Channel。

Fandhe-AI/agent-reference-skills42026年10月13日 更新

android-build-gradle

無料日本語概要

Android アプリ開発 (Kotlin) の Gradle ビルドシステムリファレンス。 Android Gradle Plugin (AGP), Kotlin DSL (build.gradle.kts), version catalog, KSP, R8/ProGuard, App Bundle, baseline profile。

Fandhe-AI/agent-reference-skills42026年10月13日 更新

android-compose-components

無料日本語概要

Android Jetpack Compose (Kotlin) の androidx Material3 コンポーネントリファレンス。 Button, IconButton, FloatingActionButton, Checkbox, Switch, Slider, TextField, SearchBar, DropdownMenu, Chip, DatePicker, TimePicker, Card, Scaffold, Dialog, BottomSheet, TopAppBar, NavigationBar, NavigationRail, Tab, Snackbar, ProgressIndicator, Badge, Icon, MaterialTheme, ColorScheme, Typography, Shapes。

Fandhe-AI/agent-reference-skills42026年10月13日 更新

Android Jetpack Compose (Kotlin) のアニメーション・描画リファレンス。 androidx.compose.animation / graphics API。 AnimatedVisibility, AnimatedContent, animate*AsState, Animatable, AnimationSpec, Canvas, DrawScope, Brush, Path, Color, Image。

Fandhe-AI/agent-reference-skills42026年10月13日 更新

Fandhe-AI のスキルをすべて見る

このスキルの問題を報告する