feat: add github-repo-maintainer agent#38
Conversation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
📝 WalkthroughWalkthroughA new Markdown agent definition document was added describing a GitHub Repo Maintainer Agent with six skill areas: Conflict Resolution, Branch Management, Test Validation, GitHub Communications, Self-Termination, and Work Discovery. Each skill includes descriptions, use-cases, and representative Bash command examples for automation. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
Pre-merge checks✅ Passed checks (5 passed)
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 |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.claude/agents/github-repo-maintainer.md (2)
71-87: Consider adding a note about tech-stack specificity for test examples.The test validation examples use
vendor/bin/pestandphp gate certify, which are specific to this repository's PHP/Laravel setup. Consider either:
- Adding a brief note that these commands are context-specific to your repository
- Including a generic example (e.g., "run your project's standard test command") as a fallback
This helps future maintainers or other agents understand how to adapt the skill to different tech stacks.
1-5: Consider adding a prerequisites and invocation section.The document would benefit from brief sections covering:
- Prerequisites: GitHub CLI installation, required permissions, environment setup
- Invocation model: How is the agent triggered? (On demand, scheduled, event-driven?)
- Error handling: What should the agent do when it encounters complex conflicts, failing tests, or permission errors?
This would make the agent definition more complete and easier to integrate into automation workflows.
📜 Review details
Configuration used: defaults
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.claude/agents/github-repo-maintainer.md
🔇 Additional comments (2)
.claude/agents/github-repo-maintainer.md (2)
1-182: Well-structured agent definition that aligns with issue requirements.The agent specification covers all six skills specified in issue #37 with clear descriptions, practical use-cases, and concrete command examples. The organization and scope are appropriate for autonomous repository maintenance.
175-175: The jq syntax is correct as written.The expression
gh pr list --state open --json number,title,updatedAt | jq '.[] | select(.updatedAt < (now - 2592000 | todate))'works properly. GitHub's API returnsupdatedAtas an ISO 8601 string (YYYY-MM-DDTHH:MM:SSZ), andtodateconverts the Unix timestamp to the same format. Since ISO 8601 strings are lexicographically ordered, the string comparison correctly filters PRs updated more than 30 days ago. No changes needed.Likely an incorrect or invalid review comment.
Closes #37
Adds
.claude/agents/github-repo-maintainer.mdwith 6 skills:🤖 Generated by Agent B (structured prompt)
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.