feat(skills): improve api and api-filters skills#4620
Conversation
📝 WalkthroughWalkthroughThis PR updates two skill documentation files. It adds guidance for status/enum filter mapping via ChangesAPI skill documentation updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Greptile SummaryThis PR updates the API skills with newer handler guidance.
Confidence Score: 4/5The changed skill guidance is mergeable after fixing the malformed Markdown fence.
.agents/skills/api-filters/SKILL.md Important Files Changed
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 @.agents/skills/api-filters/SKILL.md:
- Around line 319-320: The constraint wording for FromAPIStatusFilter[T] is
inaccurate and should be aligned with the actual validator interface. Update the
SKILL.md description near FromAPIStatusFilter[T] to say that T must be ~string
and satisfy expand.Expandable[T] (which provides Values() []T) plus Validate()
error, and remove the mention of comparable so readers don’t infer a constraint
that isn’t required.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 8fb2be53-df07-4e10-abe7-934be9370818
📒 Files selected for processing (2)
.agents/skills/api-filters/SKILL.md.agents/skills/api/SKILL.md
Summary by CodeRabbit