Skip to content

DirectoryPrompts

Coding prompts

Code review, debugging, tests, docs and architecture.

9 prompts in Coding · A–Z

Coding9

All topics
Convert Code to Another Language Prompt

This prompt converts code from one language to another. Paste the code and name the target language and setup; you get a mapping table, the converted code, differences to test and how to run it.

440 words · 2 var.
Prompt to Explain Source Code

This prompt explains code you did not write. Paste the code and say what you know and what you need to change; you get a summary, a walkthrough in run order, the traps and where to start.

388 words · 2 var.
Prompt to Understand a Codebase

This prompt gives you a working map of a codebase you just joined. Paste the file tree, a few key files and your first task; you get a map, one traced flow and where to start.

425 words · 3 var.
Prompt to Write a Python Script

This prompt writes a Python script you can run yourself. Describe the job, your computer and a sample of the input; you get the script, plain steps to run it and the output to expect.

423 words · 3 var.
Prompt to Write a README

This prompt writes a README for your project. Paste your notes and the key files, commands and options; you get a complete README and a list of placeholders and conflicts to check.

342 words · 2 var.
Prompt to Write SQL From a Question

This prompt turns a plain question into SQL. Paste your database type, the schema and your question; you get the definitions it used, the query, how it works and quick checks on the result.

382 words · 3 var.
Refactor Code for Readability Prompt

This prompt refactors working code so it is easier to read. Paste the code, your style rules and what must not change; you get the cleaned code, a change table and any bugs it left alone.

375 words · 3 var.
System Prompt for Coding

This prompt writes a system prompt for your coding assistant. Describe your stack, how you work and where it will go; you get instructions ready to paste, the reason for each rule and test requests.

393 words · 3 var.
Write a Function From a Spec Prompt

This prompt turns a written spec into working code. Paste your language setup, the spec and the types it must use; you get the assumptions, the function, an edge case table and example calls.

385 words · 3 var.