skills/nexus-elements-common/SKILL.md
DEPRECATED — Common hooks and helpers are now internal to Nexus One. Use Nexus One for all flows. Refer to the nexus-sdk-* agent skills for building custom integrations.
npx skillsauth add availproject/nexus-elements nexus-elements-commonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Common hooks package is now internal to Nexus One.
Shared hooks like useTransactionSteps, usePolling, useDebouncedValue, and useNexusError are bundled inside Nexus One and no longer need separate installation or direct usage.
npx shadcn@latest add @nexus-elements/nexus-one
For building custom integrations, refer to the Nexus SDK agent skills (.agents/skills/):
nexus-sdk-setup — SDK initialization and wallet wiringnexus-sdk-bridge-flows — bridge, bridgeAndTransfer, bridgeAndExecutenexus-sdk-swap-flows — swapWithExactIn, swapWithExactOut, swapAndExecutenexus-sdk-hooks-events — intent hooks and event streamingnexus-sdk-balances-metadata-utils — balances, supported chains/tokens, formattersnexus-sdk-integration — end-to-end integration guidedata-ai
Scaffolding, configuration, and integration of the Nexus One component in swap mode (config.mode = "swap"). Handles cross-chain swaps and bridges.
testing
Scaffolding, configuration, and integration of the Nexus One component in send mode (config.mode = "send"). Used to send tokens to an external recipient address cross-chain.
data-ai
Scaffolding, configuration, and integration of the Nexus One component in deposit mode (config.mode = "deposit"). Handles swapping assets and executing custom smart contract calls on the destination chain.
development
Detailed guidelines for LLMs and developer agents on migrating codebases from legacy standalone Nexus Elements widgets (swaps, fast-bridge, transfer, deposit) to the unified Nexus One component.