zhaoxinghua09-cell

Lgd Skeleton — AI skill for Claude Code

AI community

LGD build-time honest scaffold: zero-dependency, fail-closed gates for AI skills and tools (G1-G16).

How to install Lgd Skeleton

This entry records only its repository, not the path inside it, so there is no exact command to give. Open zhaoxinghua09-cell/lgd-skeleton and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Lgd Skeleton does

LGD build-time honest scaffold: zero-dependency, fail-closed gates for AI skills and tools (G1-G16).

Alternatives in AI

  • WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
  • Dsh Auto Review — Second-model AI auto-review for DeepSeek Harness approval requests: a read-only reviewer subagent returns stru 155 ★
  • OmniGlyph — Cut your Claude bill 59–70% by rendering bulky LLM context as dense PNG pages — 100% read accuracy, exact per 99 ★

README

LGD 母骨架 · lgd-skeleton

**Agent 无关 · 零依赖 · fail-closed 的开源技能/工具骨架** —— 让个人零门槛"说想法即搭建",让企业用 Git-native 统一治理团队 AI,让 AI 自己能发现并参与。

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![Gates: fail-closed](https://img.shields.io/badge/gates-fail--closed-green.svg)](gates/gates.py) [![Tests: negative-controls passing](https://img.shields.io/badge/tests-negative--controls%20passing-brightgreen.svg)](scaffold_test.py) [![Version](https://img.shields.io/badge/version-1.0.0-blue.svg)](VERSION)

为什么是它(差异化)

通用脚手架(bolt / v0 / Lovable)能"说想法即生成",但**安全是行业公认缺口**(OWASP、OWASP Agentic Top 10 报告均指出 vibe-coding 产出的安全隐患)。LGD 母骨架把 **13 道 fail-closed 门禁(映射 OWASP Agentic Top 10 2026 build-time)+伦理护栏**内建进生成骨架——这是与通用工具拉开身位的抓手。⚠️ **注意**:本骨架门禁为 build-time 的 naive-pattern 启发式,**不构成安全边界**,存在已文档化的绕过面;运行时隔离须配合 AGT/容器,见 OWASP-COMPLIANCE.md 与 SECURITY.md。

维度 通用脚手架 团队分发(teamAI) 逆向(REA) 克隆站 LGD 母骨架
说想法即生成 ✅ ❌ ❌ ❌ ✅
安全门禁内建 ❌ ❌ ❌ ⚠️ ✅
完整性可验证 ❌ ⚠️ ❌ ❌ ✅
伦理护栏 ❌ ❌ ⚠️ ⚠️ ✅
零依赖/可移植 ❌ ❌ ⚠️ ❌ ✅
Agent 无关 ❌ ⚠️ ✅ ⚠️ ✅
OWASP Agentic Top10(2026) build-time ❌ ❌ ❌ ❌ ✅

对个人:零门槛上手

# 1. 说想法即生成技能骨架(自动跑门禁 + 算 digest)
python scaffold.py "做一个 PDF 表单自动填充工具"

# 2. 校验任意模块
python scaffold.py --verify modules/pdf

# 3. 生成签名卡(完整性 + 溯源)
python scaffold.py --sign modules/pdf

# 4. 用 TypeScript 端口校验(无需 Python 环境)
node --experimental-strip-types gates/gates.ts modules/pdf

生成的骨架默认过 LGD 门禁,密钥不硬编码、无路径穿越、无注入、带 SHA-256 完整性校验。双端口共享同一套正则 / 熵 / realpath 语义;Python 端口 `gates/gates.py` 另加 AST 级检测,对 TypeScript 端口 `gates/gates.ts` 构成**保守超集**——凡 TS 能拦的,Python 一定也能拦(反之不成立,已文档化)。

对企业:Git-native 团队治理

借鉴 Tencent teamAI 思路(push → review & merge → pull),把 `modules/` 当作版本化、可 MR 审查的团队 AI 资产:

  • 成员 scaffold.py 生成候选 → 开 MR → reviewer 合并 → 他人下次会话自动 pull。
  • AGENTS.md 内嵌门禁钩子,AI 贡献者无法跳过门禁。
  • 九声文化 + LGD 门禁作为团队"宪法"