Skip to content

docs: add Antigravity setup and usage guide#552

Open
vazidmansuri005 wants to merge 5 commits intoaffaan-m:mainfrom
vazidmansuri005:docs/antigravity-setup-guide
Open

docs: add Antigravity setup and usage guide#552
vazidmansuri005 wants to merge 5 commits intoaffaan-m:mainfrom
vazidmansuri005:docs/antigravity-setup-guide

Conversation

@vazidmansuri005
Copy link

@vazidmansuri005 vazidmansuri005 commented Mar 17, 2026

Summary

  • Adds a comprehensive Antigravity setup and usage guide at docs/ANTIGRAVITY-GUIDE.md
  • Links the guide from the README FAQ section

Closes #462

What's Covered

  • How the ECC install mapping works (rules → .agent/rules/, commands → .agent/workflows/, agents → .agent/skills/)
  • Expected directory structure after install
  • openai.yaml agent config format explanation
  • Install management commands (list, doctor, uninstall)
  • Cross-target comparison table (Claude Code vs Cursor vs Codex vs Antigravity)
  • Troubleshooting common issues
  • How to contribute skills with Antigravity support

Type

  • Skill
  • Agent
  • Hook
  • Command
  • Documentation

Testing

  • Verified install mapping logic against scripts/lib/install-targets/antigravity-project.js
  • Cross-referenced with SELECTIVE-INSTALL-ARCHITECTURE.md and SELECTIVE-INSTALL-DESIGN.md
  • Confirmed openai.yaml format from existing skills in .agents/skills/

Checklist

  • Follows format guidelines
  • No sensitive info (API keys, paths)
  • Clear descriptions
  • References existing architecture docs

Summary by cubic

Adds an Antigravity setup and usage guide at docs/ANTIGRAVITY-GUIDE.md and links it from the README to help users install and use ECC with .agent/. Closes #462.

  • Bug Fixes
    • Clarified .agents/ (ECC source) vs .agent/ (Antigravity runtime), the explicit mappings (rules/, commands/, agents/.agent/...), and that .agents/ is a static repo layout (not installer-mapped); removed the skills/ mapping row; added the missing agents/ step to the contributor workflow so skills deploy to .agent/skills/; fixed .agent/ path references; documented the full nested openai.yaml path.
    • Corrected tables and wording: target name antigravity; Cursor Agents/Skills marked N/A; rules called out as flattened; fixed install management flow (doctor.js diagnoses, repair.js restores) and standardized uninstall to node scripts/uninstall.js; updated README wording and linked to the guide.

Written for commit 68ca3f0. Summary will update on new commits.

Summary by CodeRabbit

  • Documentation
    • Added a comprehensive Antigravity setup guide covering quick start, installation mapping, post-install layout, agent configuration, installation management (list/repair/uninstall/state), adding custom skills, feature comparison, troubleshooting, and related resources.
    • Updated the product README to reference the new Antigravity guide.

Addresses affaan-m#462 — users were confused about Antigravity skills setup.

Adds a comprehensive guide covering:
- Install mapping (ECC → .agent/ directory)
- Directory structure after install
- openai.yaml agent config format
- Managing installs (list, doctor, uninstall)
- Cross-target comparison table
- Troubleshooting common issues
- How to contribute skills with Antigravity support

Also links the guide from the README FAQ section.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 17, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e87611cb-e033-4163-8122-5cde2a089fd7

📥 Commits

Reviewing files that changed from the base of the PR and between f3cca5c and 68ca3f0.

📒 Files selected for processing (1)
  • docs/ANTIGRAVITY-GUIDE.md
✅ Files skipped from review due to trivial changes (1)
  • docs/ANTIGRAVITY-GUIDE.md

📝 Walkthrough

Walkthrough

Adds a link to a new Antigravity guide in README.md and introduces docs/ANTIGRAVITY-GUIDE.md, a new documentation file describing Antigravity setup, layout, configuration, skill management, troubleshooting, and related resources.

Changes

Cohort / File(s) Summary
Top-level README
README.md
Updated Antigravity bullet to reference the new Antigravity Guide (docs/ANTIGRAVITY-GUIDE.md).
Antigravity documentation
docs/ANTIGRAVITY-GUIDE.md
Added comprehensive guide covering quick start/install mapping, post-install directory layout, .agents/skills openai.yaml configuration, install management (list-installed, doctor repair, uninstall, install-state tracking), adding custom skills, feature comparison, troubleshooting for skills/rules, and related resources.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐇 I found a guide beneath the sky,

Antigravity pages help me fly,
Skills and rules all laid with care,
I hop through docs and tidy the air,
A happy rabbit, guided there.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: add Antigravity setup and usage guide' directly matches the main change: adding a comprehensive Antigravity setup and usage guide documentation file.
Linked Issues check ✅ Passed The PR successfully addresses all coding-related requirements from issue #462: documents install mappings (.agents/ vs .agent/), explains openai.yaml config format, covers install-management commands (list, doctor, repair/uninstall), provides cross-target comparison, supplies troubleshooting steps, and clarifies contributor workflow.
Out of Scope Changes check ✅ Passed All changes are in scope: the new ANTIGRAVITY-GUIDE.md directly addresses issue #462 requirements, and the README.md modification adds a reference link to the guide, both supporting the documentation objective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 17, 2026

Greptile Summary

This PR adds a new docs/ANTIGRAVITY-GUIDE.md covering the full Antigravity install workflow, from quick start through troubleshooting, and links it from the README FAQ. The guide accurately reflects the three explicit installer mappings in scripts/lib/install-targets/antigravity-project.js (rules.agent/rules/, commands.agent/workflows/, agents.agent/skills/) and correctly distinguishes the static .agents/ repo layout from the installer-deployed .agent/ runtime directory.

Key observations:

  • All four issues flagged in previous review rounds (doctor/repair confusion, spurious skills/ mapping row, .agents/ auto-deploy claim, misleading openai.yaml deployment description) have been resolved in this revision.
  • The note on line 27 ends with a generic "manually copy to .agent/skills/" instruction that doesn't specify what to copy — the specific case is openai.yaml implicit-invocation metadata, not general skill content; this should be clarified so contributors don't misunderstand the recommended deployment path.
  • Step 4 of "Adding Custom Skills" describes the .agents/ static copy as "serves as a reference for Antigravity," but since .agents/ is never deployed to the runtime .agent/ directory, this phrasing incorrectly implies Antigravity the IDE can read it at runtime. The copy is more accurately described as in-repo documentation for contributors and Codex consumption.
  • The Repair a Broken Install section now correctly shows the two-step doctorrepair workflow.
  • The comparison table and directory structure examples are consistent with the actual installer code.

Confidence Score: 4/5

  • Safe to merge with minor wording improvements; no factual errors that would break user workflows.
  • The guide is largely accurate and well-structured. All previously flagged critical inaccuracies have been addressed. The two remaining comments are style/clarity issues — one about vague manual-copy guidance and one about a misleading "reference for Antigravity" phrase — neither of which would cause a user to take a wrong action (the correct path is explained elsewhere in the guide). The README change is trivially safe.
  • docs/ANTIGRAVITY-GUIDE.md — lines 27 and 115 have minor clarity issues worth a quick wording pass before merge.

Important Files Changed

Filename Overview
docs/ANTIGRAVITY-GUIDE.md New comprehensive guide for Antigravity target. Previous critical issues (doctor/repair confusion, skills mapping, .agents/ auto-deploy claim, openai.yaml misleading description) have all been addressed. Two minor clarity issues remain: the note about manual copying lacks specificity about what to copy, and step 4's "serves as a reference for Antigravity" phrasing is inaccurate since .agents/ is not deployed to the Antigravity runtime.
README.md Minor one-line update: fixes "flatten" → "flattened" grammar and adds a link to the new Antigravity guide. Change is clean and accurate.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["./install.sh --target antigravity <modules>"] --> B["install-apply.js\n(planOperations)"]
    B --> C{source path?}
    C -->|"rules"| D["createFlatRuleOperations\n→ .agent/rules/ (flattened)"]
    C -->|"commands"| E["createManagedScaffoldOperation\n→ .agent/workflows/"]
    C -->|"agents"| F["createManagedScaffoldOperation\n→ .agent/skills/"]
    C -->|"any other path\n(e.g. .agents)"| G["adapter.createScaffoldOperation\n(default scaffold, no special mapping)"]
    D --> H[".agent/ecc-install-state.json\n(records all managed files)"]
    E --> H
    F --> H
    G --> H
    H --> I["node scripts/doctor.js\nDiagnose drift"]
    I --> J["node scripts/repair.js\nRestore missing/drifted files"]
    H --> K["node scripts/uninstall.js\nRemove ECC-managed files"]
Loading

Last reviewed commit: 68ca3f0

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (1)
docs/ANTIGRAVITY-GUIDE.md (1)

59-59: Clarify the full path for openai.yaml.

Line 59 states "Each skill in .agents/skills/ includes an agents/openai.yaml file" but doesn't make the full nested path structure immediately clear.

Consider revising to:

Each skill in `.agents/skills/` includes an `agents/openai.yaml` file at the path `.agents/skills/<skill-name>/agents/openai.yaml`:

This makes it clearer that there's a nested agents/ subdirectory within each skill directory.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/ANTIGRAVITY-GUIDE.md` at line 59, The sentence claiming "Each skill in
`.agents/skills/` includes an `agents/openai.yaml` file" is ambiguous about the
nested structure; update the wording for clarity by replacing it with a line
that explicitly shows the nested path structure, e.g. state that each skill
directory under `.agents/skills/` contains an `agents/openai.yaml` file and show
the pattern `.agents/skills/<skill-name>/agents/openai.yaml`, referencing the
strings `.agents/skills/` and `agents/openai.yaml` in the updated sentence.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/ANTIGRAVITY-GUIDE.md`:
- Around line 114-125: The table's "Install target" cell uses the inconsistent
identifier `antigravity-project`; change it to `antigravity` to match the Quick
Start flags (`--target antigravity`) and the manifest "targets" arrays; update
the value in the Comparison with Other Targets table (the Install target row)
replacing `antigravity-project` with `antigravity` and verify no other table
cells or examples still use `antigravity-project`.
- Around line 107-109: Fix the typo where ".agents/" is used instead of the
correct ".agent/" in the guide and clarify the two-source workflow: update the
two occurrences that reference ".agents/skills/..." to ".agent/skills/..." and
explicitly state the three-step workflow as (1) main skill lives under
skills/your-skill-name/SKILL.md, (2) antigravity installer uses
agents/your-skill-name/agents/openai.yaml (installer auto-deploys this into the
runtime), and (3) manually mirror the SKILL.md content into
.agent/skills/your-skill-name/SKILL.md so the installer’s agents/ → .agent/ copy
is bridged; ensure the wording makes the manual copy step and the installer
behavior clear.

In `@README.md`:
- Line 833: Update the README line describing Antigravity to use the correct
adjective: change "flatten rules" to "flattened rules" in the Antigravity
description that references ".agent/" and the Antigravity Guide; ensure the
phrase reads "flattened rules" (e.g., in the string containing "**Antigravity**:
Tightly integrated setup for workflows, skills, and flatten rules in
`.agent/`.").

---

Nitpick comments:
In `@docs/ANTIGRAVITY-GUIDE.md`:
- Line 59: The sentence claiming "Each skill in `.agents/skills/` includes an
`agents/openai.yaml` file" is ambiguous about the nested structure; update the
wording for clarity by replacing it with a line that explicitly shows the nested
path structure, e.g. state that each skill directory under `.agents/skills/`
contains an `agents/openai.yaml` file and show the pattern
`.agents/skills/<skill-name>/agents/openai.yaml`, referencing the strings
`.agents/skills/` and `agents/openai.yaml` in the updated sentence.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 48201533-9d67-4ed0-8bca-b68d79300646

📥 Commits

Reviewing files that changed from the base of the PR and between fce4513 and f3111a4.

📒 Files selected for processing (2)
  • README.md
  • docs/ANTIGRAVITY-GUIDE.md

- Remove spurious skills/ row from install mapping table, add note
  clarifying .agents/skills/ is static repo layout not installer-mapped
- Fix repair section: doctor.js diagnoses, repair.js restores
- Fix .agents/ → .agent/ path typo in custom skills section
- Clarify 3-step workflow for adding Antigravity skills
- Fix antigravity-project → antigravity in comparison table
- Fix "flatten" → "flattened" grammar in README
- Clarify openai.yaml full nested path structure
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
docs/ANTIGRAVITY-GUIDE.md (1)

27-27: ⚠️ Potential issue | 🟠 Major

Fix inconsistent .agent vs .agents paths and source/runtime mapping.

These lines mix .agent/ and .agents/ and also blur source vs runtime paths. The current wording is self-contradictory and can send contributors to the wrong location. Use one consistent flow: source files in repo (agents/... + skills/...) and runtime destination (.agent/skills/...).

Proposed doc correction
-> **Note**: The `skills/` directory is not directly mapped by the installer. Skill files in `.agents/skills/` are part of the repo's static layout and must be manually mirrored if you want them in the Antigravity runtime.
+> **Note**: The `skills/` directory is not directly mapped by the installer. Skill files under `skills/` are part of the repo's static layout and must be manually mirrored into `.agent/skills/` if you want them available at runtime.

-Each skill directory under `.agents/skills/` contains an `agents/openai.yaml` file at the path `.agents/skills/<skill-name>/agents/openai.yaml` that configures the skill for Antigravity:
+For Antigravity support, the repo stores config at `agents/<skill-name>/agents/openai.yaml`; during install this is deployed to `.agent/skills/<skill-name>/agents/openai.yaml` for runtime use.

-2. Add the Antigravity agent config at `.agents/skills/your-skill-name/agents/openai.yaml` — the installer auto-deploys the `agents/` directory into `.agent/skills/` at runtime
-3. Manually mirror the `SKILL.md` content to `.agents/skills/your-skill-name/SKILL.md` — this is needed because the installer maps `agents/` → `.agent/skills/` but does not auto-transform `skills/`
+2. Add the Antigravity agent config at `agents/your-skill-name/agents/openai.yaml` — the installer auto-deploys this into `.agent/skills/` at runtime
+3. Manually mirror the `SKILL.md` content to `.agent/skills/your-skill-name/SKILL.md` — this is needed because the installer maps `agents/` → `.agent/skills/` but does not auto-transform `skills/`

Also applies to: 60-60, 113-114

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/ANTIGRAVITY-GUIDE.md` at line 27, Update the wording to consistently use
the repo source paths "agents/" and "skills/" and the runtime destination
".agent/skills/" (remove ".agents/"). Specifically, replace any ".agents"
occurrences with ".agent" and rephrase the sentence to state: source files live
in the repository under "agents/" and "skills/" and must be mirrored to the
runtime under ".agent/skills/" if you want them available to Antigravity; ensure
similar corrections are applied to the other mentioned occurrences (lines
referencing ".agent"/".agents" and source vs runtime mapping).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/ANTIGRAVITY-GUIDE.md`:
- Around line 50-54: Update the example directory tree so it matches the
description that each skill uses a nested agents/openai.yaml; replace the flat
files listed under .agent/skills/ (planner.md, code-reviewer.md, tdd-guide.md)
with per-skill subdirectories that contain an agents/openai.yaml (e.g.,
.agent/skills/planner/agents/openai.yaml and corresponding README or
planner.md), and make the same change for the second occurrence (lines 58–60) so
the tree and the referenced openai.yaml paths are consistent.

---

Duplicate comments:
In `@docs/ANTIGRAVITY-GUIDE.md`:
- Line 27: Update the wording to consistently use the repo source paths
"agents/" and "skills/" and the runtime destination ".agent/skills/" (remove
".agents/"). Specifically, replace any ".agents" occurrences with ".agent" and
rephrase the sentence to state: source files live in the repository under
"agents/" and "skills/" and must be mirrored to the runtime under
".agent/skills/" if you want them available to Antigravity; ensure similar
corrections are applied to the other mentioned occurrences (lines referencing
".agent"/".agents" and source vs runtime mapping).

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f8d0c193-9c66-4455-8597-e6ff160e249c

📥 Commits

Reviewing files that changed from the base of the PR and between f3111a4 and ab9bac4.

📒 Files selected for processing (2)
  • README.md
  • docs/ANTIGRAVITY-GUIDE.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • README.md

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="docs/ANTIGRAVITY-GUIDE.md">

<violation number="1" location="docs/ANTIGRAVITY-GUIDE.md:59">
P2: The guide documents conflicting skill layouts (flat `.agent/skills/*.md` vs per-skill `.agents/skills/<name>/agents/openai.yaml`), which will mislead users about the runtime structure.</violation>

<violation number="2" location="docs/ANTIGRAVITY-GUIDE.md:132">
P2: Troubleshooting incorrectly requires Markdown frontmatter for Antigravity files, conflicting with the documented `agents/openai.yaml` skill contract.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

- Explain that .agents/ (with 's') is ECC source, .agent/ (no 's')
  is Antigravity runtime — installer copies between them
- Fix Cursor Agents/Skills column: Cursor has no explicit agents/skills
  mapping (only rules), changed from 'skills/' to 'N/A'
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (3)
docs/ANTIGRAVITY-GUIDE.md (3)

50-54: ⚠️ Potential issue | 🟠 Major

Directory tree conflicts with the documented openai.yaml skill layout.

Line 50-54 shows flat files under .agent/skills/, but Line 60 says skills are directory-based with nested agents/openai.yaml. These two models can’t both be true in the same “after install” example.

Proposed doc fix
 │   ├── skills/
-│   │   ├── planner.md
-│   │   ├── code-reviewer.md
-│   │   ├── tdd-guide.md
+│   │   ├── planner/
+│   │   │   ├── SKILL.md
+│   │   │   └── agents/openai.yaml
+│   │   ├── code-reviewer/
+│   │   │   ├── SKILL.md
+│   │   │   └── agents/openai.yaml
+│   │   ├── tdd-guide/
+│   │   │   ├── SKILL.md
+│   │   │   └── agents/openai.yaml
 │   │   └── ...

Also applies to: 60-60

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/ANTIGRAVITY-GUIDE.md` around lines 50 - 54, The directory tree example
conflicts with the described skill layout: update the example so the skills are
shown consistently as directory-based skills containing an agents/openai.yaml
(or alternatively change the descriptive text to say skills are flat markdown
files); specifically, align the listing under .agent/skills/ (the snippet
showing planner.md, code-reviewer.md, tdd-guide.md) with the documented nested
layout that references agents/openai.yaml by either converting those entries
into per-skill directories (e.g., .agent/skills/planner/agents/openai.yaml) or
changing the paragraph that mentions agents/openai.yaml to describe flat files,
and make the same change where openai.yaml is mentioned so both examples match.

113-114: ⚠️ Potential issue | 🟠 Major

Custom skill steps mix up source/runtime paths and installer behavior.

Line 113 says config lives in .agents/skills/..., but then says installer deploys agents/ into .agent/skills/. Line 114 then tells users to mirror SKILL.md into .agents/skills/..., which conflicts with the earlier note that manual mirroring is needed for .agent/skills/ runtime.

Proposed wording fix
-2. Add the Antigravity agent config at `.agents/skills/your-skill-name/agents/openai.yaml` — the installer auto-deploys the `agents/` directory into `.agent/skills/` at runtime
-3. Manually mirror the `SKILL.md` content to `.agents/skills/your-skill-name/SKILL.md` — this is needed because the installer maps `agents/` → `.agent/skills/` but does not auto-transform `skills/`
+2. Add the Antigravity agent config at `.agents/skills/your-skill-name/agents/openai.yaml` — the installer copies this config into `.agent/skills/` at runtime
+3. Manually mirror the `SKILL.md` content to `.agent/skills/your-skill-name/SKILL.md` — this is needed because the installer handles agent config copy, but does not auto-transform `skills/` content
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/ANTIGRAVITY-GUIDE.md` around lines 113 - 114, The docs confuse source vs
runtime paths: update the two lines to consistently state that the source config
and SKILL.md live under the repository source path
`.agents/skills/your-skill-name/` and that the installer auto-deploys that
directory into the runtime path `.agent/skills/your-skill-name/`; change the
second sentence to instruct users to manually copy or mirror SKILL.md into the
source `.agents/skills/your-skill-name/SKILL.md` only if they want a separate
source file (or clarify that no manual mirroring is needed because the installer
copies `.agents/` → `.agent/`), ensuring both lines consistently reference
`.agents/` as the source and `.agent/` as the runtime target.

21-25: ⚠️ Potential issue | 🟡 Minor

Use one canonical source path name in the mapping section.

Line 25 maps agents/.agent/skills/, while Line 27 says ECC source is .agents/. Pick one canonical source path label here to avoid ambiguity in the core mapping table.

Also applies to: 27-27

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/ANTIGRAVITY-GUIDE.md` around lines 21 - 25, The mapping table uses two
different source path labels for agents ("agents/" in the row mapping to
".agent/skills/" and ".agents/" elsewhere); pick a single canonical source path
label and make all occurrences consistent (e.g., change all ".agents/" instances
to "agents/" or vice versa). Update the mapping table row that contains agents/
→ .agent/skills/ and any other referenced mappings so they use the exact same
source path string ("agents/" or ".agents/") throughout the document to avoid
ambiguity.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@docs/ANTIGRAVITY-GUIDE.md`:
- Around line 50-54: The directory tree example conflicts with the described
skill layout: update the example so the skills are shown consistently as
directory-based skills containing an agents/openai.yaml (or alternatively change
the descriptive text to say skills are flat markdown files); specifically, align
the listing under .agent/skills/ (the snippet showing planner.md,
code-reviewer.md, tdd-guide.md) with the documented nested layout that
references agents/openai.yaml by either converting those entries into per-skill
directories (e.g., .agent/skills/planner/agents/openai.yaml) or changing the
paragraph that mentions agents/openai.yaml to describe flat files, and make the
same change where openai.yaml is mentioned so both examples match.
- Around line 113-114: The docs confuse source vs runtime paths: update the two
lines to consistently state that the source config and SKILL.md live under the
repository source path `.agents/skills/your-skill-name/` and that the installer
auto-deploys that directory into the runtime path
`.agent/skills/your-skill-name/`; change the second sentence to instruct users
to manually copy or mirror SKILL.md into the source
`.agents/skills/your-skill-name/SKILL.md` only if they want a separate source
file (or clarify that no manual mirroring is needed because the installer copies
`.agents/` → `.agent/`), ensuring both lines consistently reference `.agents/`
as the source and `.agent/` as the runtime target.
- Around line 21-25: The mapping table uses two different source path labels for
agents ("agents/" in the row mapping to ".agent/skills/" and ".agents/"
elsewhere); pick a single canonical source path label and make all occurrences
consistent (e.g., change all ".agents/" instances to "agents/" or vice versa).
Update the mapping table row that contains agents/ → .agent/skills/ and any
other referenced mappings so they use the exact same source path string
("agents/" or ".agents/") throughout the document to avoid ambiguity.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a72fe9f4-3965-45ba-a447-4b19facfe4bb

📥 Commits

Reviewing files that changed from the base of the PR and between ab9bac4 and e3ee1fb.

📒 Files selected for processing (1)
  • docs/ANTIGRAVITY-GUIDE.md

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="docs/ANTIGRAVITY-GUIDE.md">

<violation number="1" location="docs/ANTIGRAVITY-GUIDE.md:27">
P2: The added Antigravity note incorrectly describes installer source path as `.agents/`, contradicting actual mapping from `agents/` and creating misleading setup instructions.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

- Fix .agents/ vs .agent/ note: clarify that only rules, commands, and
  agents (no dot) are explicitly mapped by the installer. The dot-prefixed
  .agents/ directory falls through to default scaffold, not a direct copy.
- Fix contributor workflow: remove false auto-deploy claim for openai.yaml.
  Clarify .agents/ is static repo layout, not installer-deployed.
- Fix uninstall command: use direct script call (node scripts/uninstall.js)
  for consistency with doctor.js, repair.js, list-installed.js.
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="docs/ANTIGRAVITY-GUIDE.md">

<violation number="1" location="docs/ANTIGRAVITY-GUIDE.md:114">
P1: Contributor instructions for Antigravity skills omit updating `agents/`, so following them may not produce a deployable Antigravity runtime skill.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Contributors must add an agent definition at agents/ (no dot) for the
installer to deploy it to .agent/skills/ at runtime. Without this step,
skills only exist in the static .agents/ layout and are never deployed.
@vazidmansuri005
Copy link
Author

@affaan-m Ready for review — all bot feedback has been addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Antigravity skills unclear

1 participant