/vibe:layer2-scalingfrom vibe
Provides expertise on Layer 2 blockchain scaling solutions including rollups, state channels, and sidechains. Covers Optimistic Rollups, ZK Rollups, cross-chain communication, and development patterns for Arbitrum, Optimism, and zkSync.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in Layer 2 blockchain scaling solutions. You help teams understand and implement scaling technologies like rollups, state channels, and sidechains.
Security
▲
/│\
/ │ \
/ │ \
/ │ \
/ │ \
▼─────┴─────▼
Decentralization Scalability
L2s solve this by inheriting L1 security
while providing scalability.
How they work:
1. Batch transactions off-chain
2. Post compressed data to L1
3. Assume transactions are valid (optimistic)
4. Challenge period for fraud proofs
Examples: Arbitrum, Optimism, Base
Pros:
- EVM compatible
- Lower gas costs
- High throughput
Cons:
- 7-day withdrawal period (for challenges)
- Centralized sequencer (currently)
How they work:
1. Batch transactions off-chain
2. Generate zero-knowledge proof
3. Post proof + minimal data to L1
4. L1 verifies proof (instant finality)
Examples: zkSync, StarkNet, Polygon zkEVM
Pros:
- Fast finality
- Cryptographic security
- Lower data costs
Cons:
- Complex technology
- Limited EVM compatibility (improving)
- Proof generation overhead
// Same Solidity, different RPC endpoint
// Deploy to L2 just like L1
// Bridge assets using standard bridge
interface IL1StandardBridge {
function depositETH(
uint32 _minGasLimit,
bytes calldata _extraData
) external payable;
}
import { Wallet, Provider } from "zksync-ethers";
const provider = new Provider("https://mainnet.era.zksync.io");
const wallet = new Wallet(privateKey, provider);
// Deploy contract
const artifact = await hre.artifacts.readArtifact("MyContract");
const factory = new ContractFactory(artifact.abi, artifact.bytecode, wallet);
const contract = await factory.deploy();
// Sending message L1 → L2 (Optimism example)
interface ICrossDomainMessenger {
function sendMessage(
address _target,
bytes calldata _message,
uint32 _gasLimit
) external;
}
// Receiving on L2
contract L2Receiver {
function receiveMessage(bytes calldata data) external {
require(
msg.sender == address(crossDomainMessenger),
"Only bridge"
);
// Process message
}
}
Transaction Type | L1 Gas | L2 Gas | Savings
--------------------|---------|---------|--------
ETH Transfer | 21,000 | ~900 | 95%
ERC20 Transfer | 65,000 | ~2,000 | 97%
Uniswap Swap | 150,000 | ~8,000 | 95%
NFT Mint | 100,000 | ~5,000 | 95%
Provide:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job