docs: document intentional git scope limitation in workflow commands#139
Merged
docs: document intentional git scope limitation in workflow commands#139
Conversation
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>
|
Claude finished @sjnims's task in 1m 15s —— View job PR Review: Documentation of Git Scope LimitationSummary✅ Looks good - This PR correctly documents an intentional design decision with clear rationale and helpful user guidance. What's GoodClear Documentation of Intent
Helpful User Guidance
Quality Standards
Technical ReviewChanged Files Analysis:
Design Decision Validation:
Checklist Verification
RecommendationApprove and merge. This PR successfully documents an intentional design decision, provides clear rationale, and improves user experience with helpful post-workflow examples. |
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
allowed-toolsgit scope (git initonly) in workflow commands is intentionalProblem
Fixes #136
The workflow commands (
create-plugin.mdandcreate-marketplace.md) only allowBash(git init:*)in theirallowed-tools. Issue #136 raised whether this should be expanded to includegit add,git status,git commit, etc.Solution
After analysis, the current limitation is intentionally minimal (Option C from the issue). This is the correct approach because:
git addisn't needed mid-workflowRather than expanding git permissions, this PR documents the intentional design and provides post-workflow git examples for users.
Alternatives Considered
Bash(git:*)): Too permissive - allows destructive operations likepush --force,reset --hardChanges
plugins/plugin-dev/commands/create-plugin.md: Updated Phase 4 step 7 with explanation, added post-workflow git examplesplugins/plugin-dev/commands/create-marketplace.md: Updated Phase 4 step 5 with explanation, added post-workflow git examplesTesting
🤖 Generated with Claude Code