什麼是 data-structure-protocol?
為代理提供程式碼庫的持久結構記憶 - 導航依賴關係、追蹤公共 API 並了解連接存在的原因,而無需重新讀取整個儲存庫。 來源:sickn33/antigravity-awesome-skills。
為代理提供程式碼庫的持久結構記憶 - 導航依賴關係、追蹤公共 API 並了解連接存在的原因,而無需重新讀取整個儲存庫。
透過命令列快速安裝 data-structure-protocol AI 技能到你的開發環境
來源:sickn33/antigravity-awesome-skills。
LLM coding agents lose context between tasks. On large codebases they spend most of their tokens on "orientation" — figuring out where things live, what depends on what, and what is safe to change. DSP solves this by externalizing the project's structural map into a persistent, queryable graph stored in a .dsp/ directory next to the code.
DSP is NOT documentation for humans and NOT an AST dump. It captures three things: meaning (why an entity exists), boundaries (what it imports and exposes), and reasons (why each connection exists). This is enough for an agent to navigate, refactor, and generate code without loading the entire source tree into the context window.
DSP models the codebase as a directed graph. Nodes are entities, edges are imports and shared/exports.
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill data-structure-protocol為代理提供程式碼庫的持久結構記憶 - 導航依賴關係、追蹤公共 API 並了解連接存在的原因,而無需重新讀取整個儲存庫。 來源:sickn33/antigravity-awesome-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill data-structure-protocol 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/sickn33/antigravity-awesome-skills