Home / Prompts / Code

Explain a codebase

Get a plain-English map of an unfamiliar project and where to start.

CodeInstant

The prompt

Look at the project in ~/code/my-app. Explain what it does, how the folders are organised, the main entry points, how to run it locally and the three files I should read first.

What the AI will do

  1. Reads the folder layout and key files such as the README and config files.
  2. Finds the entry points and the command to run the project.
  3. Explains it in plain English and names three files to read first. Nothing is changed.

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.

my-app is a Node.js API for booking appointments.
  src/routes   HTTP endpoints
  src/db       SQLite access
  src/jobs     reminder emails
Run: npm install, then npm run dev (port 3000).
Read first: src/server.js, src/routes/bookings.js, src/db/schema.sql

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