跳到正文
cccskills
免费在 GitHub 公开中文介绍

agy-customizations

了解 Antigravity 如何发现和加载自定义配置,包括配置位置与优先级。借助本指南选择并创建技能、规则、插件、钩子或 MCP 服务器,用于智能体工作流程和外部工具连接。

原文查看原文说明

Comprehensive guide and reference for the Antigravity Customization System. Use to explain how customizations work, their loading priority, discovery mechanisms, and to guide the creation of skills, rules, plugins, hooks, and MCP servers.

asgeirtj/system_prompts_leaks星标 70,416(GitHub 70,416 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 选择合适的自定义配置类型
  • 查看配置的发现位置和加载顺序
  • 创建技能或规则
  • 了解如何连接外部工具

中文介绍

功能

本指南介绍 Antigravity 的自定义配置,并帮助你根据目标选择合适的类型。规则用于应用指南,技能用于教授操作流程,插件用于打包多项功能,钩子用于在流程节点运行命令,MCP 服务器用于连接外部服务。指南还说明配置会从哪些位置被发现、同名配置冲突时如何确定优先级、技能和规则如何加载,以及如何通过 JSON 配置注册自定义项。

适用场景

当你希望智能体遵守项目规范,或想把重复的操作流程添加为技能时,可以参考本指南。需要排查多个设置之间的优先级,或规划与外部工具、服务的连接方式时也适用。

使用示例

  • “这个任务适合用技能还是规则?”
  • “请说明项目中的自定义配置按什么顺序加载。”
  • “请介绍如何配置 MCP 服务器以连接外部服务。”

注意事项

本指南面向 Antigravity Customization System。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
B部分不足钩子会运行命令,但资料未说明执行范围和确认步骤。
安装难易度所需工具和 API 密钥是否少且有说明
A良好资料提到 JSON 注册,但未列出必需工具或 API 密钥。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月30日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(7)

  • SKILL.md5.4 KB
  • docs/hooks.md13.3 KB
  • docs/json_configs.md4.8 KB
  • docs/mcp_servers.md3.3 KB
  • docs/plugins.md4.6 KB
  • docs/rules.md1.7 KB
  • docs/skills.md2.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Antigravity Customization System Guide

The Antigravity Customization System allows you to tailor the agent's behavior, teach it new workflows, enforce guidelines, and integrate it with external tools. By customizing the agent, you can transition it from a general-purpose assistant to an expert pair programmer specialized in your project's codebase and processes.


Customization Types: Quick Reference

Choose the right customization type based on your goal:

TypeConfig File/FolderScopeBest ForLearn More
RulesGEMINI.md, AGENTS.mdContextual / HierarchicalEnforcing coding styles, API restrictions, and local guidelines.Rules Guide
Skillsskills/<name>/SKILL.mdOn-Demand (Progressive)Teaching the agent multi-step procedures, runbooks, and tool workflows.Skills Guide
Pluginsplugins/<name>/plugin.jsonBundlePackaging related skills, rules, and MCP configs into a single unit.Plugins Guide
Hookshooks.jsonLifecycle EventRunning scripts/commands at specific agent lifecycle points (e.g., pre-tool execution).Hooks Guide
MCP Serversmcp_config.jsonTool IntegrationConnecting the agent to external services and custom tool providers.MCP Guide

Customization Discovery and Locations

Antigravity automatically discovers your own customizations by traversing specific directories. Built-in customizations are not found this way: the agent config names the ones it mounts.

Discovery Locations

  1. Workspace Customizations (Project-Specific):
    • Path: .agents/ (or .agent/, _agents/, _agent/) at the root of
      your project.
    • Use this to share customizations with your team by checking them into
      version control (VCS).
    • The agent walks from your current working directory up to the repository
      root (e.g., the folder containing .git) to find these directories.
  2. Directory & Project Rules (Hierarchical):
    • Paths: GEMINI.md, AGENTS.md, .agents/rules/*.md
    • As you open or edit files, the agent walks up from the file's directory
      to the repository root, loading all rules it finds.
  3. Global Configuration (Machine-Local):
    • Path: ~/.gemini/config/
    • Applies to all projects and workspaces run on your machine.

Loading Priority and Precedence

When multiple customizations are discovered, they are loaded and applied in a specific order. If there are naming conflicts (e.g., two skills with the same name), the higher-priority customization overrides the lower-priority one.

The priority order (from highest to lowest) is:

  1. Workspace Project: Hierarchical discovery walking up from the CWD to the repository root.
  2. Declared Configurations: Customizations explicitly listed in skills.json or plugins.json in your workspace.
  3. Global Discovery: ~/.gemini/config/
  4. Built-in Customizations: Default skills bundled with the application, mounted by name rather than discovered.
  5. Global Declared Configurations: Explicitly listed in global JSON configs.

How Customizations are Applied

Progressive Disclosure (Skills and Rules)

To prevent overwhelming the model's context window, Antigravity uses

progressive disclosure:

  • Skills are not loaded into the context window by default. Only their names and descriptions are injected. The full content of a skill is only loaded if the model (or the user) explicitly decides to activate it.
  • Rules with trigger: model_decision behave similarly. Only always_on rules are loaded unconditionally.

Deduplication

All customizations (especially rules) are deduplicated by their resolved file paths. A rule file will never be injected more than once in a single conversation turn, even if it matches multiple trigger conditions.


Advanced Management: JSON Configs

For customizations stored in non-standard locations, you can use skills.json and plugins.json to explicitly register them and inherit from shared configurations.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

3d-object

免费有简介

使用three.js创建立体模型,在交互式查看器中从各个角度检查形状和材质,并以OBJ + MTL或GLB格式保存,供其他三维制作软件使用。

  • 创建立体模型并从各个角度检查
  • 制作可在Blender中继续编辑的模型
  • 检查模型轮廓和材质效果
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

Audit web accessibility with Chrome DevTools MCP and Lighthouse. Inspect semantic structure, labels, keyboard focus, tap target size, and color contrast, then identify page elements that may need changes based on web.dev guidance.

中文简介正在准备中。当前显示英语简介。

  • Finding missing labels or image alternatives
  • Checking heading structure and reading order
  • Testing keyboard navigation and modal focus
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

action-items

免费有简介

在个人任务清单中记录待办事项、承诺、期限、下一步、待回复对象和阻碍原因,更新进度与依赖关系,合并重复项并归档已结束的任务。

  • 记录有期限的任务与承诺
  • 整理待回复事项及阻碍原因
  • 前置任务完成后更新依赖关系
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

agents

免费

Coordinate a task from a verifiable goal through completion. Handle work directly or split independent tasks across separate agent sessions, track progress, verify results, and arrange pull request merging when included in the goal.

中文简介正在准备中。当前显示英语简介。

  • Split independent tasks across agents
  • Check progress across ongoing tasks
  • Resume a previously started project
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

animated-video

免费有简介

将动画制作成可播放、暂停和定位时间的HTML页面,通过时间轴调整场景时长与速度,并为横屏或竖屏视频导出做好准备。

  • 制作产品操作演示动画
  • 用文字和图形解释内容
  • 制作竖屏动画
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

antigravity-guide

免费有简介

查询 Google Antigravity 的 CLI、IDE、桌面应用和 Python SDK 的使用与设置指南,并查找命令、定制功能及官方文档的对应资料。

  • 查询 agy 的操作方法
  • 了解 Antigravity IDE 设置
  • 查看 Antigravity 2.0 功能
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

查看 asgeirtj 的全部技能

报告此技能的问题