πŸ“š The AI Prompt Library

162 proven prompts, ready to copy. Pick a category or search.

Regex explainer
Coding Assistants
Explain this regex in plain English, step by step: [paste regex]
#regex Β· 0 copies
Variable naming
Coding Assistants
Suggest clear variable and function names for this logic: [paste code]
#naming Β· 0 copies
Bash script
Coding Assistants
Write a bash script that [task], with error handling.
#bash Β· 0 copies
Security review
Coding Assistants
Review this code for OWASP top-10 issues and list fixes: [paste code]
#security Β· 0 copies
Code to flowchart
Coding Assistants
Describe this code as a simple text flowchart: [paste code]
#diagram Β· 0 copies
Git commit message
Coding Assistants
Write a conventional commit message for these changes: [paste diff]
#git Β· 0 copies
Dockerfile
Coding Assistants
Write an optimized multi-stage Dockerfile for a [language] app.
#docker Β· 0 copies
Cron expression
Coding Assistants
Write a cron expression that runs [schedule] and explain each field.
#cron #devops Β· 0 copies
API docs
Coding Assistants
Write concise API documentation for this endpoint: [paste code]
#docs #api Β· 0 copies
Unit tests
Coding Assistants
Write 3 unit tests for this function: [paste code]
#testing Β· 0 copies
Refactor code
Coding Assistants
Refactor this code for readability and add comments: [paste code]
#refactor Β· 0 copies
SQL query
Coding Assistants
Write a SQL query to [task] using these tables: [tables].
#sql #database Β· 0 copies
Write regex
Coding Assistants
Write a regex that matches [pattern] and explain each part.
#regex Β· 0 copies
Explain code simply
Coding Assistants
Explain what this code does in plain English for a non-programmer, then list any risks: [paste code]
#explain Β· 0 copies
Debug my code
Coding Assistants
Find the bug in this code, explain why it happens, and show the fixed version: [paste code]
#debug Β· 0 copies