dsh-plugin-antigravity-rules

把 ~/.agents/rules 和工作区 .agents/rules 里的 Google Antigravity 规则加进系统提示:always_on 规则全文注入,其余以目录形式列出,模型可用 antigravity_rule 工具加载,或在触及的文件匹配规则 glob 时自动激活。规则只是提示词层面的指引,不是强制执行,模型也能用同一个工具把它们关掉。设置写在工作区的 .agents/rules/settings.json。

插件介绍

把 ~/.agents/rules 和工作区 .agents/rules 里的 Google Antigravity 规则加进系统提示:always_on 规则全文注入,其余以目录形式列出,模型可用 antigravity_rule 工具加载,或在触及的文件匹配规则 glob 时自动激活。规则只是提示词层面的指引,不是强制执行,模型也能用同一个工具把它们关掉。设置写在工作区的 .agents/rules/settings.json。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Domush/dsh-plugin-antigravity-rules

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。