Coding prompts

12 prompts to write and fix code. Debugging, reviews, tests and refactors.

Brief a coding agent on a task

Writes a clear task brief for an AI coding agent: scope, files, constraints and a definition of done, so it changes what you meant.

advanced3 blanks to fill

Choose an open model to run locally

Narrows down which open-weights model, size and quantization level fit your hardware and task, with trade-offs explained.

advanced3 blanks to fill

Review code like a senior engineer

Reviews a diff or file for bugs, security issues and readability, ranked by severity, with concrete line-level fixes.

intermediate2 blanks to fill

Write unit tests for a function

Generates focused unit tests covering normal cases, edge cases and errors, using your test framework’s conventions.

intermediate2 blanks to fill

Find a prompt for the task in front of you.

96 prompts in 8 categories. Copy one, fill in the blanks, paste it into any model.

Browse prompts

Promptlexity is a free library of 96 AI prompts and 8 downloadable AI skills across 8 categories, plus a glossary of 64 AI and prompting terms. Each prompt shows the exact text to paste, the variables to fill in, an example of what comes back, and why it works. Each glossary term has a plain-English definition, an example and a common mistake. 6 step-by-step guides cover the basics. No signup, works with ChatGPT, Claude, Gemini and other models.

Press Esc to close