·gpui-testing
</>

gpui-testing

Testing GPUI applications and components. Use when writing tests, testing async operations, simulating user input, or debugging test failures.

4Installs·0Trend·@cnwzhu

Installation

$npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testing

How to Install gpui-testing

Quickly install gpui-testing AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testing
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: cnwzhu/gpui-skills.

SKILL.md

View raw

Why: GPUI's scheduler tracks GPUI timers but not smol::Timer, which can cause "nothing left to run" errors in rununtilparked().

| Using smol::Timer | "Nothing left to run" | Use cx.backgroundexecutor.timer() | | Not calling rununtilparked() | Async work doesn't complete | Call before assertions | | Forgetting #[gpui::test] | Test doesn't run properly | Use #[gpui::test] attribute | Not handling errors in async | Test failures unclear | Propagate errors with ? |

| Testing too much at once | Hard to debug failures | Split into smaller tests |

Testing GPUI applications and components. Use when writing tests, testing async operations, simulating user input, or debugging test failures. Source: cnwzhu/gpui-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testing
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-11

Browse more skills from cnwzhu/gpui-skills

Quick answers

What is gpui-testing?

Testing GPUI applications and components. Use when writing tests, testing async operations, simulating user input, or debugging test failures. Source: cnwzhu/gpui-skills.

How do I install gpui-testing?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cnwzhu/gpui-skills --skill gpui-testing Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/cnwzhu/gpui-skills

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-25

Related Skills

None