fix: enable router invocation of workflow commands#145
Conversation
The /plugin-dev:start router command uses SlashCommand tool to invoke child workflows, but both target commands had disable-model-invocation: true which blocked programmatic invocation. - Remove disable-model-invocation from create-plugin.md - Remove disable-model-invocation from create-marketplace.md - Add start.md router command (new entry point) - Document /plugin-dev:start in CLAUDE.md and README.md The protection pattern: entry point (start.md) has disable-model-invocation, child commands are invocable internally via SlashCommand tool. Fixes #143 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Claude finished @sjnims's task in 1m 26s —— View job PR Review: Fix Router Invocation of Workflow CommandsSummaryThis PR looks good and is ready to merge. ✅ The fix correctly addresses issue #143 by removing What's Good
Minor Suggestions
Alternatives AnalysisThe PR body does a good job evaluating alternatives. The chosen solution is the most appropriate:
Checklist VerificationFrom CLAUDE.md plugin component criteria: Commands (
Markdown Linting:
Documentation:
RecommendationApprove and merge after completing the manual testing checklist to verify the router actually invokes the child commands correctly. The implementation is solid, documentation is thorough, and the fix addresses the root cause properly. |
## Summary - Version bump to v0.2.0 - Update version in plugin.json, marketplace.json, and CLAUDE.md - Add CHANGELOG entry for v0.2.0 release ## What's in v0.2.0 ### Added - **`/plugin-dev:start` command** - New primary entry point that guides users to choose between creating a plugin or marketplace (#145) ### Fixed - Enable router invocation of workflow commands (#145) - Replace `!` with `[BANG]` placeholder in skill documentation (#142) ### Documentation - Fix component counts and update documentation accuracy ## Checklist - [x] Version updated in plugin.json, marketplace.json, CLAUDE.md - [x] CHANGELOG.md updated with release notes - [x] Markdownlint passes - [x] Version consistency verified 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Summary
Enable the
/plugin-dev:startrouter command to successfully invoke child workflows by removingdisable-model-invocation: truefrom target commands.Problem
Fixes #143
The
/plugin-dev:startrouter usesSlashCommandtool to invoke child workflows (/plugin-dev:create-pluginor/plugin-dev:create-marketplace). However, both target commands haddisable-model-invocation: trueset, which per official documentation blocks programmatic invocation via the SlashCommand tool.Solution
Apply the correct protection pattern:
start.md) hasdisable-model-invocation: true✅Removed
disable-model-invocation: truefrom both child commands to allow the router pattern to work.Alternatives Considered
Changes
plugins/plugin-dev/commands/create-plugin.md: Removedisable-model-invocation: trueplugins/plugin-dev/commands/create-marketplace.md: Removedisable-model-invocation: trueplugins/plugin-dev/commands/start.md: Add new router command (was untracked)CLAUDE.md: Document the new/plugin-dev:startcommandREADME.md: Document the new entry point workflowTesting
/plugin-dev:start, select plugin → should invoke create-plugin/plugin-dev:start, select marketplace → should invoke create-marketplace🤖 Generated with Claude Code