Explore Prompts
Find the perfect prompt for your next project
Python函式與類別教學及程式碼範例
此提示旨在引導使用者理解Python中函式與類別的基本概念,並透過實用範例加深學習。
像素巫師的驚喜派對咒語
此提示要求 Cursor AI 為一個復古遊戲中的巫師角色生成一個「驚喜派對」咒語的 Python 程式碼建議,該咒語能隨機顯示慶祝文字。
Python高效物件列表處理函數
此提示旨在請求一個Python函數,用於高效篩選和轉換物件列表,以提升資料處理效率。它強調優化效能和程式碼可讀性,特別適用於需要處理大量資料集的場景。
Python 物件導向學習與程式碼範例
此提示引導使用者學習 Python 類別與物件的基本概念,並請求 Cursor 提供解釋、程式碼範例及練習建議。
撰寫產品登陸頁面特色區塊
旨在為新產品或服務生成一個具說服力的網頁特色區塊,強調其核心價值並包含明確的行動呼籲。此區塊將有助於抓住訪客注意力並促成轉換。
彈性日誌系統Python實現建議
此提示旨在為開發者提供一個可擴展且非同步的日誌記錄系統的 Python 程式碼骨架與設計建議,以應對多種輸出目標和日誌層級。
設計美觀且提升體驗的光標樣式
此提示旨在產生針對網站或應用程式的光標設計建議,著重於提升視覺美學、改善使用者互動體驗及確保視覺層次感。
Python Function Definition and Usage Tutorial
This prompt provides a step-by-step tutorial for creating a basic Python script that defines and uses a function, utilizing Cursor's code suggestion feature at each coding step.
Generate Simple Greeting Function
This prompt asks Cursor to generate a basic function that takes a name as input and returns a personalized 'Hello' message, ideal for beginners learning programming.
FastAPI Endpoint with Redis Streams & Pydantic Validation
Generates a high-performance FastAPI POST endpoint for batch data ingestion, incorporating Pydantic validation, Redis Streams queuing, and robust asynchronous error handling.
Python Configuration Manager Class Generation
This prompt requests the generation of a robust Python class for managing application configurations, including loading, saving, and comprehensive error handling. It emphasizes modularity, maintainability, and production readiness.
Unveiling the Sunken City's Secrets
This prompt asks the AI to imagine and describe the discovery of an ancient, magical city and its mysterious inhabitant, focusing on sensory details and narrative progression.
Generate Thread-Safe LRU Cache Python Code
This prompt requests a complete Python implementation of a thread-safe LRU cache. It emphasizes efficiency, synchronization, detailed documentation, and adherence to technical best practices.
SaaS MRR & Churn Forecasting Script
This prompt requests a Python script to analyze SaaS KPIs like Monthly Recurring Revenue and customer churn rate. The script should project future revenue based on strategic adjustments for upcoming business reviews.
Explain Singly Linked List & Python Code
This prompt instructs Cursor to provide an educational explanation of singly linked lists, including definitions and examples, followed by a Python code suggestion for a basic implementation.
Absurd Text Adventure Game Scenario Generator
This prompt asks Cursor to generate a Python code snippet for a humorous, interactive text adventure, focusing on unexpected and playfully illogical game outcomes.
Optimize Python Function for Performance and Reliability
This prompt instructs Cursor to refactor an existing Python function, focusing on optimizing its performance, enhancing readability, and integrating robust error handling to ensure efficiency and fault tolerance for large datasets. It aims to save development time by quickly generating an improved version.
Python Function and Loop Learning Example
This prompt helps a beginner learn Python functions and `for` loops by requesting an example, clear explanations, and a follow-up challenge to reinforce understanding.
Dynamic CTA Button for Landing Page
This prompt asks Cursor to generate HTML, CSS, and JavaScript for a dynamic call-to-action button designed to maximize conversion rates on a landing page, incorporating marketing best practices for persuasion and value proposition.
Python Singleton Thread-Safe Logger Implementation
This prompt requests a Python implementation of a thread-safe logging utility adhering to the Singleton design pattern, with configurable log levels and usage examples.