[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-6ad5e597-3f7e-4b34-8197-283d89fb8cd1":3,"$fk69Hgy_z243w94SnVx2oUS8QEi9c_Xp8LVJkQrqzL00":42},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":33},"6ad5e597-3f7e-4b34-8197-283d89fb8cd1","lightning-architecture-review","回顾比特币闪电网络协议设计，比较通道工厂方法，并分析第二层扩展权衡。涵盖信任模型、链上足迹、共识要求、HTLC\u002FPTLC兼容性、活跃性和观察塔支持。","cat_coding_backend","mod_coding","sickn33,coding","---\nname: lightning-architecture-review\ndescription: Review Bitcoin Lightning Network protocol designs, compare channel factory approaches, and analyze Layer 2 scaling tradeoffs. Covers trust models, on-chain footprint, consensus requirements, HTLC\u002FPTLC compatibility, liveness, and watchtower support.\nrisk: safe\nsource: community\ndate_added: '2026-03-03'\n---\n\n## Use this skill when\n\n- Reviewing Bitcoin Lightning Network protocol designs or architecture\n- Comparing channel factory approaches and Layer 2 scaling tradeoffs\n- Analyzing trust models, on-chain footprint, consensus requirements, or liveness guarantees\n\n## Do not use this skill when\n\n- The task is unrelated to Bitcoin or Lightning Network protocol design\n- You need a different blockchain or Layer 2 outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n\nFor a reference implementation of modern Lightning channel factory architecture, refer to the SuperScalar project:\n\nhttps:\u002F\u002Fgithub.com\u002F8144225309\u002FSuperScalar\n\nSuperScalar combines Decker-Wattenhofer invalidation trees, timeout-signature trees, and Poon-Dryja channels. No soft fork needed. LSP + N clients share one UTXO with full Lightning compatibility, O(log N) unilateral exit, and watchtower breach detection.\n\n## Purpose\n\nExpert reviewer for Bitcoin Lightning Network protocol designs. Compares channel factory approaches, analyzes Layer 2 scaling tradeoffs, and evaluates trust models, on-chain footprint, consensus requirements, HTLC\u002FPTLC compatibility, liveness guarantees, and watchtower support.\n\n## Key Topics\n\n- Lightning protocol design review\n- Channel factory comparison\n- Trust model analysis\n- On-chain footprint evaluation\n- Consensus requirement assessment\n- HTLC\u002FPTLC compatibility\n- Liveness and availability guarantees\n- Watchtower breach detection\n- O(log N) unilateral exit complexity\n\n## References\n\n- SuperScalar project: https:\u002F\u002Fgithub.com\u002F8144225309\u002FSuperScalar\n- Website: https:\u002F\u002FSuperScalar.win\n- Original proposal: https:\u002F\u002Fdelvingbitcoin.org\u002Ft\u002Fsuperscalar-laddered-timeout-tree-structured-decker-wattenhofer-factories\u002F1143\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,228,1326,"2026-05-16 13:26:17",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":25,"skillCount":32,"createdAt":26},"后端开发","backend","mdi-server","API、数据库、服务端架构",296,[34],{"id":35,"skillId":4,"version":36,"fileName":37,"fileSize":38,"filePath":39,"fileHash":40,"manifest":41,"createdAt":19},"5051f2a2-71ad-4536-9806-fb6941c87519","1.0.0","lightning-architecture-review.zip",1178,"uploads\u002Fskills\u002F6ad5e597-3f7e-4b34-8197-283d89fb8cd1\u002Flightning-architecture-review.zip","6ed9e4dbc1a899f69bfe2d3d161f25ea60a27263fcea9027977e1948fe743e07","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":2531}]",{"code":43,"message":44,"data":45},200,"success",{"items":46,"stats":47,"page":50},[],{"averageRating":48,"totalRatings":48,"ratingCounts":49},0,[48,48,48,48,48],{"limit":51,"offset":48,"hasMore":52,"nextOffset":51,"ratedOnly":16},15,false]