跳到正文
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), HwndHost, HwndSource, WindowsFormsHost, ElementHost, UWP から Windows App SDK / WinUI 3 への移行 (namespace mapping, AppWindow, DispatcherQueue, .NET Upgrade Assistant)、 移行判断 (upgrade / modernize / migrate)、WinForms → WinUI 3 パターン対応、GitHub Copilot upgrade。

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(133)

  • SKILL.md10.3 KB
  • references/cppwinrt/advanced-concurrency.md9.3 KB
  • references/cppwinrt/agile-objects.md2.7 KB
  • references/cppwinrt/async-coroutines.md5.0 KB
  • references/cppwinrt/author-apis.md3.5 KB
  • references/cppwinrt/author-coclasses.md3.7 KB
  • references/cppwinrt/base-type.md2.8 KB
  • references/cppwinrt/binding-collection.md2.8 KB
  • references/cppwinrt/boxing.md2.5 KB
  • references/cppwinrt/collections.md3.4 KB
  • references/cppwinrt/com-ptr-iinspectable.md2.4 KB
  • references/cppwinrt/completion-source.md3.7 KB
  • references/cppwinrt/consume-apis.md2.4 KB
  • references/cppwinrt/consume-com.md4.0 KB
  • references/cppwinrt/diag-direct-alloc.md2.3 KB
  • references/cppwinrt/error-handling.md3.5 KB
  • references/cppwinrt/events-delegates.md3.5 KB
  • references/cppwinrt/extension-points.md3.3 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-async.md5.7 KB
  • references/cppwinrt/interop-winrt-cx.md3.1 KB
  • references/cppwinrt/macros.md3.2 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.md2.0 KB
  • references/cppwinrt/native-interop.md2.9 KB
  • references/cppwinrt/natvis.md2.2 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.md6.9 KB
  • references/cppwinrt/std-cpp-data-types.md2.8 KB
  • references/cppwinrt/strings.md2.5 KB
  • references/cppwinrt/troubleshooting.md7.2 KB
  • references/cppwinrt/use-csharp-component-from-cpp-winrt.md2.9 KB
  • references/cppwinrt/weak-references.md3.5 KB
  • references/cppwinrt/xaml-binding.md3.1 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/migration-planning/migration-decision-guide.md5.5 KB
  • references/migration-planning/migration-terminology.md2.7 KB
  • references/migration-planning/modernize-overview.md2.9 KB
  • references/migration-planning/README.md555 B
  • references/uwp-migration/ai-assisted-migration.md3.7 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/ai-assisted-wpf-migration.md6.9 KB
  • references/wpf-winforms-interop/copilot-modernization-guide.md3.5 KB
  • references/wpf-winforms-interop/dotnet-upgrade-assistant.md2.7 KB
  • references/wpf-winforms-interop/hwndhost-hwndsource.md2.2 KB
  • references/wpf-winforms-interop/README.md3.4 KB
  • references/wpf-winforms-interop/windows-app-sdk-existing-project.md3.3 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/winforms-patterns-winui3.md6.7 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.md5.5 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.md5.6 KB
  • references/xaml-islands/input-focus-navigation.md3.3 KB
  • references/xaml-islands/limitations.md2.6 KB
  • references/xaml-islands/overview.md3.4 KB
  • references/xaml-islands/README.md1.4 KB
  • references/xaml-islands/uwp-vs-winui3-migration.md3.3 KB
  • references/xaml-islands/windows-xaml-manager.md2.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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/
    migration-planning/
      README.md
      migration-decision-guide.md
      migration-terminology.md
      modernize-overview.md
    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
      advanced-concurrency.md
      agile-objects.md
      async-coroutines.md
      author-apis.md
      author-coclasses.md
      base-type.md
      binding-collection.md
      boxing.md
      collections.md
      com-ptr-iinspectable.md
      completion-source.md
      consume-apis.md
      consume-com.md
      diag-direct-alloc.md
      error-handling.md
      events-delegates.md
      extension-points.md
      get-started.md
      init-apartment.md
      interop-abi.md
      interop-winrt-cx-async.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
      natvis.md
      overview.md
      pass-parms-to-abi.md
      projection-headers.md
      std-cpp-data-types.md
      strings.md
      troubleshooting.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
      ai-assisted-wpf-migration.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
      winforms-patterns-winui3.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
既存アプリを upgrade / modernize in place / WinUI 3 移行のどれで進めるか判断したい、用語 (upgrade / migrate / port / modernize) を確認したいmigration-planningreferences/migration-planning/README.md
既存 WPF / WinForms / Win32 アプリに追加できる Windows 機能と、Windows App SDK・package identity の要否を知りたいmigration-planningreferences/migration-planning/README.md
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
C++/WinRT の高度な非同期 (resume_after / resume_on_signal / completion_source)、C++/CX 非同期相互運用、基底型 override、natvis・直接アロケーション診断・トラブルシューティングを知りたい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
WinForms のコントロール・レイアウト・バインディング・起動処理を WinUI 3 に対応付けたい、WPF 移行を AI エージェントで進めたいwpf-winforms-interopreferences/wpf-winforms-interop/README.md
(どの移行パスか未定の場合は migration-planning から) 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 が担当する。MSIX packaging / package identity の詳細は windows-packaging-publish、Windows AI Foundry は windows-ai が担当する。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

amd-rocm

免费

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

中文简介正在准备中。当前显示原文说明。

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

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月20日 更新

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月20日 更新

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月20日 更新

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月20日 更新

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月20日 更新

查看 Fandhe-AI 的全部技能

报告此技能的问题