AI Prompt Generator
Overview
Generate high-quality, customizable AI prompts that help users get better results from AI tools. This skill provides structured templates, best practices, and prompt generation for various use cases including Flutter app development and game development.
Core Features
- Multiple Prompt Categories: Creative, Problem-Solving, Educational, Business, Programming, Flutter Development, Game Development
- Tone & Style Customization: Formal, Casual, Technical, Creative, Professional
- Length & Complexity Control: Short, Medium, Detailed | Beginner, Intermediate, Advanced
- Context Enhancement: Add background, constraints, and specific requirements
- Template Library: Pre-built templates with customization options
- Real-time Guidance: Best practices and tips for effective prompts
Usage
Basic Usage
- Select Prompt Type: Choose from available categories
- Define Your Goal: What do you want the AI to help with?
- Customize: Adjust tone, length, complexity
- Add Context: Include relevant background information
- Generate: Get your structured prompt
- Use: Copy and paste into your AI tool
Advanced Usage
- Template System: Save and load custom templates
- Iterative Refinement: Improve prompts based on results
- Multi-step Prompts: Create complex, multi-stage prompts
- Constraint Addition: Add specific requirements and limitations
- Output Formatting: Define how you want the response structured
Prompt Categories
1. Creative Writing Prompts
Structure:
Role: [creative writer/editor]
Task: [specific writing task]
Context: [background, setting, characters]
Constraints: [word count, style, tone]
Output: [expected format]
Example:
You are a creative fiction writer. Write a detailed short story about an astronaut's
experience on a solo mission. Include emotional challenges, a turning point in the
plot, and a meaningful ending. Target length: 1500 words. Tone: Reflective and
introspective.
2. Problem-Solving Prompts
Structure:
Context: [situation/background]
Problem: [specific issue]
Constraints: [limitations, requirements]
Desired Output: [solution format]
Success Criteria: [how to measure success]
Example:
I'm experiencing [specific technical issue] in [context/environment]. The problem
occurs when [specific conditions]. I've tried [previous attempts]. Constraints:
[cannot change X, must work with Y]. Provide step-by-step troubleshooting with
explanations for each step.
3. Educational Prompts
Structure:
Topic: [subject matter]
Audience: [who is learning]
Learning Objective: [what they should understand]
Teaching Method: [explanation style]
Assessment: [how to verify understanding]
Example:
Explain [complex concept] to [beginners/intermediate/advanced learners] using
[analogies/examples/step-by-step approach]. Include practical examples and
address common misconceptions. Provide a brief quiz at the end to check
understanding.
4. Flutter App Development Prompts
Structure:
App Type: [what kind of app]
Features: [required functionality]
State Management: [Provider/Riverpod/Bloc/etc.]
Architecture: [MVVM/Clean Architecture/etc.]
Platforms: [iOS/Android/Web/Desktop]
Templates:
App Architecture Setup
Create a Flutter app architecture for [app type] with the following requirements:
- State Management: [Provider/Riverpod/Bloc/GetX]
- Architecture Pattern: [MVVM/Clean Architecture/MVC]
- Key Features: [list main features]
- Target Platforms: [iOS/Android/Web/Desktop]
- Data Persistence: [Hive/SharedPreferences/SQLite/Firebase]
- API Integration: [REST/GraphQL/Firebase]
Provide:
1. Folder structure
2. Key files and their responsibilities
3. Dependency injection setup
4. Navigation approach
5. Error handling strategy
Feature Implementation
Implement [specific feature] in Flutter with these requirements:
- Feature Description: [detailed description]
- UI/UX Requirements: [design specifications]
- State Management: [how state will be managed]
- Data Flow: [how data moves through the app]
- Error Handling: [how errors are handled]
- Testing: [unit/widget/integration tests needed]
Include:
1. Complete code implementation
2. State management setup
3. UI components
4. Business logic
5. Error handling
6. Example usage
Widget Creation
Create a custom Flutter widget for [purpose] with these specifications:
- Widget Type: [stateless/stateful]
- Props/Parameters: [required and optional parameters]
- Styling: [theming and customization options]
- Accessibility: [semantic labels, screen reader support]
- Performance: [optimization considerations]
Provide:
1. Widget code with documentation
2. Example usage
3. Customization options
4. Performance optimizations
5. Accessibility features
State Management Setup
Set up state management for [app feature] using [Provider/Riverpod/Bloc]:
Requirements:
- State Type: [simple/complex/nested]
- Updates: [how state changes]
- Persistence: [local storage needs]
- Performance: [optimization requirements]
Include:
1. State model/class definition
2. State management setup
3. Provider/Bloc/Cubit implementation
4. Consumer widget examples
5. Testing approach
API Integration
Integrate [API name] into Flutter app with these requirements:
- API Type: [REST/GraphQL/Firebase]
- Endpoints: [list required endpoints]
- Authentication: [method]
- Error Handling: [strategy]
- Caching: [requirements]
- Offline Support: [needs]
Provide:
1. API client setup
2. Model classes
3. Repository pattern implementation
4. Error handling
5. Caching strategy
6. Example usage
5. Flutter Game Development Prompts
Structure:
Game Type: [2D/2.5D/puzzle/platformer/etc.]
Engine: [Flame/Forge2D/custom]
Core Mechanics: [main gameplay elements]
Art Style: [visual approach]
Platforms: [mobile/web/desktop]
Templates:
Game Architecture Setup
Design a Flutter game architecture for [game type] using [Flame/Forge2D]:
Requirements:
- Game Type: [puzzle/platformer/RPG/etc.]
- Core Mechanics: [list main gameplay elements]
- Save System: [progress saving needs]
- Monetization: [ads/IAP/premium]
- Platforms: [mobile/web/desktop]
Include:
1. Game loop structure
2. Scene/screen management
3. Component system
4. State management
5. Asset management
6. Save/load system
7. Performance optimizations
Game Mechanic Implementation
Implement [specific game mechanic] in Flutter using [Flame/Forge2D]:
Mechanic Details:
- Type: [movement/collision/scoring/etc.]
- Player Interaction: [input methods]
- Visual Feedback: [animations/effects]
- Audio: [sound effects/music]
Provide:
1. Core mechanic code
2. Component setup
3. Collision detection (if needed)
4. Animation system
5. Input handling
6. Example usage
7. Testing approach
Character/Entity System
Create a character/entity system for [game type] with:
Requirements:
- Entity Types: [player/enemies/NPCs/objects]
- Behaviors: [AI/movement/interaction]
- Attributes: [health/score/abilities]
- Rendering: [sprites/animations]
Include:
1. Base entity class
2. Component system
3. Behavior trees/state machines
4. Animation system
5. Collision system
6. Example entities
7. Performance optimizations
Level/World Design
Design a level/world system for [game type]:
Requirements:
- Level Structure: [linear/open-world/procedural]
- Progression: [difficulty scaling/unlocks]
- Save Points: [checkpoints/persistence]
- Assets: [tilemaps/3D models/etc.]
Provide:
1. Level data structure
2. Level loading system
3. Procedural generation (if applicable)
4. Progression system
5. Asset management
6. Example levels
7. Testing approach
Game UI/UX
Design game UI/UX for [game type] with these screens:
Screens Needed:
- Main Menu: [options/features]
- HUD: [score/health/controls]
- Pause Menu: [options/controls]
- Game Over: [stats/restart/quit]
Include:
1. UI component structure
2. State management for UI
3. Animation/transitions
4. Responsive design
5. Accessibility features
6. Example implementations
Performance Optimization
Optimize Flutter game performance for [platform]:
Current Issues:
- [specific performance problems]
- [bottlenecks identified]
Target Performance:
- Frame Rate: [target FPS]
- Memory: [memory budget]
- Load Times: [acceptable load times]
Provide:
1. Profiling approach
2. Optimization strategies
3. Code improvements
4. Asset optimization
5. Memory management
6. Testing methodology
6. Business & Marketing Prompts
Templates:
Marketing Campaign
Create a marketing campaign for [product/service] targeting [audience]:
Campaign Goals: [awareness/conversion/engagement]
Target Audience: [demographics, interests]
Key Messages: [unique value propositions]
Channels: [social media/email/ads]
Budget: [constraints]
Timeline: [duration]
Include:
1. Campaign strategy
2. Content calendar
3. Messaging framework
4. Channel strategy
5. KPIs and measurement
6. Example content pieces
Business Strategy
Develop a business strategy for [company/product]:
Current Situation: [market position, challenges]
Goals: [short-term and long-term objectives]
Resources: [available assets and constraints]
Market: [industry trends, competition]
Provide:
1. Strategic analysis
2. Competitive positioning
3. Growth strategy
4. Implementation roadmap
5. Risk mitigation
6. Success metrics
Best Practices
1. Start Clear
- Define your exact goal
- Identify your audience
- Specify desired output format
- Include relevant context
2. Be Specific
- Use concrete examples
- Define technical terms
- Specify scope and depth
- Include constraints
3. Add Context
- Provide background information
- Include relevant constraints
- Mention preferred style/approach
- Define success criteria
4. Iterate
- Test generated prompts
- Refine based on results
- Save successful versions
- Build on what works
5. Quality Check
- Review for clarity
- Ensure completeness
- Verify alignment with goals
- Check for ambiguity
Prompt Enhancement Framework
Context Enhancement
[Base Prompt]
Context: [Background information]
Constraints: [Limitations and requirements]
Examples: [Sample inputs/outputs]
Format: [Desired output structure]
Constraint Addition
[Base Prompt]
Requirements:
- Must include [specific elements]
- Must avoid [specific elements]
- Must be [length/format]
- Must consider [specific aspects]
Output Formatting
[Base Prompt]
Output Format:
- Structure: [paragraph/list/table/etc.]
- Length: [word count/sections]
- Style: [tone/voice]
- Include: [specific sections/elements]
Common Prompt Patterns
Role-Based Prompts
You are a [specific role] with expertise in [domain].
[Task description] considering [specific context].
Provide [output format] that includes [specific elements].
Step-by-Step Prompts
[Task description]. Break this down into:
1. [First step]
2. [Second step]
3. [Third step]
For each step, provide [specific details].
Example-Driven Prompts
[Task description]. Follow this pattern:
Example 1: [input] → [output]
Example 2: [input] → [output]
Now apply this to: [new input]
Comparison Prompts
Compare [Option A] and [Option B] for [specific use case].
Consider: [criteria 1], [criteria 2], [criteria 3].
Provide recommendation with justification.
Prompt Refinement Techniques
Iterative Refinement
- Start with basic prompt
- Test with AI tool
- Identify gaps/issues
- Add missing context
- Refine language
- Test again
- Repeat until satisfied
Quality Indicators
- ✅ Clear and unambiguous
- ✅ Specific and focused
- ✅ Includes relevant context
- ✅ Defines success criteria
- ✅ Provides examples (if helpful)
- ✅ Specifies output format