Skip to content

fix: accept skill alias in skill tool#166

Draft
Bortlesboat wants to merge 1 commit into
1jehuang:masterfrom
Bortlesboat:codex/skill-tool-skill-alias
Draft

fix: accept skill alias in skill tool#166
Bortlesboat wants to merge 1 commit into
1jehuang:masterfrom
Bortlesboat:codex/skill-tool-skill-alias

Conversation

@Bortlesboat
Copy link
Copy Markdown

@Bortlesboat Bortlesboat commented May 7, 2026

Summary

  • accept skill as an alias for name in the skill_manage input payload
  • expose the alias in the tool schema so the external Skill(...) wrapper shape is handled explicitly
  • add regression coverage for Skill(skill=...) routing to the requested skill name instead of the missing-name error

Verification

  • RED: cargo test -p jcode test_load_accepts_skill_alias --lib failed before the fix with the expected missing-name path
  • GREEN: cargo test -p jcode test_load_accepts_skill_alias --lib
  • cargo test -p jcode tool::skill::tests --lib
  • cargo check -p jcode
  • cargo fmt --check
  • git diff --check -- src/tool/skill.rs

Closes #165


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill tool: 'name' is required for load action — skill parameter not mapped correctly

1 participant