blockchain-core
Use this skill when asked about blockchain fundamentals, consensus mechanisms, PoW, PoS, gas, staking, blockchain data structures, DAG consensus, Avalanche…
от j4flmao★ 47 звёзд на GitHub
Установить blockchain-core в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Blockchain Core
Purpose
Guide core blockchain protocol engineering covering consensus mechanisms, state machine design, P2P networking, mempool architecture, MEV economics, and node implementation. This skill enables building and analyzing blockchain protocols from first principles.
Agent Protocol
Trigger
"blockchain core", "consensus mechanism", "proof of work", "proof of stake", "PoW", "PoS", "DAG consensus", "Avalanche consensus", "Snowman", "Hashgraph", "gas", "staking", "MEV", "miner extractable value", "PBS", "proposer builder separation", "MEV-Boost", "ePBS", "blockchain node", "C++ blockchain", "Go blockchain", "blockchain protocol", "mempool", "transaction pool", "block finality", "blockchain data structure", "merkle tree", "cryptography blockchain", "p2p blockchain", "blockchain state machine", "economic security", "fork choice rule", "finality gadget", "light client"
Input Context
- Consensus family (Nakamoto/BFT/hybrid/DAG)
- State machine model (UTXO/account/WASM)
- Network topology (permissionless/permissioned/hybrid)
- Performance requirements (TPS, finality time, node requirements)
- Security model (adversary threshold, economic security assumptions)
- Implementation language (Go/Rust/C++)
Output Artifact
Protocol architecture specification: consensus mechanism with fork choice rule, state machine design, network layer architecture, mempool policy, security analysis, implementation plan.
Response Format
- Architecture overview: consensus family + state model + network topology + finality model
- Key mechanisms: fork choice rule, block production, validation, finality
- State machine: UTXO or account model, state transition function, state storage
- Network layer: gossip protocol, peer discovery, block propagation
- Security & economics: adversary model, economic security, MEV exposure
- Implementation guidance: language choice, database backend, key data structures
Completion Criteria
- Consensus mechanism specification includes: finality type, fork choice rule, adversary threshold
- State machine design specifies state transition function and storage layout
- Network layer defines gossip protocol and peer discovery mechanism
- Security analysis covers: 51% attacks, long-range attacks, selfish mining, eclipse attacks
- Implementation plan specifies: language, database, networking library, testing approach
Max Response Length
5000 tokens
Decision Trees
Consensus Protocol Selection
Blockchain type:
├── Permissionless (anyone can validate)
│ ├── Need high throughput (>1000 TPS)?
│ │ ├── YES → DAG-based (Avalanche, Hashgraph, Narwhal)
│ │ └── NO → Nakamoto consensus
│ │ ├── PoW → Bitcoin, Litecoin (energy-intensive, simple)
│ │ └── PoS → Ethereum, Cosmos (energy-efficient, complex)
│ ├── Need fast finality (<1 sec)?
│ │ ├── YES → BFT-based (Tendermint, HotStuff, Jolteon)
│ │ └── NO → Nakamoto probabilistic finality
│ └── Need low node requirements?
│ ├── YES → PoS with light client support
│ └── NO → Full node with archival storage
├── Permissioned (known validators)
│ ├── Crash fault tolerance → Raft, Paxos
│ └── Byzantine fault tolerance → PBFT, IBFT, HotStuff
└── Hybrid → Nominated PoS (Polkadot), Leased PoS (Waves)
State Machine Model
├── UTXO model (Bitcoin)
│ ├── Pros: Parallelizable, private, simple validation
│ ├── Cons: State bloat, complex smart contracts
│ └── Use: Value transfer, UTXO-based smart contracts (Cardano)
├── Account model (Ethereum)
│ ├── Pros: Intuitive, composable, efficient smart contracts
│ ├── Cons: Replay protection needed, sequential nonce
│ └── Use: General purpose smart contracts
└── Hybrid (Solana, Aptos)
├── Account-based with parallel execution
└── Requires static read/write set declaration
Finality Type Decision
Finality guarantee needed:
├── Probabilistic (Nakamoto)
│ ├── Finality probability increases with confirmations
│ ├── Bitcoin: 6 confirmations = 99.9% confidence
│ ├── Pros: Simple, partition-resistant
│ └── Cons: No deterministic finality
├── Deterministic instant (BFT)
│ ├── Finality after 2/3+ supermajority
│ ├── Tendermint: 1-3 second finality
│ ├── Pros: Instant finality, predictable
│ └── Cons: Requires validator set, liveness-break if <2/3 online
├── Economic (PoS checkpoints)
│ ├── Finality after economic commitment
│ ├── Ethereum Casper FFG: ~13 min finality
│ └── Pros: Finality without BFT overhead
└── Probabilistic DAG (Avalanche)
├── Very high confidence after 3 rounds
└── ~1 second to confidence >99.99%
Mempool Architecture Decision
Tx ordering strategy:
├── Public mempool (Ethereum, Bitcoin)
│ ├── All pending txs visible to all → MEV extraction
│ ├── Fee-based ordering (gas price auction)
│ └── Policy: RBF, CPFP, eviction
├── Private mempool (Flashbots, Dark Forest)
│ ├── Txs visible only to select validator
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/blockchain-core-advanced.md
- references/blockchain-core-fundamentals.md
- references/blockchain-data-structures.md
- references/consensus-deep-dive.md
- references/cryptography-foundations.md
- references/dag-consensus.md
- references/economic-security-mev.md
- references/gas-and-staking.md
- references/node-implementation.md
- references/p2p-networking.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/state-machines.md
FAQ
Что делает скилл blockchain-core?
Use this skill when asked about blockchain fundamentals, consensus mechanisms, PoW, PoS, gas, staking, blockchain data structures, DAG consensus, Avalanche, MEV, PBS, economic security, blockchain node implementation. Languages: C++, Go. Covers core protocol engineering including consensus algorithms (Nakamoto, PBFT, HotStuff, Snowman, DAG-BFT), MEV taxonomy and supply chain (PBS, ePBS, MEV-Boost, FOCIL), cryptographic primitives (hashing, ECDSA, BLS, Merkle proofs), state machine design (UTXO, account model), mempool and transaction pool, P2P networking, and blockchain storage engines. Do NOT use for: smart contract development (use blockchain-application), web3 frontend integration (use blockchain-web3), or general cryptography outside blockchain context.
Как установить скилл blockchain-core?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blockchain-core запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate 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…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…