# Debug async UI

> Debug async UI is an open-source agent skill for developer tools. Guides agents to trace async frontend bugs across event, state, data, lifecycle and render. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/JinNing6/Noosphere/tree/main/shared_skills/active/debug-async-ui
- **Repository:** https://github.com/jinning6/noosphere
- **GitHub stars:** 18
- **License:** Apache-2.0
- **Skill name:** debug-async-ui
- **Collection:** https://github.com/JinNing6/Noosphere
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill gives an agent a layered method for diagnosing frontend bugs where UI state or returned content disappears, flickers, rolls back, or fails intermittently. It asks the agent to reproduce the symptom, capture the immediate and final UI states, and write a slow-request regression test that simulates a 200-500 ms delay before touching the fix. The agent then works through the event, state, data, lifecycle and render layers in order to find which one owns the failure, before changing any styling.

The guidance covers many specific patterns: keeping interaction state in a stable parent so loading or routing does not unmount it, using local loading for narrow operations and reserving global loading for initial load, surfacing status on every tab where a user may be waiting, and treating a missing sub-result in an aggregate response as a failure. It also covers mobile concerns such as floating action clusters, bottom sheets with safe-area insets, and auto-focus inside overlays, plus OAuth device-code polling that should retry on transient network errors. The skill is a single SKILL.md with no bundled scripts.

## When your agent uses it

> Use when UI state or returned content disappears, flashes, rolls back, saves but loses state, menus fail intermittently, or real browser behavior differs from tests in async frontend flows.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/JinNing6/Noosphere/tree/HEAD/shared_skills/active/debug-async-ui)
- [License: Apache-2.0](https://github.com/JinNing6/Noosphere/tree/HEAD/shared_skills/active/debug-async-ui)

## Features

- **Layered root-cause tracing:** Walks the agent through event, state, data, lifecycle and render checks in a fixed order to locate the failing layer.
- **Slow-request regression tests:** Directs the agent to add tests that simulate 200-500 ms delays and assert intermediate and final UI states.
- **Local versus global loading:** Explains when to use narrow local loading and when a broad global loading state is appropriate.
- **Race-safe state persistence:** Covers serializing overlapping file or database saves and gating retries until hydration completes.
- **Mobile layout checks:** Describes measuring floating action clusters, bottom sheets and overlay focus behavior on touch devices.
- **OAuth polling resilience:** Outlines keeping device-code flows in a retrying state during transient network errors instead of failing.

## Good for

- Fix a form that loses its saved state after a slow save request
- Find why a panel flashes or rolls back after an async API call
- Debug a menu that fails intermittently only in a real browser
- Add a regression test for a splash screen that waits on a readiness promise
- Check a mobile floating button cluster for overlap and viewport overflow

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/debug-async-ui` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/debug-async-ui &&
cp -R "$tmp/shared_skills/active/debug-async-ui" ~/.claude/skills/debug-async-ui &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/debug-async-ui` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/debug-async-ui` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/debug-async-ui &&
cp -R "$tmp/shared_skills/active/debug-async-ui" ~/.agents/skills/debug-async-ui &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/debug-async-ui` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/debug-async-ui` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/debug-async-ui &&
cp -R "$tmp/shared_skills/active/debug-async-ui" ~/.cursor/skills/debug-async-ui &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/debug-async-ui` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/JinNing6/Noosphere.git --path shared_skills/active/debug-async-ui
```

Or copy the folder to `~/.gemini/skills/debug-async-ui` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/debug-async-ui`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/debug-async-ui &&
cp -R "$tmp/shared_skills/active/debug-async-ui" ~/.copilot/skills/debug-async-ui &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/debug-async-ui` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/JinNing6/Noosphere.git
```

Then copy `Noosphere/shared_skills/active/debug-async-ui` into your agent's skills folder as `debug-async-ui`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Debug async UI trigger?

Its description says it applies when UI state or returned content disappears, flashes, rolls back, saves but loses state, menus fail intermittently, or real browser behavior differs from tests in async frontend flows.

### Does Debug async UI run any scripts or require tools?

No scripts are included and no allowed tools are set. It is a single SKILL.md with instructions only.

### Does Debug async UI cover mobile interfaces?

Yes. It includes guidance on measuring floating action buttons and bottom sheets against the viewport and on avoiding auto-focus in mobile overlays.

### How do I install Debug async UI in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/debug-async-ui to use it in all your projects, or to .claude/skills/debug-async-ui in one project.

### Does Debug async UI run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Debug async UI?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Debug async UI?

The closest alternatives to Debug async UI are Frontend UI engineering, Click path audit, Webapp testing, React frontend and Axiom swiftui.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Frontend UI engineering](https://ai-powered.com/skills/frontend-ui-engineering): Frontend UI engineering is an open-source agent skill for developer tools.
- [Click path audit](https://ai-powered.com/skills/click-path-audit): Click path audit is an open-source agent skill for developer tools.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing-github): Webapp testing is an open-source agent skill for browser automation.
- [React frontend](https://ai-powered.com/skills/react-frontend): React frontend is an open-source agent skill for developer tools.
- [Axiom swiftui](https://ai-powered.com/skills/axiom-swiftui-charleswiltgen-2): Axiom swiftui is an open-source agent skill for developer tools.
- [Axiom analyze test failures](https://ai-powered.com/skills/axiom-analyze-test-failures): Axiom analyze test failures is an open-source agent skill for developer tools.
- [Frontend layering specificity debug](https://ai-powered.com/skills/frontend-layering-specificity-debug): Frontend layering specificity debug is an open-source agent skill for developer tools.
- [Design engineering edho ferdian](https://ai-powered.com/skills/design-engineering-edho-ferdian): Design engineering edho ferdian is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/debug-async-ui
