Conversation
Requirement: Create a /make-command slash command to scaffold new Claude Code commands following the official guide. The command should help users create properly structured command files with correct frontmatter, tool permissions, and workflow structure. Implementation: - Created interactive workflow with 4 key questions (Q1: purpose, Q2: workflow steps, Q3: user input, Q4: external systems) - AI analyzes responses to generate description, infer required tools, and structure workflow - Smart tool inference from keywords (GitHub→gh CLI, git→Bash(git *:*), npm→Bash(npm *:*)) - Shows generated components to user for approval with iteration support - Generates complete command file with frontmatter, usage, workflow, examples, and best practices sections - Includes 4 comprehensive examples showing different scenarios (simple, arguments, iteration, fully interactive) - Command accepts optional command-name argument, all other info collected interactively Resolves #11 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
Requirement
Resolves #11
Create a
/make-commandslash command to scaffold new Claude Code commands following the official guide. The command should help users create properly structured command files with correct frontmatter, tool permissions, and workflow structure without requiring prior knowledge of the command structure.Implementation
Interactive 4-Question Workflow:
AI-Powered Generation:
Bash(gh *:*)Bash(git *:*)Bash(npm *:*),ReadRead,Grep,GlobWriteEditCommand File Generation:
.claude/commands/{command-name}.mdComprehensive Documentation:
Files Added:
.claude/commands/make-command.md(653 lines)Test
Reference
Human Check
🤖 Generated with Claude Code