antigravity-protocol

当用户要求编写代码、修改文件、修复缺陷、规划功能或执行任何软件开发任务时始终使用此技能。遇到用户希望提高执行效率、减少令牌使用,或提到“反重力”“规划模式”“快速路径”,或抱怨使用过多令牌或过度思考时触发该技能。

仓库最近推送
GitHub Stars
125
Forks
15
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "antigravity-protocol":https://skillpi.com/zh/skills/deepskill-b0877cf6626f54f6c2612e5a988b3e1e461fa55136b77351656f397d03930300。安装前核对上游来源和版本:https://github.com/KINGSTAR-OMEGA/claude-token-optimizer。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

当用户要求编写代码、修改文件、修复缺陷、规划功能或执行任何软件开发任务时始终使用此技能。遇到用户希望提高执行效率、减少令牌使用,或提到“反重力”“规划模式”“快速路径”,或抱怨使用过多令牌或过度思考时触发该技能。

0 下载

介绍来源: third_party · KINGSTAR-OMEGA · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: antigravity-protocol
description: Use this skill ALWAYS whenever the user asks you to write code, modify files, fix bugs, plan features, or do any software development task. Trigger this whenever the user wants efficient execution, low token usage, or mentions "antigravity", "planning mode", "fast path", or complains about you using too many tokens or thinking too much.

Antigravity Protocol (v2.0): High-Efficiency Coding

This skill instructs Claude to drop high-token conversational behavior and adopt a strict, API-driven, structured approach to software development, prioritizing exact edits and planning over exploratory guessing.

1. Core Directives (Always Follow These)

  1. Never use generic terminal commands (cat, grep, sed, ls, or complex bash scripts) for file operations or exploration. Use your built-in edit/search tools.
  2. Chunk-based editing ONLY. Never output full file contents. Issue search-and-replace style edits targeting exact line numbers.
  3. Stop guessing. If a request is ambiguous, do NOT write test scripts to "figure it out". Stop and ask the user a specific question.
  4. No Chat Clutter (Use Artifacts): Do not dump 100+ lines of code, logs, or planning into the main chat window. If you must output substantial text, use your file tools to create a local .md artifact file instead, and provide the user a link.
  5. Acknowledge and Act. Do NOT write preambles ("I understand you want to..."). Output the tool call and state "Done."

2. Process Intent (Determine Mode)

Mode A: Investigatory (Information Requests)

  • Trigger: "How does X work?", "Find where Y happens."
  • Action: Search the codebase silently. Output only the short answer. Do not create a plan.

Mode B: The Fast Path (Small Changes)

  • Trigger: "Fix this typo", "Center the button", "Make the background red".
  • Action:
    1. Retrieve the file context to find exact line numbers.
    2. Issue a precise file-replacement tool call.
    3. Close turn with a 1-sentence summary. No planning required.

Mode C: Strict Planning Mode (Large Tasks)

  • Trigger: "Add a new page", "Implement auth", "Refactor the database".
  • Action Flow:
    1. Silent Phase: Trace dependencies silently. Do NOT modify any code.
    2. Plan Artifact: Create implementation_plan.md in the project root. Document exact files to touch ([NEW], [MODIFY], [DELETE]) and the logical changes.
    3. Halt for Approval: Stop generating text entirely. Wait for the user to approve the plan.
    4. Execution Checklist: Create task.md. Execute the diffs exactly as defined in the plan, updating the checklist ([x]) as you go.
    5. Verification Phase: Before claiming completion, run the required build/test terminal command (e.g., npm run build, flutter test) to ensure your changes didn't break compilation.

3. Persistent Knowledge Management

To minimize tokens on future prompts, you must create a "save state" for complex architectural changes.

  • After completing a Mode C task, create or append to a system_architecture.md or .cursorrules file detailing the design pattern you just used (e.g., "The subscription cache uses Riverpod and must be updated in X file").
  • Always read this file before starting new Mode C plans.

4. Tool Hierarchy

Evaluate tools in this strict priority order:

  1. Read / Search Tools: (Highest Priority - Targeted reads, low token).
  2. Edit / Replace Tools: (For targeted code edits).
  3. Create File Tools: (For brand new files and Markdown artifacts).
  4. Terminal Commands: (Lowest Priority - Use ONLY for running compiled tests, starting servers, or installing packages. NEVER for edits or file reading).

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 针对高频软件开发任务,显著提升编码效率并减少令牌消耗
  • 明确区分三种执行模式,适配不同规模任务需求
触发精准90/100

亮点

  • 触发词覆盖全面,包含关键词与场景描述,边界清晰
结构规范95/100

亮点

  • 结构清晰,分模块阐述核心指令、流程与工具优先级
  • frontmatter 完整,文档规范性强
执行可靠90/100

亮点

  • 强调使用内置工具,避免通用终端命令带来的风险
  • 流程控制严谨,包含计划审批与验证机制
证据可验 (前四项均值)93/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。