Skip to content

reactive/data-client / .agents/skills/data-client-react

data-client-react

Unverified

Read, change and render async and shared state in React with @data-client/react: any data from an API or other async source, and global state shared across components (it has to persist somewhere, which makes it async). Use it for loading and error states, mutations and forms, filtered or derived views, and debugging data that looks wrong or stale on screen. Use it in place of fetch in useEffect, or app-wide useState and context; its main hooks are useSuspense, useQuery and useController.

references/browser-cursor.md

View on GitHub
<!-- Generated by `yarn build:skills` from docs/core/_agents/browser-cursor.md (react). Edit the source doc, not this file. -->

# Cursor Browser Setup

Run the [debugging](./devtools-debugging.md) snippets from a Cursor agent. Which tools you have depends on where
the agent runs: check your tool list.

| Agent             | Browser tools                                           | Follow                          |
| ----------------- | ------------------------------------------------------- | ------------------------------- |
| Desktop (the IDE) | `cursor-ide-browser`: `browser_navigate`, `browser_cdp` | [Desktop agent](#desktop-agent) |
| Cloud agent       | none, until Playwright is enabled for the run           | [Cloud agent](#cloud-agent)     |

If both are listed, either works.

## Desktop agent

The desktop agent drives Cursor's built-in browser (the Browser tab). Docs:
[Browser](https://cursor.com/docs/agent/tools/browser).

1. Open the dev server with `browser_navigate`.
2. Run each snippet with `browser_cdp`, method `Runtime.evaluate`, as an
   [awaited expression](./devtools-debugging.md#awaited-expression).
3. Read requests and logs with the
   [requests snippet and console capture](./devtools-debugging.md#without-a-network-or-console-tool).
   `browser_cdp` returns only command results, not events, so `Network.enable` and `Log.enable` record nothing
   you can read.

Do not send `Page.reload`. It reloads the Cursor window, which ends the agent's turn with no response, and a
resumed turn can send it again. Use `browser_navigate` instead.

## Cloud agent

A cloud agent does not read `.cursor/mcp.json`. The MCP servers for a run are the ones enabled in the
[MCP dropdown at cursor.com/agents](https://cursor.com/agents) (team servers are under Dashboard → Plugins & MCPs).
Committing the file does not add them.

To get Playwright, add [Playwright MCP's server](./browser-playwright-mcp.md#install) there as a stdio server,
headless (the agent's machine has no display). The cloud image already has Chrome,
so it needs no `.cursor/environment.json` or browser install.

Then follow [Playwright MCP's Use steps](./browser-playwright-mcp.md#use). If those tools are not in the tool
list, the server is not enabled for this run. The machine's Chrome is still there: drive it over the DevTools
protocol, running each snippet as an [awaited expression](./devtools-debugging.md#awaited-expression).
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 319kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 196kUpdated Claude CodeCodexVerifiedInstall