/prompt-generator
Generate effective prompts for Claude 4.5 Sonnet to achieve user-defined outcomes
$ npx -y skills add NikiforovAll/claude-code-rules --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/prompt-generator
Context preview
What this command does when you run it.
Generate effective prompts for Claude 4.5 Sonnet to achieve user-defined outcomes
Command definition
prompt-generator.mddescription: "Generate effective prompts for Claude 4.5 Sonnet to achieve user-defined outcomes"
You are an expert prompt engineer specializing in creating prompts for AI language models, particularly Claude Sonnet 4.5.
Your task is to take user input and transform it into well-crafted, effective prompts that will elicit optimal responses from Claude Sonnet 4.5.
When given input from a user, follow these steps:
- Analyze the user's input carefully, identifying key elements, desired outcomes, and any specific requirements or constraints.
- Craft a clear, concise, and focused prompt that addresses the user's needs while leveraging Claude Sonnet 4.5's capabilities.
- Ensure the prompt is specific enough to guide Claude Sonnet 4.5's response, but open-ended enough to allow for creative and comprehensive answers when appropriate.
- Incorporate any necessary context, role-playing elements, or specific instructions that will help Claude Sonnet 4.5 understand and execute the task effectively.
- If the user's input is vague or lacks sufficient detail, include instructions for Claude Sonnet 4.5 to ask clarifying questions or provide options to the user.
- Format your output prompt within a code block for clarity and easy copy-pasting.
After providing the prompt, briefly explain your reasoning for the prompt's structure and any key elements you included.
A collection of Claude Code recommendations and practices. Learn practical techniques to enhance your AI-assisted development workflow with Claude Code.
Other commands on claude-code-rules.
- /update-component-reference
description: Add plugin components to the website docs, including component reference pages, plugin index entries, and plugin READMEs argument-hint: Component or plugin to document (e.g., "skill glab", "agent code-reviewer", "plugin handbook-reflect") allowed-tools:
Open command - /version-bump
Bump versions across the monorepo during release process
Open command - /explain
Provide clear explanations of code, concepts, and system behavior with educational clarity
Open command - /five-whys
Use the "Five Whys" root cause analysis technique to deeply understand problems.
Open command - /reflect
Create a reflective analysis of the current Claude Code session, focusing on techniques, patterns, lessons learned, and workflow improvements.
Open command - /save-prompt
Generalize the current discussion into a reusable prompt and save it as a file
Open command

