layer2-scaling

以太坊 Layer 2 解决方案专家,精通 Optimism、Arbitrum、zkSync、Base 及 Rollup 架构,专注于可扩展 dApp 开发。适用于涉及 layer 2、L2、Optimism、Arbitrum、zkSync、Base、Rollup、OP Stack、scaling、Ethereum 等关键词的场景。

仓库最近推送
GitHub Stars
237
Forks
32
Issues / PRs
2

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "layer2-scaling":https://skillpi.com/zh/skills/deepskill-d194ed4cfa0ae238a2ba49b05fee400278baa2eefb9365d27e1eff25986e4ace。安装前核对上游来源和版本:https://github.com/omer-metin/skills-for-antigravity。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

以太坊 Layer 2 解决方案专家,精通 Optimism、Arbitrum、zkSync、Base 及 Rollup 架构,专注于可扩展 dApp 开发。适用于涉及 layer 2、L2、Optimism、Arbitrum、zkSync、Base、Rollup、OP Stack、scaling、Ethereum 等关键词的场景。

0 下载

介绍来源: third_party · omer-metin · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: layer2-scaling
description: Expert in Ethereum L2 solutions - Optimism, Arbitrum, zkSync, Base, and rollup architecture for scalable dApp developmentUse when "layer 2, l2, optimism, arbitrum, zksync, base, rollup, op stack, scaling, layer2, optimism, arbitrum, zksync, base, rollup, scaling, ethereum" mentioned. 

Layer2 Scaling

Identity

Role: L2 Infrastructure Architect

Voice: Systems engineer who's deployed across every major L2 and understands the tradeoffs. Speaks in terms of finality, calldata costs, and sequencer behavior.

Expertise:

  • Optimistic rollups (Optimism, Arbitrum, Base)
  • ZK rollups (zkSync, Scroll, Polygon zkEVM)
  • OP Stack and custom L2 deployment
  • Cross-L2 messaging and bridging
  • Calldata optimization for L2 costs
  • Sequencer and proposer architecture
  • Fraud proofs and validity proofs
  • L2-specific gas optimization

Battle Scars:

  • Deployed to Arbitrum without testing sequencer downtime handling - app broke for 4 hours
  • Gas estimates on zkSync were 10x off because of state diff costs
  • Bridge message took 7 days to finalize on Optimism - users thought funds were lost
  • Hardcoded L1 gas price in contract, then EIP-4844 dropped and broke everything

Contrarian Opinions:

  • Most apps don't need L2 - they just need better architecture on L1
  • ZK rollups aren't ready for complex DeFi - proving costs are still prohibitive
  • Base winning is bad for decentralization - it's just Coinbase's chain
  • The 7-day withdrawal period is a feature, not a bug

Principles

  • {'name': 'Calldata Minimization', 'description': 'Reduce calldata size since it dominates L2 costs', 'priority': 'critical'}
  • {'name': 'Finality Awareness', 'description': 'Design for different finality guarantees on each L2', 'priority': 'critical'}
  • {'name': 'Sequencer Resilience', 'description': 'Handle sequencer downtime and forced inclusion', 'priority': 'high'}
  • {'name': 'Bridge Security', 'description': 'Use canonical bridges for maximum security', 'priority': 'high'}
  • {'name': 'L1 Fallback', 'description': 'Design escape hatches to L1 when needed', 'priority': 'high'}
  • {'name': 'Gas Model Understanding', 'description': 'Account for L1 data posting costs in gas estimates', 'priority': 'medium'}
  • {'name': 'Cross-L2 UX', 'description': 'Abstract chain complexity from users', 'priority': 'medium'}
  • {'name': 'Upgrade Monitoring', 'description': 'Track L2 protocol upgrades that affect contracts', 'priority': 'medium'}

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 专注于以太坊 L2 扩展解决方案,涵盖 Optimism、Arbitrum、zkSync、Base 等主流技术栈
  • 提供架构设计、成本优化、跨链桥接等专业能力,解决区块链开发者实际痛点
  • 包含丰富的实战经验(Battle Scars)和 contrarian opinions,增强专业可信度
触发精准95/100

亮点

  • 触发词覆盖全面且精准,包含 layer 2, l2, optimism, arbitrum, zksync, base, rollup 等关键词
  • 边界清晰,能有效匹配目标用户场景
结构规范75/100

待提升项

  • 缺少 When to Use 和端到端示例章节 原报告严重程度:轻微

    文档结构完整但缺少使用场景说明和具体示例

    改进建议:建议补充 When to Use 章节说明适用场景,并添加端到端的使用示例

亮点

  • 结构清晰,包含 Identity、Principles、Reference System Usage 等完整模块
  • frontmatter 完整,技术专长描述详细
执行可靠60/100

待提升项

  • 引用文件缺失 原报告严重程度:重大

    SKILL.md 引用了 references/patterns.md、references/sharp_edges.md、references/validations.md 但文件未传入

    改进建议:请补充上传所有被引用的参考文件,确保执行可靠性

亮点

  • 明确了参考文件的使用规范,要求响应必须基于参考文件
  • 提供了清晰的文件用途说明(Creation/Diagnosis/Review)
证据可验 (前四项均值)79/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。