Skip to content

Commit ee3c010

Browse files
sjnimsclaude
andcommitted
docs: document intentional git scope limitation in workflow commands
The allowed-tools for create-plugin and create-marketplace commands only include `Bash(git init:*)`. This is intentional to: - Keep workflows focused on structure creation - Let users control their own git workflow (commit messages, timing) - Avoid assumptions about commit preferences Added documentation explaining this and post-workflow git examples. Fixes #136 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4ac66c4 commit ee3c010

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

plugins/plugin-dev/commands/create-marketplace.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,17 @@ Guide the user through creating a complete plugin marketplace from initial conce
157157
- Available plugins table (to be filled in Phase 5)
158158
- Contributing guidelines (if community)
159159

160-
5. Initialize git repo if creating new directory
160+
5. Initialize git repo if creating new directory (only `git init` is available; additional git operations like staging and committing are left to the user after the workflow completes to respect their commit preferences)
161161

162162
**Output**: Marketplace directory structure created
163163

164+
**Post-workflow git operations** (user can run after completion):
165+
166+
```bash
167+
git add .
168+
git commit -m "feat: initial marketplace structure"
169+
```
170+
164171
---
165172

166173
## Phase 5: Plugin Entry Configuration

plugins/plugin-dev/commands/create-plugin.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,17 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
144144
```
145145
5. Create README.md template
146146
6. Create .gitignore if needed (for .claude/*.local.md, etc.)
147-
7. Initialize git repo if creating new directory
147+
7. Initialize git repo if creating new directory (only `git init` is available; additional git operations like staging and committing are left to the user after the workflow completes to respect their commit preferences)
148148

149149
**Output**: Plugin directory structure created and ready for components
150150

151+
**Post-workflow git operations** (user can run after completion):
152+
153+
```bash
154+
git add .
155+
git commit -m "feat: initial plugin structure"
156+
```
157+
151158
---
152159

153160
## Phase 5: Component Implementation

0 commit comments

Comments
 (0)