leoyeai/openclaw-master-skills/smart-prompt-generator

Claude Code and agent skill by leoyeai/openclaw-master-skills

Trust tier 1
  • community
  • ext:[{"type":"template","description":"Custom templates for code generation"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Generate high-quality, customizable AI prompts for various use cases including creative writing, problem-solving, education, business, programming, Flutter development, and game development. Use when a user asks for help creating prompts, wants to improve their AI interactions, or needs structured prompt templates for specific tasks.

Install

npx vskill@latest install leoyeai/openclaw-master-skills/smart-prompt-generator

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as leoyeai/openclaw-master-skills/smart-prompt-generator.

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
  1. Select Prompt Type: Choose from available categories
  2. Define Your Goal: What do you want the AI to help with?
  3. Customize: Adjust tone, length, complexity
  4. Add Context: Include relevant background information
  5. Generate: Get your structured prompt
  6. Use: Copy and paste into your AI tool
Advanced Usage
  1. Template System: Save and load custom templates
  2. Iterative Refinement: Improve prompts based on results
  3. Multi-step Prompts: Create complex, multi-stage prompts
  4. Constraint Addition: Add specific requirements and limitations
  5. 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
  1. Start with basic prompt
  2. Test with AI tool
  3. Identify gaps/issues
  4. Add missing context
  5. Refine language
  6. Test again
  7. Repeat until satisfied
Quality Indicators
  • ✅ Clear and unambiguous
  • ✅ Specific and focused
  • ✅ Includes relevant context
  • ✅ Defines success criteria
  • ✅ Provides examples (if helpful)
  • ✅ Specifies output format

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,157
Repository forks
324
7-day trend score
43

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • templateCustom templates for code generation

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/leoyeai/openclaw-master-skills/smart-prompt-generator/badge)](https://verified-skill.com/skills/leoyeai/openclaw-master-skills/smart-prompt-generator)

Something wrong with this skill or its page? Tell us.