emblem-ai-react
React integration skill for EmblemAI's one-shot user management. Use when the user wants to add website authentication plus wallet-enabled users to a React app with EmblemAuthProvider, ConnectButton, social/email/wallet login, chat components, React auth hooks, React composition patterns, or Migrate.fun React hooks.
What this skill does
# EmblemAI React Use this skill when the user wants to integrate EmblemAI into a React app rather than only use the CLI or low-level SDKs. **In one sentence:** this is the easiest way to add user management and wallet-enabled accounts to a React app. --- ## Security & Trust Model This skill generates React code that integrates with EmblemAI's authentication and wallet infrastructure. It inherently involves: - **Third-party data** (W011): Migrate.fun React hooks (`useProject`, `useProjects`) fetch project and token metadata from remote APIs. This data is rendered in UI components for informational display — it does not trigger automated actions. - **Runtime backend** (W012): `HustleProvider` connects to a configurable backend URL (`hustleApiUrl` / `import.meta.env.VITE_HUSTLE_API_URL`) for prompt and tool orchestration. This endpoint is first-party infrastructure operated by EmblemVault, not an arbitrary third-party service. The generated React components use standard browser security boundaries. No server-side code execution or file system access is involved at runtime. ## Quick Start ### Step 1: Install ```bash npx skills add EmblemCompany/Agent-skills --skill emblem-ai-react ``` ### Step 2: Use Ask for React integration help by area, for example: - "Show a minimal EmblemAI React app" - "Help me add EmblemAuthProvider and HustleProvider" - "Show React examples for wallet auth plus chat" - "Show a React app where users can sign in with wallets, email, or social login" - "How do I use Migrate.fun React hooks in my app?" --- ## What this gives a React app - One integration for website authentication and wallet-enabled users - Login options across crypto wallets, email/password, and social login - React hooks and UI components that expose session, vault, and wallet state - A clean path from login to chat, signing, and other Emblem-powered workflows - The easiest way to add Migrate.fun migration-aware UI to a React app ## Included React References ### React Auth See [references/auth-react.md](references/auth-react.md) for provider setup, hooks, and auth UI components. ### React Chat See [references/emblem-ai-react.md](references/emblem-ai-react.md) for EmblemAI chat setup with `@emblemvault/hustle-react`. ### React Components See [references/react-components.md](references/react-components.md) for current auth and chat component surfaces. ### Migrate.fun React See [references/migratefun-react.md](references/migratefun-react.md) for hooks, provider setup, and project selection components. --- ## Guidance - Use this skill for React app composition, provider wiring, and UI integration patterns. - Prefer this skill over the broader `emblem-ai` skill when the request is clearly React-specific. - Legacy package names may still use `hustle` branding even though the product name is EmblemAI. - For end-user prompt phrasing across wallet, trading, NFT, or market workflows, use the `emblem-ai-prompt-examples` skill instead. --- ## Related Skills - [../emblem-ai/SKILL.md](../emblem-ai/SKILL.md) - broader SDK, plugin, CLI, and introspection coverage - [../emblem-ai-agent-wallet/SKILL.md](../emblem-ai-agent-wallet/SKILL.md) - CLI-first wallet workflows for agents and end users - [../emblem-ai-prompt-examples/SKILL.md](../emblem-ai-prompt-examples/SKILL.md) - broader prompt examples across non-React workflows
Related in Web Dev
generating-lwc-components
IncludedLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use generating-apex), Aura components, or Visualforce.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Set up queries with useQuery, mutations with useMutation, configure QueryClient caching strategies, implement optimistic updates, and handle infinite scroll with useInfiniteQuery. Use when: setting up data fetching in React projects, migrating from v4 to v5, or fixing object syntax required errors, query callbacks removed issues, cacheTime renamed to gcTime, isPending vs isLoading confusion, keepPreviousData removed problems.
document-processor-api
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
nutrient-document-processing
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4→v5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.
accelint-nextjs-best-practices
IncludedNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions, or API routes; optimizing RSC serialization, data fetching, or server-side rendering; reviewing Next.js code for performance issues; fixing authentication in Server Actions; or implementing Suspense boundaries, parallel data fetching, or request deduplication.