Create React error boundaries with proper fallback UIs, error logging, and recovery mechanisms.
Create an error boundary component for [area]. Requirements: - Class component extending React.Component with componentDidCatch - TypeScript with proper generic types for error and errorInfo - Fallback UI with: - User-friendly error message (not raw stack traces) - "Try Again" button that resets the error state - Option to reload the page as last resort - Visual design matching the app's existing error/empty states - Log errors to your error tracking service (Sentry, etc.) - Include error context: component tree, user action, timestamp - Create a useErrorBoundary hook for functional component error throwing - Add a higher-order component (withErrorBoundary) wrapper - Handle different error types with different fallbacks - Don't catch errors in event handlers (those need try/catch) - Reset error state when navigation changes (if using React Router)
Specify the area of your app (page-level, component-level, form-level). Cursor generates the boundary, fallback UI, and HOC wrapper.
Agent Library is a centralized collection of reusable AI agent skills, workflows, prompts, and specialized knowledge modules. Built for Claude Code, Codex, Cursor, and other AI coding agents with an efficient on-demand loading architecture.
An open-source collection of production-ready AI skills, prompts, templates, and workflows for Claude, ChatGPT, Gemini, Cursor, and other AI tools.
A collection of Skills (system prompts) for autonomous AI Agents and LLMs (Google Antigravity, Claude Code, GitHub Copilot, Codex, Cursor, AutoGPT, ChatGPT, Gemini).
许惟的 AI 工具合集 · A growing collection of practical AI tools & skills. First up: diagram-generator (one sentence → clean diagrams).
A curated collection of high-quality AI prompts for ChatGPT, Claude, Gemini, Cursor, and other AI assistants
A curated collection of ready-to-run automation prompts for real-world workflows.
Workflows from the Neura Market marketplace related to this Cursor resource