Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ultrathink-blockchain

БесплатноБез исполняемых скриптовНе проверен

Deep-reasoning Solana and blockchain engineering skill. Use for production blockchain development, on-chain programs, Solana transaction flows, DeFi…

x402agentот 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:

  1. 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
  2. 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
  3. 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
  4. Security

    • Instruction data manipulation risks
    • Account constraint validation
    • Reentrancy paths
    • Authority check bypasses
    • Wrong account ordering
  5. 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:

  1. Account Schema — all accounts, PDA derivations, sizes, rent
  2. Instruction Flow — ordered instructions, batching strategy, CU estimates
  3. Error Taxonomy — program errors, RPC errors, state errors, retry strategies
  4. Testing Strategy — localnet/devnet plan, mainnet dry-run, simulation vs execution
  5. 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
Полный SKILL.md на GitHub

Установить ultrathink-blockchain в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

CONTRIBUTING.mdLICENSEREADME.mddocs/blockchain-patterns.mddocs/depth-ladder.mddocs/formula.mdreferences/antipatterns.mdreferences/templates.mdsite/index.htmlultrathink-blockchain-formula.mdultrathink-blockchain.skill

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), без исполняемых скриптов.

Похожие скиллы

Сравнить ultrathink-blockchain с