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

vechain-core

Skill15 starsChanged 9 months agoMITView on GitHub

Core VeChain development — SDK usage, fee delegation (VIP-191), multi-clause transactions, dual-token model, legacy migration, and general VeChainThor development patterns.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this Skill for general VeChain development:

    line 22
  2. Distinctive:

    Before installing dependencies or running any command:

    line 50
  3. Very specific:

    Check if .nvmrc exists in the project root.

    line 52
  4. Very specific:

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

    line 53
  5. Distinctive:

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

    line 61
  6. Distinctive:

    If the scope is unclear, ask the user to narrow it

    line 63
  7. Distinctive:

    If multiple architectures are viable, present trade-offs and let the user choose

    line 64
  8. Distinctive:

    Only proceed to implementation once the approach is agreed upon

    line 65
  9. Distinctive:

    Read the matching files BEFORE doing anything else.

    line 90

≈ “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 Core 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 fee delegation 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 general VeChain development:

  • SDK usage (@vechain/sdk-core, @vechain/sdk-network, ethers adapter)
  • Fee delegation (VIP-191) — gasless transactions, backend sponsorship, vechain.energy
  • Multi-clause transactions — atomic batching of multiple operations
  • Dual-token model (VET for value, VTHO for gas)
  • Legacy migration from Connex/thor-devkit to VeChain SDK
  • General VeChainThor development patterns and reference links

For specialized topics, see the companion skills:

  • frontend — Generic frontend patterns: React Query, Turborepo, state management, Chakra UI, i18n, transaction UX
  • vechain-kit — VeChain Kit and dapp-kit packages: hooks, components, wallet connection, social login
  • smart-contract-development — Solidity, Hardhat, testing, security, gas optimization
  • vebetterdao — X2Earn apps, B3TR/VOT3, governance, VeVote
  • stargate — NFT staking, validators, delegation, VTHO rewards

Default stack

LayerDefaultAlternative
SDK@vechain/sdk-core + @vechain/sdk-network@vechain/sdk-ethers-adapter
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 to switch to the required version.
  • 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/, packages/*)

3. Clarify before implementing

When the user's request is ambiguous or could be solved multiple ways, ask before building. Do not silently research alternatives and pick one. Separate research from implementation:

  • If the scope is unclear, ask the user to narrow it
  • If multiple architectures are viable, present trade-offs and let the user choose
  • Only proceed to implementation once the approach is agreed upon

4. Implement with VeChain-specific correctness

  • Network: always explicit (mainnet/testnet/solo)
  • Gas: estimate first, use fee delegation where appropriate
  • Transactions: use multi-clause when batching benefits atomicity or UX
  • Tokens: VET for value, VTHO for gas (dual-token model)

5. Verify and deliver

A task is not complete until all applicable gates pass:

  1. Code compiles — no build errors
  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

Then provide:

  • Files changed + diffs
  • Install/build/test commands
  • Risk notes for signing, fees, token transfers

Reference files

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

TopicFileRead when user mentions...
Fee delegationreferences/fee-delegation.mdgasless, sponsored, VIP-191, delegator, vechain.energy
Multi-clausereferences/multi-clause-transactions.mdbatch, multi-clause, atomic, multiple operations
Legacy migrationreferences/sdk-migration.mdConnex, thor-devkit, migration, deprecated
Reference linksreferences/resources.mddocs URL, npm link, GitHub repo

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.