·async-patterns
</>

async-patterns

yosrbennagra/3sc

3SC 小部件主机的异步/等待模式。涵盖 WPF 中的任务处理、取消、ConfigureAwait、即发即弃预防和异步命令模式。

4安装·0热度·@yosrbennagra

安装

$npx skills add https://github.com/yosrbennagra/3sc --skill async-patterns

SKILL.md

Proper async/await usage is critical for UI responsiveness and application stability. This skill covers patterns specific to WPF desktop applications.

| async void | Exceptions lost, can't await | Use async Task, except event handlers | | .Result / .Wait() | Deadlock on UI thread | await all the way | | Missing try-catch in commands | Unhandled exceptions crash | Wrap async commands | | Ignoring CancellationToken | Can't cancel operations | Pass token through chain |

| Fire-and-forget without logging | Silent failures | Use FireAndForget extension | | Task.Run for I/O | Wastes thread pool | Use async I/O APIs |

3SC 小部件主机的异步/等待模式。涵盖 WPF 中的任务处理、取消、ConfigureAwait、即发即弃预防和异步命令模式。 来源:yosrbennagra/3sc。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/yosrbennagra/3sc --skill async-patterns
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 async-patterns?

3SC 小部件主机的异步/等待模式。涵盖 WPF 中的任务处理、取消、ConfigureAwait、即发即弃预防和异步命令模式。 来源:yosrbennagra/3sc。

如何安装 async-patterns?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/yosrbennagra/3sc --skill async-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/yosrbennagra/3sc

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01