feat: add multi-skill plugin conversion support#1
Open
arakasi1 wants to merge 10 commits into
Open
Conversation
- Convert Claude plugins with multiple skills (skills/*/SKILL.md) - Convert commands/*.md to Gemini commands/*.toml format - Convert agents/*.md to Gemini commands (no native agent support) - Add CLAUDE.md symlink for universal platform documentation - Add Gemini skills format reference documentation - Update package description for native skills support Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove version headers (v2.0, v2.1) from documentation - Keep original "Claude:" labels in examples - Focus documentation on feature additions only - Let maintainer control versioning Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix null reference when accessing frontmatter.name in multi-skill mode - Fall back to single-skill mode when all skills in skills/ are invalid - Fix empty description edge case in agent conversion - Fix template path resolution for global npm install - Fix false positive warning for missing GEMINI.md in native-skill format - Use js-yaml for proper multi-line YAML parsing in validation - Include all Gemini platform variants in metadata extraction Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace inline escaping logic with the centralized _safeTomlDescription helper in both agent and command conversion code paths. This ensures consistent truncation-before-escaping behavior, preventing broken escape sequences from mid-character truncation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Claude commands reference skills with namespace "plugin-name:skill-name" (e.g., "superpowers:brainstorming"), but Gemini CLI requires just the skill name. Store plugin name during metadata extraction and strip the namespace prefix from command prompts during conversion. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for converting Claude Code plugins with multiple skills, commands, and agents to Gemini CLI format.
skills/*/SKILL.mddirectories with multiple skillscommands/*.mdto Gemini'scommands/*.tomlformatagents/*.mdto Gemini commands (Gemini has no native agent system)Changes
src/converters/claude-to-gemini.jssrc/converters/gemini-to-claude.jssrc/analyzers/detector.jssrc/analyzers/validator.jssrc/cli.js,src/index.jsREADME.md,SKILL.md,GEMINI.mdCLAUDE.mdGEMINI_SKILLS_FORMAT.mdTest plan
--legacyflag for older Gemini CLI versionsGenerated with Claude Code