Repository navigation
feat: support skills_dir in agent-config.yaml - #83
Conversation
Move --skills-dir from a CLI-only flag into agent-config.yaml so platform teams can control skill discovery entirely through ConfigMaps without editing the Deployment spec. Resolution priority: CLI flag > agent-config.yaml > default (<config-dir>/skills). The CLI flag is kept for backward compatibility. - Add SkillsDir field to AgentConfig struct - Three-tier resolution in runServe() - Update manifest generation and HasRuntimeConfig - Move --skills-dir from Deployment args to ConfigMap in skill-discovery-test.yaml - Document in agent-config-guide.md Fixes #78 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (7)
Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to data retention organization setting 📝 WalkthroughWalkthroughThis PR moves the ChangesSkills Directory Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
- Update skill-discovery-test.yaml comment to reference agent-config.yaml instead of --skills-dir flag - Update oci-skills-guide.md to recommend skills_dir in config file - Move skills_dir output before tools: in generated YAML for consistency with documentation examples Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
Summary
skills_dirfield toagent-config.yamlso platform teams can control skill discovery through ConfigMaps without editing the Deployment spec--skills-dir>agent-config.yamlskills_dir> default (<config-dir>/skills)Before (requires Deployment spec change):
After (ConfigMap only):
Fixes #78
Test plan
make testpassesmake lintpasses (5 pre-existing issues, no new ones)skills_dirin ConfigMap, verify skills are discovered🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
skills_diras an explicit top-level configuration field in agent configuration, allowing users to specify the skills directory path inagent-config.yaml.Documentation
skills_dirfield, its default value (<config-dir>/skills), and how the--skills-dirCLI flag can override it.