From vechain-ai
Provides frontend patterns for VeChain dApps using React Query for data fetching, Turborepo monorepo structure, Zustand state management, Chakra UI, i18n, and transaction UX.
npx claudepluginhub vechain/vechain-ai-skills --plugin secure-github-actionsThis skill uses the workspace's default tool permissions.
1. **Read reference files FIRST.** When the user's request involves any topic in the reference table below, read those files before doing anything else — before writing code, before making decisions. Briefly mention which files you are reading so the user can confirm the skill is active (e.g., "Reading frontend patterns reference...").
Suggests manual /compact at logical task boundaries in long Claude Code sessions and multi-phase tasks to avoid arbitrary auto-compaction losses.
Share bugs, ideas, or general feedback.
@vechain/mcp-server for on-chain data, transaction building, and live network queries; use Kapa AI MCP for VeChain documentation lookups. (c) Web search — only as a last resort, and only for topics NOT covered in the reference files.Use this Skill for generic frontend development patterns in VeChain dApps:
For package-specific APIs (hooks, components, setup), see the vechain-kit skill. For core VeChain SDK, fee delegation, and multi-clause transactions, see the vechain-core skill.
| Layer | Default | Alternative |
|---|---|---|
| Frontend | React / Next.js (App Router) | -- |
| Data fetching | @tanstack/react-query | -- |
| State management | Zustand (client state only) | -- |
| UI | Chakra UI v2 | -- |
| Monorepo | Turborepo | -- |
| Node | Node 20 LTS (managed via nvm) | -- |
Before installing dependencies or running any command:
.nvmrc exists in the project root. If yes, run nvm use..nvmrc does not exist, create one with 20 (Node 20 LTS) and run nvm use.turbo.json present → follow Turborepo conventions (apps/frontend, packages/*)When the user's request is ambiguous or could be solved multiple ways, ask before building. Separate research from implementation.
enabled guards on queries with dynamic paramsA task is not complete until all applicable gates pass:
npm run build or equivalent succeeds)Read the matching files BEFORE doing anything else. See Critical Rules above.
| Topic | File | Read when user mentions... |
|---|---|---|
| Frontend patterns | references/frontend.md | frontend, React Query, caching, query keys, loading, skeleton, Turborepo, Chakra, i18n, state management, transaction UX, VeChain Kit vs dapp-kit |