feat(skills): Add repomix-explorer agent skill#1103
Conversation
Add a new skill for analyzing and exploring codebases using Repomix CLI. This skill is independent from the existing plugin implementation.
Updated repomix-explorer skill to always output to /tmp for remote repository analysis. This prevents polluting the user's current project directory with analysis output files.
- Remove incorrect .txt reference (default is .xml only) - Add --remote-branch option for specifying branch/tag/commit
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. 📝 WalkthroughWalkthroughA new Markdown skill guide for repomix-explorer is introduced, documenting its capabilities for repository analysis, user intents, workflow steps, available tools (Bash, Grep, Read), best practices, and example workflows for constructing and executing repomix commands. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
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. Comment |
Summary of ChangesHello @yamadashy, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request integrates a new AI agent skill, Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Deploying repomix with
|
| Latest commit: |
f636b8c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://30c36ae5.repomix.pages.dev |
| Branch Preview URL: | https://feat-add-repomix-explorer-sk.repomix.pages.dev |
Code Review: feat(skills): Add repomix-explorer agent skillReviewer: Claude (AI) SummaryThis PR adds a new Claude Code skill ( Overall Assessment: Approve with Minor SuggestionsThe implementation is well-documented and follows the established skill file conventions in this repository. The content is thorough and provides actionable guidance for AI agents. Detailed FeedbackStrengths
Suggestions for Improvement1. Potential Duplication with PluginThe repository already has a similar explorer agent at
2. Minor Inconsistencies
3. Missing OptionConsider documenting the Premortem Analysis: Potential Failure ScenariosRisk Assessment
Deployment Risk: Low - This is a documentation-only change (Markdown file) with no code impact. VerdictApprove - This is a valuable addition that provides comprehensive guidance for AI agents to explore codebases. The minor suggestions above are optional improvements and don't block merging. Review generated by Claude |
There was a problem hiding this comment.
Code Review
This pull request introduces a new repomix-explorer skill for a Claude agent, providing a comprehensive guide for analyzing codebases. The documentation is well-structured, but it contains a critical inconsistency regarding the tools the agent should use. It introduces a Grep Tool and Read Tool as preferred, but then instructs the agent to only use the Bash tool and provides only bash examples. This contradiction could confuse the agent. I've provided a suggestion to align the documentation. Additionally, I've identified a few issues in the grep patterns provided, including one that would cause a command to fail, and have suggested corrections for clarity and correctness.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.claude/skills/repomix-explorer/SKILL.md:
- Line 207: The markdown file contains several fenced code blocks with no
language hint (plain ```), causing MD040; update each empty fenced block in
SKILL.md to include a language identifier by replacing ``` with ```text for the
occurrences noted (the blocks at the current location and the other examples
referenced), and apply the same `text` tag to the other example blocks so all
fences include a language hint.
🧹 Nitpick comments (1)
.claude/skills/repomix-explorer/SKILL.md (1)
15-15: Replace bare URLs with proper Markdown links.Markdownlint flags bare URLs; wrap them in link syntax to satisfy MD034.
🛠️ Suggested fix
-- "What's the structure of facebook/react?" +- "What's the structure of [facebook/react](https://github.com/facebook/react)?" ... -- Check the official documentation at https://github.com/yamadashy/repomix +- Check the official documentation at [github.com/yamadashy/repomix](https://github.com/yamadashy/repomix)Also applies to: 299-299
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1103 +/- ##
=======================================
Coverage 87.17% 87.17%
=======================================
Files 116 116
Lines 4382 4382
Branches 1019 1019
=======================================
Hits 3820 3820
Misses 562 562 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Escape backslash properly to avoid shell error with grep -E.
- Add 'text' language identifier to example code blocks (MD040) - Remove redundant 'Error' from case-insensitive grep pattern
Code Review: feat(skills): Add repomix-explorer agent skillReviewer: Claude (AI) SummaryThis PR adds a new Claude Code skill ( Overall Assessment: ✅ ApproveThe implementation is well-structured and provides valuable documentation. I have a few observations for consideration. Key Observations1. Relationship with Existing PluginThe repository already has a similar implementation at Differences between skill and plugin versions:
Suggestion: Consider backporting the improvements (especially the 2. Code Block Language Hints (Minor)CodeRabbit flagged that some code blocks (lines 207, 222, 237, 249, 261) use plain ``` without a language identifier. While this is technically a markdownlint issue (MD040), it's minor for a skill documentation file where the content is workflow descriptions rather than executable code. Priority: Not needed - These blocks describe workflows, not executable code, so a language hint isn't strictly necessary. 3. Bare URLs (Minor)Line 299 has a bare URL: Priority: Not needed - This is a minor style issue that doesn't affect functionality. Strengths
Premortem Analysis
Deployment Risk: Very Low - This is a documentation-only change (Markdown file) with no code impact. VerdictApprove - This is a valuable addition that provides clear, actionable guidance for AI agents exploring codebases. The minor markdown style suggestions from other bots are optional and don't block merging. Review generated by Claude |
Code Review Update: feat(skills): Add repomix-explorer agent skillReviewer: Claude (AI) - Updated Review SummaryI've re-reviewed this PR after examining all existing feedback and comparing with the existing plugin implementation. This is a documentation-only change adding a new skill file. Overall Assessment: ✅ ApproveThe skill is well-documented and includes several improvements over the existing plugin version. Key Improvements in This Skill vs Existing Plugin
AI Bot Comment EvaluationGemini Code Assist FeedbackGemini mentioned a "critical inconsistency" about tools - stating the skill introduces Grep/Read tools but only provides bash examples.
This is a false positive. The skill correctly documents all three tools (Bash, Grep, Read) in the "Available Tools" section (lines 51-72), explains their preferred usage, and the bash CodeRabbit Feedback1. Bare URLs (MD034) - Lines 15, 299: The line 15 example ("What's the structure of facebook/react?") is a user intent example showing how users might phrase questions - converting to a markdown link would make it look unnatural. Line 299 is documentation reference - acceptable as-is. 2. Fenced code blocks without language hint (MD040) - Lines 207, 222, etc.: These blocks contain workflow descriptions, not executable code. Using Remaining ObservationsSkill vs Plugin RelationshipThe repository now has two similar implementations:
The PR description notes this is "independent from the existing plugin implementation." The skill version has improvements (especially Suggestion for future: Consider backporting these improvements to the plugin version, or document when to use each approach. Premortem Analysis
Deployment Risk: Very Low - Markdown documentation only. Verdict✅ Approve - This is a valuable, well-documented skill that improves upon the existing plugin pattern. The minor markdown style suggestions from bots are either already addressed or not critical for a documentation file. Updated review generated by Claude |
Add a new Claude Code skill for analyzing and exploring codebases using Repomix CLI.
Changes
.claude/skills/repomix-explorer/SKILL.md- comprehensive guide for AI agents to analyze repositories/tmpto avoid polluting user's project directoryKey Features
--remoteflag--compresson large repos--remote-branchto specify branch/tag/commitChecklist
npm run test(N/A - Markdown file only)npm run lint(N/A - Markdown file only)