skills/aptos/framework/SKILL.md
Expert 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.
npx skillsauth add raintree-technology/claude-starter aptos-frameworkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Expert on the Aptos Framework (0x1 address) - the standard library of core modules.
aptos_framework/
├── account.move - Account management
├── coin.move - Fungible token standard (v1)
├── fungible_asset.move - Fungible asset standard (v2)
├── object.move - Object model primitives
├── timestamp.move - Block timestamp access
├── table.move - Key-value storage
├── smart_table.move - Auto-split table
├── event.move - Event emission
├── randomness.move - Secure randomness (VRF)
├── aggregator_v2.move - Parallel execution
├── resource_account.move - Deterministic deployment
move-stdlib/
├── vector.move - Dynamic arrays
├── option.move - Optional values
├── string.move - UTF8 strings
├── signer.move - Signer operations
├── error.move - Error codes
use aptos_framework::account;
// Create account
account::create_account(new_address);
// Get sequence number
account::get_sequence_number(addr);
// Check existence
account::exists_at(addr);
// SignerCapability pattern
let (resource_signer, signer_cap) = account::create_resource_account(deployer, b"SEED");
use aptos_framework::table::{Self, Table};
struct Registry has key {
data: Table<address, UserData>
}
table::add(&mut t, key, value);
table::borrow(&t, key);
table::borrow_mut(&mut t, key);
table::remove(&mut t, key);
table::contains(&t, key);
#[event]
struct TransferEvent has drop, store {
from: address,
to: address,
amount: u64,
}
event::emit(TransferEvent { from, to, amount });
use aptos_framework::timestamp;
timestamp::now_seconds();
timestamp::now_microseconds();
use aptos_framework::randomness;
#[randomness]
public entry fun random_mint(user: &signer) {
let random_value = randomness::u64_integer();
let amount = randomness::u64_range(100, 1000);
}
use aptos_framework::aggregator_v2::{Self, Aggregator};
struct Stats has key {
total: Aggregator<u64> // Parallel-safe counter
}
aggregator_v2::create_aggregator(0);
aggregator_v2::add(&mut agg, 1);
aggregator_v2::read(&agg);
// Deterministic address: hash(creator_address, seed)
let (resource_signer, signer_cap) = account::create_resource_account(deployer, b"SEED");
// Store capability for later use
move_to(&resource_signer, Data { signer_cap });
// Use later
let signer = account::create_signer_with_capability(&signer_cap);
struct TimeLock has key {
unlock_time: u64,
}
public fun withdraw() acquires TimeLock {
assert!(timestamp::now_seconds() >= timelock.unlock_time, ERROR_LOCKED);
}
struct Registry<K: copy + drop, V: store> has key {
data: Table<K, V>,
count: u64,
}
#[event]
struct StateChanged has drop, store {
old_state: u8,
new_state: u8,
timestamp: u64,
}
event::emit(StateChanged { old_state, new_state, timestamp: timestamp::now_seconds() });
development
Whop platform expert for digital products, memberships, and community monetization. Covers memberships API, payments, courses, forums, webhooks, OAuth apps, and checkout integration. Build SaaS, course platforms, and gated communities. Triggers on Whop, memberships, digital products, course platform, community monetization, Whop API, license keys.
development
Token-Oriented Object Notation (TOON) format expert for 30-60% token savings on structured data. Auto-applies to arrays with 5+ items, tables, logs, API responses, database results. Supports tabular, inline, and expanded formats with comma/tab/pipe delimiters. Triggers on large JSON, data optimization, token reduction, structured data, arrays, tables, logs, metrics, TOON.
development
Plaid banking API expert for financial data integration. Covers Plaid Link, Auth (account/routing numbers), Transactions, Identity verification, Balance checking, and webhooks. Build fintech apps with bank connections, ACH transfers, and transaction history. Triggers on Plaid, banking API, Plaid Link, bank connection, ACH, financial data, transaction history.
development
Helius Solana RPC and API expert. High-performance infrastructure for Solana including RPC nodes, DAS API for NFTs/tokens, LaserStream real-time streaming, webhooks, Priority Fee API, Enhanced Transactions, and ZK Compression. Triggers on Helius, Solana RPC, DAS API, Digital Asset Standard, NFT metadata, Solana webhooks, priority fees, LaserStream, ZK compression.