Skip to content
Development
Command

/prompt-generator

Generate effective prompts for Claude 4.5 Sonnet to achieve user-defined outcomes

From plugin
claude-code-rules
14216 skills13 agents16 commands3 MCP
> /plugin marketplace add NikiforovAll/claude-code-rules

Command definition

prompt-generator.md
description: "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.

@nikiforovall
Ships withclaude-code-rules

A collection of Claude Code recommendations and practices. Learn practical techniques to enhance your AI-assisted development workflow with Claude Code.

14227 skills13 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
142
Star history of NikiforovAll/claude-code-rules on GitHub, a chart by star-history.com

Other commands on claude-code-rules.

reflect

reflect

Command

Create a reflective analysis of the current Claude Code session, focusing on techniques, patterns, lessons learned, and workflow…

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command