Skip to content

feat: add --client flag to install-skill command#2

Merged
khang859 merged 2 commits intomainfrom
feat/install-skill-client-flag
Feb 11, 2026
Merged

feat: add --client flag to install-skill command#2
khang859 merged 2 commits intomainfrom
feat/install-skill-client-flag

Conversation

@khang859
Copy link
Copy Markdown
Owner

Summary

  • Add --client flag to install-skill command to support multiple AI coding clients
  • Default behavior unchanged: installs to .claude/skills/gsuite-manager/
  • --client openclaw-workspace installs to skills/gsuite-manager/ in the current directory
  • Unknown client names return a clear error message

Test plan

  • Run gsuite install-skill and verify it installs to .claude/skills/gsuite-manager/
  • Run gsuite install-skill --client openclaw-workspace and verify it installs to skills/gsuite-manager/
  • Run gsuite install-skill --client unknown and verify it returns an error
  • Run gsuite install-skill --help and verify the flag is documented

🤖 Generated with Claude Code

khang859 and others added 2 commits February 10, 2026 20:40
Allow targeting different AI coding clients when installing skills.
Defaults to "claude" (.claude/skills/) but supports "openclaw-workspace"
(skills/) for installing directly into the current directory's skills folder.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extract installSkillFiles() to accept fs.FS for testability. Tests cover
both client targets, file overwrite behavior, unknown client error, and
clientSkillDirs map completeness.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@khang859 khang859 merged commit bef34da into main Feb 11, 2026
1 check passed
@khang859 khang859 deleted the feat/install-skill-client-flag branch February 11, 2026 01:44
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.

1 participant