skills/injective-trading-chain-analysis/SKILL.md
Analyze Injective chain-level code and protocol specs. Read Go source from injective-core, explain exchange module features (position offsetting, liquidations, margin tiers, funding), and identify spec gaps. Use when discussing chain mechanics, reviewing Injective Go code, or explaining protocol behavior.
npx skillsauth add injectivelabs/agent-skills injective-trading-chain-analysisInstall 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.
Analyze Injective chain-level protocol code (Go/Cosmos SDK). Explain exchange module mechanics, review spec completeness, and trace execution paths for derivatives trading features.
Sample prompts: ./references/sample-prompts.md
Key files for the source code of the Injective exchange module may be found in: ./references/injective-core-key-files.md
DeliverTx phase of ABCIThe exchange module (x/exchange) handles all trading on Injective.
Key areas:
MsgCreateDerivativeMarketOrder / MsgCreateDerivativeLimitOrderMsgOffsetPosition)
derivative_liquidations.goderivative_liquidations.go → ExecuteLiquidation()FundingRate = (TWAP_perp - TWAP_oracle) / TWAP_oracleMaxFundingRate parameter per marketInitialMarginRatio, MaintenanceMarginRatioMakerFeeRate, TakerFeeRate (can be negative for rebates)MinPriceTickSize, MinQuantityTickSizeOracleType, OracleScaleFactorInjectiveLabs/injective-core)injective-mcp-serversIf these skills are not available, selectively run the following commands to install them:
npx skills add InjectiveLabs/agent-skills --skill injective-mcp-servers
development
Detect breaking changes in Injective core between two tagged releases. For use in developer documentation and release notes.
development
Integrate Injective RFQ taker flows into browser apps and operational quote monitors. Use this skill when building, reviewing, or debugging RFQ gateway autosign settlement, Web3Gateway AuthZ setup, manual TakerStream quote collection, RFQ open/close flows, conditional TP/SL intents, quote uptime probes, market-readiness checks, or mainnet RFQ frontend integrations. Covers mainnet parameters, canonical decimals, quote windows, signer slots, market discovery, quote-hit diagnostics, and production RFQ gotchas.
tools
Enables management of Linear issues, teams, projects, comments, or configuration via the `linear` CLI
tools
Mass create, derive, and manage Injective wallets. Generate wallets from mnemonics (BIP-44 HD derivation), create random wallets, convert between ETH/INJ addresses, and batch fund wallets with INJ or USDT. Supports bulk wallet generation and batch funding.