Discover standard agent skill paths#46
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughAdds ChangesSkill discovery path expansion
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
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 `@src/skills.ts`:
- Around line 31-35: The skill path deduplication in `src/skills.ts` is
resolving configured entries against the current process directory instead of
the workspace cwd, so relative `config.skillPaths` can miss collisions with the
default workspace path and get scanned twice. Update the path normalization in
this filter to resolve configured skill paths relative to the workspace cwd used
when loading `DEVSPACE_SKILL_PATHS`, and keep the duplicate check in the `seen`
set based on that workspace-resolved path.
🪄 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: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: d8e69fd6-3c92-4cda-9a0f-f924eb2046ba
📒 Files selected for processing (5)
docs/chatgpt-coding-workflow.mddocs/configuration.mddocs/gotchas.mdsrc/skills.test.tssrc/skills.ts
Summary
~/.agents/skillsand workspace.agents/skillsby defaultDEVSPACE_AGENT_DIR/skillsandDEVSPACE_SKILL_PATHSsupport while making project.pi/skillsopt-in throughDEVSPACE_SKILL_PATHS.agents/skillsas the standard Agent Skills conventionVerification
npx tsx src/skills.test.ts && npx tsx src/config.test.tsnpm run typecheckCloses #28
Summary by CodeRabbit
~/.agents/skills) and project (./.agents/skills) locations, plus compatibility with prior skill directory conventions.DEVSPACE_SKILL_PATHSentries are now taken as provided (no automatic home-path expansion).