Explore Prompts
Find the perfect prompt for your next project
Node.js Express Error Handling
Creating a global error handling middleware for an Express app.
演算法:二元搜尋
在 Java 中實作並解釋二元搜尋演算法。
SQL Query Optimization
Optimizing a slow SQL join query for better performance.
Go高并发LRU缓存优化建议
用户正在Go中实现一个线程安全的LRU缓存,需要AI提供关于并发控制和性能优化的代码建议,尤其关注锁策略和内存效率。
营销型CTA按钮及价值主张代码
此提示旨在获取一个高转化率的行动号召按钮及其配套的价值主张文本的HTML/CSS/JavaScript代码,用于产品登陆页面。
CSS Flexbox 與 Grid 佈局
使用 CSS Grid 生成響應式卡片佈局。
正則表達式 Email 驗證
建立穩健的正則表達式以驗證電子郵件。
Explain Pure Functions in JavaScript with Example
This prompt asks Cursor to provide a clear, educational explanation of pure functions in JavaScript, complete with practical code examples illustrating their benefits.
Git Merge Conflict Resolution
Explaining how to resolve a complex git merge conflict.
Tailwind CSS Component
Building a responsive navigation bar with Tailwind CSS.
Docker Compose Setup
Creating a docker-compose file for a MERN stack application.
AWS Lambda Function (Node.js)
Writing a serverless function to resize images.
Algorithm: Binary Search
Implementing and explaining the Binary Search algorithm in Java.
Flutter Widget Creation
Creating a custom reusable button widget in Flutter.
Python Unit Testing (Pytest)
Writing comprehensive unit tests for a Python utility function.
Cybersecurity: SQL Injection Prevention
Fixing a vulnerable SQL query in Python code.
React 函數組件重構
將舊版類別組件重構為使用 TypeScript 的 React Hook。
Vue.js Composition API
Refactoring a Vue 2 Options API component to Vue 3 Composition API.
REST API Documentation (OpenAPI)
Generating a Swagger/OpenAPI spec for a user login endpoint.
Bash Script for Deployment
Writing a shell script to automate git pull and server restart.