Explore Prompts
Find the perfect prompt for your next project
Flask Hello World API Tutorial
This prompt requests a step-by-step guide and corresponding Python code to build a basic "Hello World" API endpoint using the Flask framework. It aims to help users understand the fundamental structure of a simple Flask application.
Python: Simple Addition Function for Beginners
This prompt asks Cursor to generate a basic Python function that adds two numbers, with detailed explanations suitable for a beginner. It focuses on clarity for someone new to programming concepts.
Go Concurrency (Goroutines)
Writing a Go program using channels and waitgroups.
JavaScript Async/Await Logic
Converting nested Promises to clean Async/Await syntax.
Magical Library Book Discovery
This prompt guides the AI to imagine and then describe a unique discovery within an fantastical library, focusing on sensory and imaginative details.
Secure API Key Hashing and Verification in Python
This prompt requests a secure method for hashing and verifying API keys in Python, emphasizing cryptographic best practices and security considerations.
CSS Flexbox vs Grid Layout
Generating a responsive card layout using CSS Grid.
Explain Recursion and Provide Factorial Code
This prompt educates on recursion in programming, defining its key components, and then requests a Python factorial function as an example.
Pet's Courage Code for Silly Adventure Game
This prompt asks Cursor to generate a Python function for a humorous pet-themed 'choose your own adventure' game. It seeks silly conditional logic to determine a pet's 'courage' based on comical inputs, ensuring an entertaining and impractical result.
Optimize Code for Performance and Efficiency
This prompt instructs Cursor to analyze existing code for performance bottlenecks, offering suggestions to improve execution speed and resource efficiency while maintaining readability and clear outcomes.
Learn Python Basic HTTP Server
Guides the user through learning how to set up and extend a simple HTTP server in Python using the `http.server` module, focusing on step-by-step explanations and code examples.
Feature Launch Marketing Copy for Dev Tool
This prompt requests persuasive marketing content for a new software library feature, emphasizing its unique value proposition and including a strong call-to-action to drive developer adoption.
Implement API Response Caching with LRU
This prompt asks Cursor to provide a Python code suggestion for caching API responses using `functools.lru_cache`, specifically addressing concurrency and potential TTL requirements.
Responsive Navigation Bar Design with Tailwind CSS
This prompt guides Cursor to generate React and Tailwind CSS code for a responsive navigation bar, emphasizing modern aesthetics, user experience, and clear visual hierarchy.
React Project Setup: Hello World Tutorial
This prompt requests a detailed, step-by-step guide on initializing a React project, cleaning it up, creating a basic component, and displaying 'Hello World' in the browser.
Python Greeting Script for Beginners
This prompt asks Cursor to generate a basic Python script that takes user input for a name and prints a personalized greeting, along with clear explanations and comments suitable for a coding beginner.
Concurrent LRU Cache Implementation
Generate a thread-safe, high-performance LRU cache in Python using a combination of a hash map and a double-linked list for O(1) operations.
Generate robust JSON payload validation utility
This prompt requests a Python utility function to validate JSON payloads against a schema, returning detailed results for integration into a professional backend service.
Aethelgard: Celestial Cartography
Imagine a newly discovered, fantastical exoplanet through the eyes of an ancient cartographer, detailing its unique ecosystems and sensory experiences. This prompt aims to inspire vivid descriptive writing.
React Functional Component Refactor
Refactoring a legacy class component into a React Hook using TypeScript.