agentleFS
vechainvechain/vechain-ai-skills/skills/vechain-kit/SKILL.md

vechain-kit

Skill15 starsChanged 9 months agoMITView on GitHub

VeChain Kit and dapp-kit packages — installation, hooks, components, wallet connection, social login, smart accounts, theming, and Privy setup.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this Skill for the VeChain Kit and dapp-kit packages specifically:

    line 22
  2. Distinctive:

    Before installing dependencies or running any command:

    line 45
  3. Very specific:

    Check if .nvmrc exists in the project root.

    line 47
  4. Very specific:

    If .nvmrc does not exist, create one with 20 (Node 20 LTS) and run nvm use.

    line 48
  5. Very specific:

    Use useThor for Thor client access (both VeChain Kit and dapp-kit v2).

    line 53
  6. Distinctive:

    When to ask the user: If the project doesn't already use VeChain Kit or dapp-kit and the user hasn't specified which to use, ask before …

    line 58
  7. Distinctive:

    Do you need social login (email, Google, passkey)?

    line 60
  8. Distinctive:

    Do you want pre-built UI modals and hooks (WalletButton, TransactionModal, token hooks)?

    line 61
  9. Distinctive:

    Do you want a lightweight wallet-only integration with minimal dependencies?

    line 62
  10. Distinctive:

    When the user's request is ambiguous or could be solved multiple ways, ask before building.

    line 67
  11. Distinctive:

    Read the matching files BEFORE doing anything else.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

VeChain Kit Skill

CRITICAL RULES

  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 VeChain Kit reference...").
  2. Information priority for VeChain topics: (a) Reference files in this skill — always the primary source. (b) VeChain MCP tools — use @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.
  3. Prefer working directly in the main conversation for VeChain tasks. Plan mode and subagents do not inherit skill context and may fall back to web search instead of using reference files.
  4. After compaction or context loss, re-read this SKILL.md to restore awareness of the reference table and operating procedure before continuing work.

Scope

Use this Skill for the VeChain Kit and dapp-kit packages specifically:

  • VeChain Kit: installation, setup, configuration, Privy integration
  • dapp-kit: lightweight wallet connection for non-React or minimal setups
  • Wallet connection, social login (email, Google, passkey), smart accounts
  • Pre-built UI components (WalletButton, TransactionModal)
  • Hooks (useWallet, useSendTransaction, useCallClause, token/domain/oracle hooks)
  • Theming and Privy setup
  • i18n with react-i18next: bi-directional language sync (Kit ↔ host app), pre-commit/ESLint for missing or unused translation keys

For generic frontend patterns (React Query, Turborepo, state management, Chakra UI, transaction UX), see the frontend skill.

Default stack

LayerDefaultAlternative
Frontend@vechain/vechain-kit@vechain/dapp-kit-react (lightweight/non-React)
NodeNode 20 LTS (managed via nvm)--

Operating procedure

1. Check Node version

Before installing dependencies or running any command:

  • Check if .nvmrc exists in the project root. If yes, run nvm use.
  • If .nvmrc does not exist, create one with 20 (Node 20 LTS) and run nvm use.

2. Detect project structure

  • turbo.json present → follow Turborepo conventions (apps/frontend, packages/*)
  • Use useThor for Thor client access (both VeChain Kit and dapp-kit v2). useConnex is deprecated everywhere.
  • Apply conditional patterns (Chakra UI, i18n, Zustand) only when the project uses them

3. Choose the right library

When to ask the user: If the project doesn't already use VeChain Kit or dapp-kit and the user hasn't specified which to use, ask before choosing. Key questions:

  • Do you need social login (email, Google, passkey)? → VeChain Kit
  • Do you want pre-built UI modals and hooks (WalletButton, TransactionModal, token hooks)? → VeChain Kit
  • Do you want a lightweight wallet-only integration with minimal dependencies? → dapp-kit
  • Non-React framework? → dapp-kit

4. Clarify before implementing

When the user's request is ambiguous or could be solved multiple ways, ask before building. Separate research from implementation.

5. Implement with VeChain-specific correctness

  • Network: always explicit (mainnet/testnet/solo)
  • Social login: Generic Delegator auto-enabled (users pay gas in VET/VTHO/B3TR); app-sponsored delegation optional for better UX; smart accounts; pre-fetch data before sendTransaction

6. Verify and deliver

A task is not complete until all applicable gates pass:

  1. Code compiles — no build errors (npm run build or equivalent succeeds)
  2. Tests pass — existing tests still pass; new logic has test coverage
  3. Risk notes documented — any signing, fee, or token-transfer implications are called out

Reference files

Read the matching files BEFORE doing anything else. See Critical Rules above.

TopicFileRead when user mentions...
Setup & configreferences/kit-setup.mdInstalling VeChain Kit, provider setup, CSS framework, Tailwind, env vars, login methods, legal documents, ecosystem apps, common pitfalls
Hooksreferences/kit-hooks.mduseWallet, useCallClause, useSendTransaction, useBuildTransaction, useSignMessage, contract reads, transactions, VET domains, NFTs, blockchain hooks, language/currency, @vechain/contract-getters
Components & modalsreferences/kit-components.mdWalletButton, TransactionModal, TransactionToast, modal hooks, isolated views
Social loginreferences/kit-social-login.mdSocial login, smart accounts, account abstraction, Privy setup, fee delegation for social login, DIY social login
Themingreferences/kit-theming.mdTheming, colors, fonts, buttons, glass effects, bottom sheet, Chakra UI compatibility, webpack fallbacks
dapp-kitreferences/frontend-dappkit.mddapp-kit, DAppKitProvider, lightweight wallet
Translations + Kitreferences/translations-vechain-kit.mdi18n, translations, language sync, VeChain Kit language, missing translations, pre-commit, ESLint, unused keys

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.