aptos-core

$npx mdskill add eric861129/SKILLS_All-in-one/aptos-core

Analyze Aptos core architecture, consensus, and execution.

  • Understand AptosBFT consensus and Block-STM parallel execution.
  • Depends on Aptos Rust codebase and protocol specifications.
  • Analyzes protocol design and validator operations from queries.
  • Delivers explanations and troubleshooting guidance for developers.

SKILL.md

.github/skills/aptos-coreView on GitHub ↗
---
name: aptos-core
description: "Expert in Aptos blockchain core architecture: consensus (AptosBFT), execution (Block-STM), and networking. Use when analyzing Aptos protocol design, the Rust codebase, validator operations, or understanding how Block-STM parallel execution works."
user-invocable: true
triggers:
  - Aptos core architecture
  - AptosBFT consensus
  - Block-STM execution
  - Aptos validator setup
  - Aptos Rust codebase
  - Aptos protocol design
  - how does Aptos consensus work
  - Aptos parallel execution
---

# Aptos Core Expert

Deep technical expertise in the Aptos blockchain protocol and its Rust implementation.

## When to Use

- Analyzing Aptos core architecture and protocol design
- Understanding consensus (AptosBFT/Jolteon) and Quorum Store
- Optimizing execution with Block-STM
- Troubleshooting validator operations and state synchronization
- Researching networking and mempool internals

## Core Components

### Consensus (AptosBFT)
Aptos uses a high-performance, DAG-based consensus protocol derived from HotStuff.
- **Jolteon:** The current iteration of AptosBFT.
- **Quorum Store:** Decouples data dissemination from consensus to increase throughput.

### Execution (Block-STM)
Parallel execution engine for smart contracts.
- **Optimistic Concurrency:** Executes transactions in parallel and re-executes on conflicts.
- **Dynamic Dependency Estimation:** Improves performance by predicting access patterns.

### Storage (Jellyfish Merkle Tree)
Optimized storage for high-throughput state updates.
- **JMT:** A versioned, sparse Merkle tree designed for blockchain state.
- **State Sync:** Efficiently synchronizes state across nodes using snapshots and deltas.

## Resources

- **Aptos Core GitHub:** https://github.com/aptos-labs/aptos-core
- **Aptos Whitepaper:** https://aptosfoundation.org/whitepaper
- **Block-STM Paper:** https://arxiv.org/abs/2203.06871

More from eric861129/SKILLS_All-in-one

SkillDescription
agnixUse when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'. Validates agent configuration files against 231 rules across 10+ AI tools.
anthropic-expertExpert on Anthropic Claude API, models, prompt engineering, function calling, vision, and best practices. Triggers on anthropic, claude, api, prompt, function calling, vision, messages api, embeddings
aptos-cliExpert in Aptos CLI for account management, contract deployment, transaction submission, and node operations. Use when using the Aptos CLI to initialize profiles, deploy Move contracts, submit transactions, manage accounts, or operate Aptos nodes.
aptos-dapp-integrationExpert on building Aptos dApps with frontend integration. Covers wallet connectivity (Petra, Martian, Pontem), wallet adapter patterns, TypeScript SDK, transaction building and submission, account management, and React/Next.js integration.
aptos-frameworkExpert on Aptos Framework (0x1 standard library) modules including account, coin, fungible_asset, object, timestamp, table, smart_table, event, randomness, aggregator, and resource_account. Essential for all Aptos development.
aptos-gas-optimizationAptos gas optimization expert for Move smart contracts. Covers storage costs, execution efficiency, inline functions, aggregators for parallel execution, Table vs SmartTable vs vector tradeoffs, event optimization, struct packing, and gas profiling tools.
aptos-indexerExpert in Aptos Indexer architecture and GraphQL API for querying blockchain data. Use when querying NFTs, coin balances, or transaction history via GraphQL, designing custom processors, or optimizing data retrieval from the Aptos blockchain.
aptos-move-languageExpert on Move programming language fundamentals including abilities (copy/drop/store/key), generics, phantom types, references, global storage operations (move_to/move_from/borrow_global), signer pattern, visibility modifiers, and advanced type system features.
aptos-move-testingExpert on testing Move smart contracts including unit tests, integration tests, Move Prover formal verification, debugging strategies, test coverage, and CI/CD integration for Aptos development.
aptos-object-modelExpert on Aptos Object Model for composable, transferable on-chain assets. Use when working with ObjectCore, Object wrappers, ConstructorRef, ExtendRef, DeleteRef, TransferRef capabilities, or implementing composable asset patterns on Aptos blockchain.