ultrathink-blockchain
БесплатноБез исполняемых скриптовНе проверенDeep-reasoning Solana and blockchain engineering skill. Use for production blockchain development, on-chain programs, Solana transaction flows, DeFi…
от x402agent★ 26 звёзд на GitHubОб этом скилле
Ultrathink Blockchain
A Claude Code skill for building production Solana systems with deep reasoning.
Activation
This skill activates when the user is working on blockchain development — specifically Solana — and needs production-quality code with proper transaction handling, MEV protection, and failure resilience.
Trigger phrases: blockchain, solana, on-chain, web3, defi, token, swap, sniper, anchor, program, transaction, RPC, Helius, Jito, MEV, PDA
Protocol
When this skill is active, follow the Ultrathink Blockchain Formula:
Phase 1: Context Dump
Before writing any blockchain code, establish the environment:
Context: [chain] [network: mainnet/devnet/testnet]
Stack:
- Runtime: [Node.js/Bun + TypeScript | Rust/Anchor]
- RPC: [Helius/Quicknode/Triton + features used]
- Data: [Birdeye/Jupiter/on-chain reads]
- Execution: [Jito bundles / standard RPC / both]
- Wallet: [Keypair from env / browser wallet / multisig]
Constraints:
- Transactions must land in 1-2 slots or fail fast
- All RPC calls need retry logic with exponential backoff
- Assume network is adversarial (MEV, failed txs, RPC lag)
- Compute units are precious — simulate before send
- Every transaction needs priority fee estimation
If the user hasn't provided this context, ask for it before writing code. This prevents generic web2 patterns from leaking in.
Phase 2: Intent Declaration
Ensure the goal is dimensional, not vague:
- Bad: "Build me a swap"
- Good: "Build a Jupiter swap executor that handles multi-hop routes with <200ms latency, uses Jito for MEV protection, and retries with fresh blockhash on failure"
If the user's intent is vague, help them make it specific by asking about success criteria, latency requirements, and failure tolerance.
Phase 3: Extraction Interview
Before writing code, extract requirements through structured questioning. Ask 3-5 questions at a time covering:
Architecture:
- Client-side (TypeScript) or on-chain program (Rust/Anchor)?
- What programs/accounts does this interact with?
- Deploy new contracts or call existing?
Execution:
- Latency requirements?
- Batch or single transactions?
- Confirmation strategy (processed/confirmed/finalized)?
Data:
- What on-chain state to read?
- Real-time needs (websockets vs polling)?
- Historical data requirements?
Risk:
- Max value at risk per transaction?
- MEV concerns?
- Unattended operation requirements?
Existing code:
- Greenfield or integrating with existing system?
- What's already built?
Reflect requirements back for confirmation before proceeding.
Phase 4: Ultrathink
Activate deep reasoning on the critical areas. Focus ultrathink — don't waste tokens on obvious code.
Always ultrathink about:
Transaction Structure
- Instruction ordering and dependencies
- Account validation (signer, writable, PDA derivation)
- Compute unit estimation with buffer
- Lookup tables for address compression
- Blockhash freshness and retry strategy
MEV Exposure
- What can a searcher extract from this transaction?
- Should this go through Jito bundles?
- Backrun opportunities being created
- Sandwich risk and prevention
- Worst-case slippage if frontrun
State Race Conditions
- Account state changes between read and write
- Stale blockhash handling
- Concurrent account access
- Durable nonce requirements
- Retry strategy that doesn't double-spend
Security
- Instruction data manipulation risks
- Account constraint validation
- Reentrancy paths
- Authority check bypasses
- Wrong account ordering
Failure Modes
- What breaks at 3am with no one watching?
- RPC provider outages
- Cascading failures
- Orphaned state / open positions
Phase 5: Plan Mode
Present the architecture before writing code:
- Account Schema — all accounts, PDA derivations, sizes, rent
- Instruction Flow — ordered instructions, batching strategy, CU estimates
- Error Taxonomy — program errors, RPC errors, state errors, retry strategies
- Testing Strategy — localnet/devnet plan, mainnet dry-run, simulation vs execution
- Monitoring — logs, metrics, alert conditions
Wait for user approval before proceeding to implementation.
Phase 6: Constraints (Non-Negotiable)
Every blockchain implementation must include:
- Retry logic on all RPC calls (exponential backoff)
- Transaction simulation before every send
- Dynamic priority fees (Helius API or equivalent)
- Jito bundles for value-bearing transactions
- Explicit timeouts on all network operations
- Graceful degradation when dependencies fail
- Comprehensive error types (no generic throws)
- Structured logging with correlation IDs
Phase 7: Execute
Write full, production-quality files:
- TypeScript strict mode, no
any - Pure functions where possible
- Explicit state machines for async flows
- Complete
Установить ultrathink-blockchain в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ultrathink-blockchain?
Deep-reasoning Solana and blockchain engineering skill. Use for production blockchain development, on-chain programs, Solana transaction flows, DeFi integrations, token bots, swaps, Anchor/Rust programs, RPC handling, Helius/Jito execution, MEV analysis, PDA/account validation, retry logic, simulations, monitoring, or security hardening.
Как установить скилл ultrathink-blockchain?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ultrathink-blockchain запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic