Draft
Conversation
Plugins are directories in .unityctl/plugins/ (project) or ~/.unityctl/plugins/ (user) containing a plugin.json manifest and .cs scripts. The CLI dynamically creates System.CommandLine commands from manifests and executes handlers via script.execute. - Plugin discovery with project-level precedence over user-level - plugin list/create/remove management commands - Dynamic CLI command generation from plugin.json manifests - Composed SKILL.md: base + plugin sections + .unityctl/skill-extra.md - skill rebuild command to regenerate composed skill
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
script.execute.unityctl/plugins/(project-level, shareable via git) or~/.unityctl/plugins/(user-level, personal tools)plugin.jsonmanifest declaring commands, arguments, options, and script handlersSystem.CommandLinecommands from discovered plugin manifests at startupplugin list,plugin create <name>, andplugin remove <name>management commandsskill rebuildcommand and composes SKILL.md from three sources: base embedded skill + auto-generated plugin sections + user-provided.unityctl/skill-extra.mdDesign
script.executeRPCSKILL-SECTION.mdfor richer AI documentation, or get auto-generated docs from the manifestskill-extra.md, behavior is identical to beforeTest plan
dotnet buildsucceedsplugin createscaffolds valid plugin with manifest + example scriptplugin listdiscovers and displays plugins from both sources--helpand accept declared args/optionsplugin removecleans up plugin directoryskill rebuildproduces composed SKILL.md with plugin sections appended