Home / Prompts / Code

Write a README for my project

Create documentation from the actual code, not guesses.

CodeStep by step

The prompt

Read the project in ~/code/my-app and write a README.md with: what it does, requirements, setup steps, how to run tests and the main folders. Show me the draft before saving it.

What the AI will do

  1. Reads the project's code, config and scripts.
  2. Drafts a README.md with what it does, requirements, setup, how to run tests and the main folders.
  3. Shows you the draft before saving it.

On Windows, Mac and Linux

Same on all three.

How to use it

  1. Make sure Shellway is connected in ChatGPT, Claude or Cursor.
  2. Paste the prompt and change the folder names or paths to match your computer.
  3. Review the plan your AI shows before you confirm any changes.

Example reply

An illustration of a typical answer. Your AI will show the real files, names and numbers from your computer.

Draft README.md:
  # my-app
  Booking API for small clinics.
  ## Requirements: Node 22, SQLite
  ## Setup: npm install; cp .env.example .env; npm run dev
  ## Tests: npm test (112 tests)
  ## Folders: src/routes, src/db, src/jobs
Save it?

Good to know

Your AI shows its plan before it changes anything, and your rules on the computer still apply: read-only mode, allowed folders and blocked commands, with a backup before each file edit (safety rules). Works in ChatGPT, Claude, Claude Code and Cursor; the free plan gives 50 actions a day (pricing).

Related prompts