fix: parse grouped skills list output#1188
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdated ChangesGrouped Skills Output Parsing
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
Hi @nguyenngothuong , thank you for the contribution and for helping improve the skills sync reliability. I reviewed this PR, and it addresses the same issue as #1186 by improving the parser for grouped and indented The merged fix takes a slightly broader approach:
Because #1251 already covers the issue this PR is solving, I’m going to close this PR as superseded to avoid maintaining duplicate Thanks again for taking the time to investigate this and submit a fix. We really appreciate the contribution! |
|
ok got it |
Summary
Fix the incremental skills sync local-skill detection when
npx skills ls -gprints grouped, indented human-readable output. The parser now recognizes indented skill rows without treating category headings as skills.Changes
Test Plan
go test ./internal/skillscheck -count=1go test ./cmd/update -count=1go test ./internal/skillscheck ./cmd/update -count=1lark-cli updateflow works as expectedRelated Issues
Summary by CodeRabbit
Bug Fixes
Tests