Guide a developer through building a DeFi protocol on Solana. Use when a user says "build a DEX", "AMM", "lending protocol", "vault", "yield", "liquidity pool", "DeFi protocol", "swap program", "build a DeFi app", "perpetual futures", "perps protocol", "leverage trading", or "derivatives". Reads build-context.md from a prior scaffold phase if available.
$npx -y skills add sendaifun/solana-new --skill build-defi-protocolInstalls into the current project.
Run `npx skills use "https://github.com/sendaifun/solana-new" --skill "sendaifun/solana-new/build-defi-protocol"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/sendaifun/solana-new" that are relevant to the current task. Run `npx skills add "https://github.com/sendaifun/solana-new"` and select the relevant skills, then follow their instructions.