Skip to content

Commit 3395513

Browse files
Merge pull request #81 from project-codeguard/antigravity-ci-updates
Add Antigravity to CI workflows, docs, and fix CONTRIBUTING.md link
2 parents 0df56ae + 0a01853 commit 3395513

File tree

8 files changed

+19
-9
lines changed

8 files changed

+19
-9
lines changed

.github/ISSUE_TEMPLATE/new-rule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ body:
66
- type: markdown
77
attributes:
88
value: |
9-
Thank you for your new rule request! Please provide as much detail as possible. Use any of the existing rules as a reference. You only have to provide the rule contents (markdown), not the rule metadata. We will handle the rest. In other words, convert your rule into all the formats (Cursor, Windsurf, Copilot).
9+
Thank you for your new rule request! Please provide as much detail as possible. Use any of the existing rules as a reference. You only have to provide the rule contents (markdown), not the rule metadata. We will handle the rest. In other words, convert your rule into all the formats (Cursor, Windsurf, Copilot, Antigravity).
1010
1111
- type: textarea
1212
id: description

.github/ISSUE_TEMPLATE/rule-feedback.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ body:
2626
- Cursor
2727
- GitHub Copilot
2828
- Windsurf
29+
- Antigravity
2930
- Codex
3031
- Augment Code
3132
- Sourcegraph

.github/workflows/build-ide-bundles.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
zip -r ../ide-rules-cursor.zip .cursor/
5555
zip -r ../ide-rules-windsurf.zip .windsurf/
5656
zip -r ../ide-rules-copilot.zip .github/
57+
zip -r ../ide-rules-antigravity.zip .agent/
5758
cd ..
5859
zip -r ide-rules-all.zip dist/
5960
ls -lh ide-rules-*.zip
@@ -67,5 +68,6 @@ jobs:
6768
ide-rules-cursor.zip \
6869
ide-rules-windsurf.zip \
6970
ide-rules-copilot.zip \
71+
ide-rules-antigravity.zip \
7072
--clobber
7173

.github/workflows/validate-rules.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ jobs:
8989
exit 1
9090
fi
9191
92+
if [ ! -d "test-output/.agent" ]; then
93+
echo "❌ Antigravity rules not generated"
94+
exit 1
95+
fi
96+
9297
echo "✅ All IDE formats generated successfully"
9398
9499
- name: Check skills/ directory is up-to-date

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ git push origin main
160160

161161
**Note**: The conversion script automatically syncs the version from `pyproject.toml` to:
162162
- `.claude-plugin/plugin.json` and `marketplace.json` (Claude Code plugin metadata)
163-
- All generated IDE rule files (Cursor `.mdc`, Windsurf `.md`, Copilot `.instructions.md`, Claude Code `.md`)
163+
- All generated IDE rule files (Cursor `.mdc`, Windsurf `.md`, Copilot `.instructions.md`, Claude Code `.md`, Antigravity `.md`)
164164

165165
This ensures version consistency across all artifacts.
166166

@@ -174,7 +174,7 @@ This ensures version consistency across all artifacts.
174174

175175
GitHub Actions will automatically:
176176
- ✅ Validate versions match the tag
177-
- ✅ Build IDE bundles (Cursor, Windsurf, Copilot)
177+
- ✅ Build IDE bundles (Cursor, Windsurf, Copilot, Antigravity)
178178
- ✅ Upload ZIP artifacts to the release
179179

180180
## Testing Your Changes

docs/claude-code-skill-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ uv run python src/convert_to_ide_formats.py
290290
This command:
291291
- Converts unified rules from `sources/` to IDE-specific formats
292292
- Generates `skills/` directory with the 22 core security rules (Claude Code plugin)
293-
- Creates `dist/` with IDE-specific formats (Cursor, Windsurf, Copilot)
293+
- Creates `dist/` with IDE-specific formats (Cursor, Windsurf, Copilot, Antigravity)
294294

295295
**Note:** The Claude Code plugin (`skills/`) always contains only the 22 curated core rules. To build bundles with OWASP supplementary rules for other IDEs, use `--source core owasp`, but this only affects `dist/`, not `skills/`.
296296

docs/faq.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ This FAQ document provides clear, concise answers to help developers seamlessly
5050

5151
## Q: How can I use the rules in my own AI agent?
5252

53-
**A:** You can use the rules in your own AI agent by creating a custom ruleset. You can create a custom ruleset by creating a new file in the `.cursor/rules`, `.windsurf/rules`, or `.github/instructions` directories and adding the rules you want to apply. You can also use the `project-codeguard/rules` repository as a template to create your own ruleset.
53+
**A:** You can use the rules in your own AI agent by creating a custom ruleset. You can create a custom ruleset by creating a new file in the `.cursor/rules`, `.windsurf/rules`, `.github/instructions`, or `.agent/rules` directories and adding the rules you want to apply. You can also use the `project-codeguard/rules` repository as a template to create your own ruleset.
5454

5555
---
5656

5757
## Q: Why does the downloaded release folder appear empty?
5858

59-
**A:** After downloading and extracting the release, the folders may appear empty because the rule directories (`.cursor/`, `.windsurf/`, `.github/`) start with a dot (`.`) and are hidden by default on most operating systems.
59+
**A:** After downloading and extracting the release, the folders may appear empty because the rule directories (`.cursor/`, `.windsurf/`, `.github/`, `.agent/`) start with a dot (`.`) and are hidden by default on most operating systems.
6060

6161
**To show hidden files:**
6262

6363
=== "macOS"
6464

65-
In Finder, navigate to the extracted folder and press ++cmd+shift+period++ to toggle the visibility of hidden files. You should now see the `.cursor/`, `.windsurf/`, and `.github/` directories.
65+
In Finder, navigate to the extracted folder and press ++cmd+shift+period++ to toggle the visibility of hidden files. You should now see the `.cursor/`, `.windsurf/`, `.github/`, and `.agent/` directories.
6666

6767
=== "Windows"
6868

@@ -76,7 +76,7 @@ This FAQ document provides clear, concise answers to help developers seamlessly
7676

7777
In your file manager, press ++ctrl+h++ to toggle hidden files, or use `ls -la` in the terminal to view all files including hidden ones.
7878

79-
Once hidden files are visible, you can copy the appropriate directory (`.cursor/`, `.windsurf/`, or `.github/`) to your project root.
79+
Once hidden files are visible, you can copy the appropriate directory (`.cursor/`, `.windsurf/`, `.github/`, or `.agent/`) to your project root.
8080

8181
---
8282

docs/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ Before you begin, familiarize yourself with how rules work in your IDE:
4545
- `ide-rules-cursor.zip` - Cursor only
4646
- `ide-rules-windsurf.zip` - Windsurf only
4747
- `ide-rules-copilot.zip` - GitHub Copilot only
48+
- `ide-rules-antigravity.zip` - Antigravity only
4849
2. **Extract**: Unzip the downloaded file
4950
3. **Install**: Copy the relevant IDE-specific rules to your project root:
5051
- For **Cursor**: Copy `.cursor/` directory to your project
5152
- For **Windsurf**: Copy `.windsurf/` directory to your project
5253
- For **GitHub Copilot**: Copy `.github/` directory to your project
54+
- For **Antigravity**: Copy `.agent/` directory to your project
5355

5456

5557
!!! tip "Repository Level Installation"
@@ -165,7 +167,7 @@ To verify the rules are working:
165167
- **Review Rules**: Explore the security rules in your IDE's rules directory
166168
- **Test Integration**: Generate some code and see the security guidance in action
167169
- **Share Feedback**: Help us improve by [opening an issue](https://github.com/project-codeguard/rules/issues)
168-
- **Contribute**: See [CONTRIBUTING.md](https://github.com/project-codeguard/rules/CONTRIBUTING.md) to contribute new rules or improvements
170+
- **Contribute**: See [CONTRIBUTING.md](https://github.com/project-codeguard/rules/blob/main/CONTRIBUTING.md) to contribute new rules or improvements
169171

170172
!!! success "You're Ready!"
171173
Project CodeGuard is now protecting your development workflow. The security rules will automatically guide AI assistants to generate more secure code.

0 commit comments

Comments
 (0)