blockchain-application
Use this skill when asked about smart contract development, Solidity, Vyper, Rust smart contracts (Solana, NEAR, Polkadot), Haskell/Plutus (Cardano)…
от j4flmao★ 47 звёзд на GitHub
Установить blockchain-application в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Blockchain Application
Purpose
Guide smart contract development across all major blockchain platforms. Covers language selection, contract architecture, security patterns, gas optimization, deployment, and cross-contract communication. Platform-agnostic at the protocol layer; chain-specific at the language and VM layer.
Agent Protocol
Trigger
"smart contract", "solidity", "vyper", "evm", "rust smart contract", "solana contract", "anchor framework", "cardano", "plutus", "haskell contract", "cairo", "starknet", "sierra", "hardhat", "foundry", "truffle", "dapp backend", "contract deployment", "gas optimization", "contract security", "cross-contract call", "chainlink", "oracle contract", "defi contract", "nft contract", "move language", "sui contract", "aptos contract"
Input Context
- Target blockchain and VM type (EVM/SVM/eUTxO/StarkNet/MoveVM)
- Contract purpose (token/DeFi/NFT/oracle/governance/bridge)
- Upgradeability requirements (proxy/non-upgradeable/beacon)
- Security requirements (audit level, formal verification need)
- Performance constraints (gas budget, compute units, TPS needs)
- Existing dependencies (OpenZeppelin, Anchor libraries, Plutus contracts)
Output Artifact
Complete contract architecture specification: platform selection, contract design, implementation approach, testing strategy, deployment plan, security analysis.
Response Format
- Platform selection: chain type + VM + language + framework + toolchain
- Contract architecture: entry points, storage layout, external dependencies, upgradeability
- Implementation: key functions with gas considerations and security annotations
- Testing strategy: unit, integration, fuzz, invariant, testnet deployment
- Deployment: constructor args, verification, proxy setup, multi-sig ownership
- Risk analysis: known vulnerabilities specific to this platform/pattern
Completion Criteria
- Contract architecture follows platform best practices (checks-effects-interactions, access control)
- Storage layout compatible with upgradeability pattern (if upgradeable)
- Gas optimization applied: storage reads minimized, calldata over memory where possible
- Security review covers platform-specific attack vectors (reentrancy, oracle manipulation, flash loans)
- Deployment plan includes verification, multi-sig ownership, and monitoring
Max Response Length
5000 tokens
Decision Trees
Platform Selection
Smart contract platform:
├── Need EVM compatibility?
│ ├── YES → Solidity or Vyper
│ │ ├── Solidity: EVM chains (Ethereum, Polygon, Arbitrum, Optimism, Base, BSC)
│ │ │ ├── Toolchain: Foundry (default), Hardhat (complex workflows)
│ │ │ └── Libraries: OpenZeppelin, Solady
│ │ └── Vyper: Simple contracts, audit-friendliness prioritized
│ │ └── Toolchain: ape, brownie
│ ├── NO → Evaluate non-EVM chains
│ │ ├── Solana → Rust + Anchor framework
│ │ │ └── Toolchain: Anchor CLI, Solana CLI
│ │ ├── Cardano → Haskell (Plutus) or Aiken
│ │ │ └── Toolchain: Plutus Tx, cardano-cli
│ │ ├── StarkNet → Cairo
│ │ │ └── Toolchain: Scarb, Starkli
│ │ ├── Sui/Aptos → Move
│ │ │ └── Toolchain: sui CLI / aptos CLI
│ │ └── NEAR/Polkadot → Rust (ink!)
│ │ └── Toolchain: cargo-contract
│ └── Cross-chain? → Consider platform-agnostic architecture
│ └── Abstract core logic, deploy adapters per chain
Upgradeability Decision
Need upgradeable contract?
├── YES:
│ ├── UUPS → Default for new projects (gas-efficient, clean storage)
│ ├── Transparent → Legacy projects, many upgrade functions
│ └── Beacon → Many child contracts (ERC-1167 clones)
├── NO → Immutable contract
│ └── Better security posture, no upgrade governance overhead
└── Hybrid → Immutable core + upgradeable periphery
Language Selection for EVM
EVM language choice:
├── Solidity (default for most projects)
│ ├── Pros: Largest ecosystem, most tutorials, OpenZeppelin libs
│ ├── Cons: More attack surface (implicit behavior, inheritance)
│ └── Best for: Complex protocols, composability-focused
├── Vyper (audit-first projects)
│ ├── Pros: Simpler, fewer foot-guns, explicit behavior
│ ├── Cons: Smaller ecosystem, limited libraries
│ └── Best for: Simple contracts, high-value vaults, DAO treasuries
└── Huff (low-level EVM)
├── Pros: Full control over bytecode, optimal gas
├── Cons: No safety rails, manual memory management
└── Best for: Gas-critical operations, precompile-like contracts
Architecture Patterns
Checks-Effects-Interactions (Mandatory)
function withdraw(uint256 amount) external {
// 1. CHECKS: validate conditions
require(balanceOf[msg.sender] >= amount, "insufficient balance");
// 2. EFFECTS: update state first
balanceOf[msg.sender] -= amount;
// 3. INTERACTIONS: external calls last
(bool ok, ) = msg.sender.call{value: amount}("");
require(ok, "transfer
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/blockchain-application-advanced.md
- references/blockchain-application-fundamentals.md
- references/cairo-language.md
- references/contract-security.md
- references/haskell-plutus.md
- references/move-language.md
- references/reference_guide_1.md
- references/reference_guide_2.md
- references/reference_guide_3.md
- references/reference_guide_4.md
- references/reference_guide_5.md
- references/reference_guide_6.md
- references/reference_guide_7.md
- references/reference_guide_8.md
- references/rust-smart-contracts.md
- references/smart-contract-patterns.md
- references/solidity-evm.md
- references/vyper-language.md
FAQ
Что делает скилл blockchain-application?
Use this skill when asked about smart contract development, Solidity, Vyper, Rust smart contracts (Solana, NEAR, Polkadot), Haskell/Plutus (Cardano), Cairo/StarkNet, dApp backend development, Truffle, Hardhat, Foundry, Anchor, and blockchain application patterns. Languages: Solidity, Vyper, Rust, Haskell, Cairo, Move. Covers EVM-based development (Ethereum, Polygon, Arbitrum, Optimism), SVM-based development (Solana), eUTxO-based development (Cardano), StarkNet/STARK-based development (Cairo), smart contract security, gas optimization, upgradeable contracts, and cross-contract communication. Do NOT use for: blockchain core protocol (use blockchain-core), web3 frontend (use blockchain-web3), or testing (use blockchain-testing).
Как установить скилл blockchain-application?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blockchain-application запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…