Add Antigravity IDE plugin for Rust patterns#21
Conversation
Adds an Antigravity IDE plugin under `.agents/plugins/rust-patterns` to extend the agent with skills and rules for writing idiomatic Rust code and making architectural decisions. The skills (`refactor_idiomatic_rust` and `architectural_review`) and global rule (`rust_best_practices.md`) are based on concepts distilled from the Microsoft Rust Patterns book.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
…rror handling Expands the Antigravity IDE `rust-patterns` plugin to include advanced patterns from the Microsoft Rust Patterns book. This includes guidelines on Concurrency vs Parallelism vs Threads, Error Handling (thiserror vs anyhow), Smart Pointers and Interior Mutability, and API Design (ergonomic parameter patterns like Into, AsRef, and Cow).
Adds an Antigravity IDE plugin to equip the agent with specialized Rust skills.
The plugin includes:
plugin.json: Plugin manifest.skills/refactor_idiomatic_rust/SKILL.md: Instructs the agent on idiomatic Rust refactoring based on the provided Rust Patterns book.skills/architectural_review/SKILL.md: Equips the agent to review systems architecture using concepts like Capability Mixins and Typed Commands.rules/rust_best_practices.md: A rule file detailing Rust best practices around monomorphization and static/dynamic dispatch.PR created automatically by Jules for task 2208463924076138443 started by @EmilLindfors