561 prompts found
Review this React component for: ```tsx [CODE] ``` Check: component design (single responsibility), hooks usage correctness (dependency arrays, custom hooks),…
Analyze this [LANGUAGE] code for performance issues: ``` [CODE] ``` Evaluate: time complexity (Big-O), space complexity, database query efficiency, N+1…
Perform a security review of this [LANGUAGE] code: ``` [CODE] ``` Check for: OWASP Top 10 vulnerabilities (injection, broken auth,…
Review the following [LANGUAGE] code for best practices: ```[LANGUAGE] [CODE] ``` Analyze: 1) Code style and formatting, 2) Naming conventions,…
Generate a complete CRUD application for [ENTITY] using [FRAMEWORK]. Include: model/schema definition, migration files, controller with all CRUD operations, route…
Write git hooks for [PROJECT TYPE]: pre-commit (linting, formatting check), commit-msg (conventional commit format validation), pre-push (run tests, build check),…
Create a regular expression for [PATTERN DESCRIPTION]. Provide: the regex, a breakdown explanation of each component, 5 matching examples, 5…
Create a docker-compose.yml for [PROJECT TYPE] with: [SERVICES NEEDED]. Include: version specification, service definitions with build context, environment variables, volumes,…
Generate CSS for [LAYOUT DESCRIPTION]. Requirements: mobile-first approach, CSS custom properties for theming, Grid or Flexbox (justify choice), responsive breakpoints…
Write a bash script that [AUTOMATION TASK]. Requirements: shebang line, set strict mode (set -euo pipefail), variable definitions with defaults,…