Skip to content

Add Gemini extension skills#466

Merged
edgarsskore merged 1 commit into
mainfrom
add-gemini-extension-skills
May 8, 2026
Merged

Add Gemini extension skills#466
edgarsskore merged 1 commit into
mainfrom
add-gemini-extension-skills

Conversation

@edgarsskore

@edgarsskore edgarsskore commented May 8, 2026

Copy link
Copy Markdown
Collaborator

User description

Summary by CodeRabbit

  • New Features

    • Enabled Desktop Commander MCP support for local filesystem, terminal, process, search, and workspace operations with default configuration.
  • Documentation

    • Added comprehensive Desktop Commander skill documentation with example workflows and tool usage guidance.

CodeAnt-AI Description

Add Desktop Commander guidance for local files, terminals, and remote sessions

What Changed

  • Added guidance to prefer Desktop Commander MCP for local file work, terminal use, process checks, search, and workspace tasks
  • Added a new skill page that explains when to use it for persistent shells, long-running jobs, large local files, structured documents, SSH sessions, and process management
  • Included example workflows for common tasks like debugging, deploys, dev servers, spreadsheet updates, PDF edits, and large CSV analysis

Impact

✅ Faster local file and terminal tasks
✅ Easier long-running process handling
✅ Smoother SSH and large file workflows

🔄 Retrigger CodeAnt AI Review

Details

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

@codeant-ai

codeant-ai Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai

coderabbitai Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR introduces Desktop Commander MCP configuration and documentation: a new default rule preferring Desktop Commander MCP for filesystem, terminal, process, search, and workspace operations, paired with comprehensive skill documentation covering capabilities, example workflows, tool inventory, and operational conventions.

Changes

Desktop Commander MCP Configuration & Documentation

Layer / File(s) Summary
Rule Configuration
rules/desktop-commander-default.mdc
New rule declares Desktop Commander MCP as preferred for filesystem, terminal, process, search, and workspace operations with alwaysApply: true.
Skill Metadata
skills/desktop-commander-overview/SKILL.md
Skill document introduces "desktop-commander-overview" version 0.1.0 with description and audience metadata.
Capabilities Overview
skills/desktop-commander-overview/SKILL.md
Documents persistent sessions, background process management, expanded filesystem access, surgical edits, binary/structured file handling, ripgrep-backed search, SSH workflows, and process control.
Example Workflows
skills/desktop-commander-overview/SKILL.md
Provides concrete workflows for SSH debugging, deploy staging, dev-server loops, monorepo refactoring, file editing, CSV analysis, scripting, codebase exploration, file organization, session reconstruction, and REPL diagnostics.
Tool Inventory & Conventions
skills/desktop-commander-overview/SKILL.md
Documents tool categories, path usage requirements, allowed-directory scope, macOS-specific defaults, and pagination patterns with offset-length guidance.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

size:S

Poem

🐰 A rule and a guide, both shiny and new,
Desktop Commander, we welcome to you!
With workflows and tools, all mapped out with care,
Now filesystem, terminal—all within your lair! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title 'Add Gemini extension skills' does not match the actual changes, which add Desktop Commander MCP rule and skill documentation, not Gemini extension skills. Update the PR title to accurately reflect the changes, such as 'Add Desktop Commander MCP rule and skill documentation' or 'Add desktop-commander-default rule and overview skill'.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-gemini-extension-skills

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.

@codeant-ai codeant-ai Bot added the size:L This PR changes 100-499 lines, ignoring generated files label May 8, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
skills/desktop-commander-overview/SKILL.md (1)

80-80: ⚡ Quick win

Use platform-neutral absolute-path examples.

/Users/<user>/Downloads is macOS-specific and can cause wrong-path behavior on Linux/Windows. Consider a platform-neutral placeholder plus get_config-driven OS handling in the same example.

Proposed doc tweak
-Resolve the path to absolute first (e.g., `/Users/<user>/Downloads`, not `~/Downloads`). Then `list_directory(path="/Users/<user>/Downloads", depth=1)` to see what's there. `start_search(pattern="*.pdf", path="/Users/<user>/Downloads", searchType="files")` and similar for other types. `create_directory` for new folders. `move_file` per item. Preview the move plan before executing destructive ops.
+Resolve the path to an OS-correct absolute path first (e.g., `<absolute-downloads-path>`, not `~/Downloads`). Then `list_directory(path="<absolute-downloads-path>", depth=1)` to see what's there. `start_search(pattern="*.pdf", path="<absolute-downloads-path>", searchType="files")` and similar for other types. `create_directory` for new folders. `move_file` per item. Preview the move plan before executing destructive ops.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skills/desktop-commander-overview/SKILL.md` at line 80, The docs use a
macOS-specific example path (/Users/<user>/Downloads); change examples to a
platform-neutral absolute-path placeholder (e.g., <absolute_path>/Downloads) and
instruct resolving to an absolute path before calls, and mention using
get_config or OS detection to map the placeholder to the actual OS-specific home
directory. Update the example usage lines that reference
list_directory(path=...), start_search(path=..., pattern=...),
create_directory(...) and move_file(...) to use the placeholder and note
resolving to absolute paths (and previewing the move plan) so the examples
behave correctly on Linux/Windows/macOS.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@skills/desktop-commander-overview/SKILL.md`:
- Line 44: Update the documentation around the deploy flow to remove the example
of blindly sending "yes\n" via interact_with_process(pid, "yes\n") and instead
describe inspecting prompts from read_process_output, prompting the user for
explicit confirmation, and only calling interact_with_process with the confirmed
response; reference the existing examples using start_process,
read_process_output, and interact_with_process so readers know where to add a
prompt-inspection step and how to wire the explicit user confirmation into the
deploy session before sending any approval input.

---

Nitpick comments:
In `@skills/desktop-commander-overview/SKILL.md`:
- Line 80: The docs use a macOS-specific example path (/Users/<user>/Downloads);
change examples to a platform-neutral absolute-path placeholder (e.g.,
<absolute_path>/Downloads) and instruct resolving to an absolute path before
calls, and mention using get_config or OS detection to map the placeholder to
the actual OS-specific home directory. Update the example usage lines that
reference list_directory(path=...), start_search(path=..., pattern=...),
create_directory(...) and move_file(...) to use the placeholder and note
resolving to absolute paths (and previewing the move plan) so the examples
behave correctly on Linux/Windows/macOS.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3cdf7bd9-aced-491b-b3c6-37f3b7e343bc

📥 Commits

Reviewing files that changed from the base of the PR and between f5aaf75 and b742eb3.

📒 Files selected for processing (2)
  • rules/desktop-commander-default.mdc
  • skills/desktop-commander-overview/SKILL.md


Before deploys, restarts, migrations, or other environment-changing commands, summarize the action and confirm with the user unless they already explicitly asked for that exact operation.

`start_process` for the deploy command (could be a script, an SSH-piped command, or `kubectl`/`gh` etc.). `read_process_output` to track output and surface errors. If the deploy needs an interactive confirmation, `interact_with_process(pid, "yes\n")`. The session stays alive while the agent watches for completion or rollback.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Avoid documenting blind yes confirmations in deploy flows.

Using interact_with_process(pid, "yes\n") as a generic pattern can approve unexpected prompts (including destructive ones). Recommend documenting prompt inspection + explicit user confirmation before sending any interactive approval input.

Proposed doc tweak
-`start_process` for the deploy command (could be a script, an SSH-piped command, or `kubectl`/`gh` etc.). `read_process_output` to track output and surface errors. If the deploy needs an interactive confirmation, `interact_with_process(pid, "yes\n")`. The session stays alive while the agent watches for completion or rollback.
+`start_process` for the deploy command (could be a script, an SSH-piped command, or `kubectl`/`gh` etc.). `read_process_output` to track output and surface errors. If the deploy needs an interactive confirmation, first show the exact prompt to the user and confirm intent, then send the precise approved response via `interact_with_process`. The session stays alive while the agent watches for completion or rollback.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
`start_process` for the deploy command (could be a script, an SSH-piped command, or `kubectl`/`gh` etc.). `read_process_output` to track output and surface errors. If the deploy needs an interactive confirmation, `interact_with_process(pid, "yes\n")`. The session stays alive while the agent watches for completion or rollback.
`start_process` for the deploy command (could be a script, an SSH-piped command, or `kubectl`/`gh` etc.). `read_process_output` to track output and surface errors. If the deploy needs an interactive confirmation, first show the exact prompt to the user and confirm intent, then send the precise approved response via `interact_with_process`. The session stays alive while the agent watches for completion or rollback.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skills/desktop-commander-overview/SKILL.md` at line 44, Update the
documentation around the deploy flow to remove the example of blindly sending
"yes\n" via interact_with_process(pid, "yes\n") and instead describe inspecting
prompts from read_process_output, prompting the user for explicit confirmation,
and only calling interact_with_process with the confirmed response; reference
the existing examples using start_process, read_process_output, and
interact_with_process so readers know where to add a prompt-inspection step and
how to wire the explicit user confirmation into the deploy session before
sending any approval input.

@codeant-ai

codeant-ai Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

CodeAnt AI finished reviewing your PR.

@edgarsskore edgarsskore merged commit 9901344 into main May 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant