Bug Description
The create-marketplace.md command is missing Bash(git init:*) in its allowed-tools frontmatter, but Phase 4 explicitly instructs Claude to "Initialize git repo if creating new directory".
This inconsistency causes the command to either fail or request additional permissions when reaching Phase 4's git initialization step.
Steps to Reproduce
- Load plugin with
cc --plugin-dir plugins/plugin-dev
- Run
/plugin-dev:create-marketplace
- Progress through Phases 1-3 (Discovery, Plugin Planning, Metadata Design)
- In Phase 4 (Structure Creation), when Claude attempts to run
git init, it will either:
- Fail due to missing tool permission, or
- Prompt for additional permission (breaking the workflow)
Expected Behavior
The command should have all necessary tools pre-authorized in its allowed-tools frontmatter. When Phase 4 instructs to "Initialize git repo if creating new directory", git init should execute without additional permission prompts.
Actual Behavior
Bash(git init:*) is not included in allowed-tools, so Claude cannot execute git initialization without requesting additional permissions or failing.
Command Used
/plugin-dev:create-marketplace
Evidence
create-marketplace.md (line 4) - Current (missing git init):
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(mkdir:*), TodoWrite, AskUserQuestion, Skill, Task
create-marketplace.md (line 160-161) - Phase 4 instruction:
5. Initialize git repo if creating new directory
create-plugin.md (line 4) - Correct implementation for comparison:
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(mkdir:*), Bash(git init:*), TodoWrite, AskUserQuestion, Skill, Task
Suggested Fix
Add Bash(git init:*) to the allowed-tools frontmatter in plugins/plugin-dev/commands/create-marketplace.md:
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(mkdir:*), Bash(git init:*), TodoWrite, AskUserQuestion, Skill, Task
Additional Context
This was discovered during a comprehensive review of both plugin commands against Claude Code plugin command best practices and official documentation.
Bug Description
The
create-marketplace.mdcommand is missingBash(git init:*)in itsallowed-toolsfrontmatter, but Phase 4 explicitly instructs Claude to "Initialize git repo if creating new directory".This inconsistency causes the command to either fail or request additional permissions when reaching Phase 4's git initialization step.
Steps to Reproduce
cc --plugin-dir plugins/plugin-dev/plugin-dev:create-marketplacegit init, it will either:Expected Behavior
The command should have all necessary tools pre-authorized in its
allowed-toolsfrontmatter. When Phase 4 instructs to "Initialize git repo if creating new directory",git initshould execute without additional permission prompts.Actual Behavior
Bash(git init:*)is not included inallowed-tools, so Claude cannot execute git initialization without requesting additional permissions or failing.Command Used
/plugin-dev:create-marketplaceEvidence
create-marketplace.md (line 4) - Current (missing git init):
create-marketplace.md (line 160-161) - Phase 4 instruction:
create-plugin.md (line 4) - Correct implementation for comparison:
Suggested Fix
Add
Bash(git init:*)to theallowed-toolsfrontmatter inplugins/plugin-dev/commands/create-marketplace.md:Additional Context
This was discovered during a comprehensive review of both plugin commands against Claude Code plugin command best practices and official documentation.