# Using Sparklend Adapter

> How to use the SparkLend adapter for the functionality implemented in this repo (market reads, user state, supply/withdraw, borrow/repay, collateral, rewards, and native-token flows).

- Skill: `majiayu000/using-sparklend-adapter` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/using-sparklend-adapter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/using-sparklend-adapter/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/using-sparklend-adapter

---


## When to use

Use this skill when you are:
- Reading SparkLend markets on supported chains
- Reading a user's SparkLend reserve position or single-chain account state
- Writing scripts that supply, withdraw, borrow, repay, manage collateral, claim rewards, or handle native-token borrow/repay on SparkLend

## How to use

- [rules/high-value-reads.md](rules/high-value-reads.md) - Markets, reserve positions, and single-chain user state
- [rules/execution-opportunities.md](rules/execution-opportunities.md) - Supply/withdraw/borrow/repay/collateral/rewards/native flows
- [rules/gotchas.md](rules/gotchas.md) - Single-chain behavior, method signatures, units, and native-token handling

