generate_prompt
Transform raw ideas into structured prompts for AI assistants using templates for coding, writing, research, analysis, fact-checking, or general tasks. Optimizes prompts based on target AI models and project context.
Instructions
Transform a raw idea into a well-structured, actionable prompt optimized for AI assistants.
Use this tool when you need to: • Create a new prompt from scratch • Structure a vague idea into a clear request • Generate role-specific prompts (coding, writing, research, etc.)
Supports templates: coding (for programming tasks), writing (for content creation), research (for investigation), analysis (for data/business analysis), factcheck (for verification), general (versatile).
IMPORTANT: When available, pass workspace context (file structure, package.json, tech stack) to generate prompts that align with the user's project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idea | Yes | The raw idea or concept to transform into a prompt. Can be brief or detailed. | |
| template | No | Template type to use. Default: auto-detected from idea or "general". | |
| context | No | Additional context like domain, constraints, or preferences. | |
| targetModel | No | Target AI model for optimization. Default: "general". | |
| workspaceContext | No | Project context to ensure the prompt aligns with the codebase. Include: file/folder structure, package.json dependencies, tech stack (React, Node, etc.), relevant code snippets, and the original user request. This helps generate prompts that comply with project conventions. |