{
 "schema": "aiblocks-page/1",
 "id": "read-any-file-in-plain-english-builder-prompt",
 "type": "prompt",
 "name": "Plain-text file reader code planner",
 "summary": "Name a code file in your project. Claude Code explains it block by block in plain English, then sums up what the file does in one paragraph.",
 "headline": "Plain-text file reader code planner",
 "subhead": "Give Claude Code the path to one code file in your project. It labels each block as one of five kinds, explains it in everyday words and ends with a one-paragraph summary. It reads the file and changes nothing.",
 "job": {
  "id": "build-software",
  "name": "Build and ship software"
 },
 "level": "intermediate",
 "thinking": "medium",
 "tested": true,
 "updated": "2026-11-03",
 "first_published": "2026-10-25",
 "inputs": [
  {
   "type": "codebase",
   "required": true,
   "label": "Codebase",
   "what": "a project's code, in a folder or repo the AI can open"
  }
 ],
 "outputs": [
  {
   "type": "document",
   "required": true,
   "label": "Document",
   "what": "a finished document, such as a Word file, a PDF or a page of notes"
  }
 ],
 "you_give": [
  "Claude Code, open in your project folder",
  "The path to one code file, for example src/queue.ts",
  "Who is reading, such as a business owner with no coding background (optional)"
 ],
 "you_get": [
  "The file split into blocks, each with its line range, one of five labels and a plain English explanation",
  "A one-paragraph summary: what the file is for, what goes in and what comes out",
  "A short list of things this file does not show, such as which files call it"
 ],
 "use_when": [
  "A developer or an AI wrote a file for you, and you want to know what it does before you rely on it.",
  "You inherited a project and need to understand one file at a time.",
  "A bug report names a file, and you want to know what that file is for.",
  "You are learning to read code and want to practise on files from your own project."
 ],
 "skip_when": [
  "You have no project folder and only want to paste a snippet into a chat: use the Code explainer for beginners.",
  "You want a guide for a whole team, with the reason beside every piece: use the Code walkthrough writer.",
  "You want the file changed, fixed or tested. This prompt only explains.",
  "The file is a document, a spreadsheet or a picture, not code. This prompt only reads code."
 ],
 "output_sample": {
  "input": [
   "The path to one code file in your project",
   "Who is reading (optional)"
  ],
  "prerequisites": [
   "Claude Code, or another coding AI that can read your project folder"
  ],
  "output": [
   {
    "name": "Block-by-block explanation",
    "contains": "Each block with its line range, one of five labels and a plain English sentence or two."
   },
   {
    "name": "IMPORTS (shopping list)",
    "contains": "What the file borrows from other files or tools, and why it needs each one."
   },
   {
    "name": "TYPES (contract)",
    "contains": "The shape the data must have, in everyday words."
   },
   {
    "name": "FUNCTIONS (recipes) and WAITING CALLS",
    "contains": "What the file can do, and which outside services it waits on."
   },
   {
    "name": "EXPORTS (front door)",
    "contains": "What the file offers to the rest of the project."
   },
   {
    "name": "Summary paragraph",
    "contains": "The file's job, what it takes in and what it produces, in one paragraph."
   },
   {
    "name": "Not clear from this file",
    "contains": "What depends on other files or settings, so nothing is guessed."
   }
  ]
 },
 "output_shape": "**Lines <start>-<end>: <LABEL> (<everyday name>)**\n<One or two plain sentences on what this block is for.>\n\n(one entry per block, in file order)\n\nSUMMARY\nThis file's job is to <what it does>. It takes <input>, does <process> and produces <output>.\n\nNOT CLEAR FROM THIS FILE\n- <what depends on another file or on settings you did not share>",
 "how_to_use": [
  "Open your project folder in Claude Code. It needs to read the file itself. Claude Code runs on a paid Claude plan or an API account.",
  "Pick a short file first, under about 100 lines. Copy the prompt from the skill file and paste it in. Replace FILE_PATH with the real path.",
  "Read the block-by-block explanation. For any block you did not follow, ask 'explain that block again with a real-life comparison'.",
  "Read the closing summary. Check it against what you thought the file did.",
  "Ask 'which other files does this one connect to?' and Claude Code will look in your project. Then repeat on the next file."
 ],
 "checks": [],
 "next": [
  {
   "name": "AI coding task brief writer",
   "url": "https://useaiblocks.com/skills/coding-agent-handoff-writer",
   "why": "Build it"
  }
 ],
 "source": null,
 "credits": [],
 "files": [
  "references/worked-example.md"
 ],
 "links": {
  "page": "https://useaiblocks.com/prompts/read-any-file-in-plain-english-builder-prompt",
  "markdown": "https://useaiblocks.com/prompts/read-any-file-in-plain-english-builder-prompt.md",
  "json": "https://useaiblocks.com/prompts/read-any-file-in-plain-english-builder-prompt.json",
  "instructions": "https://useaiblocks.com/skills/read-any-file-in-plain-english-builder-prompt/SKILL.md",
  "download": "https://useaiblocks.com/skills/read-any-file-in-plain-english-builder-prompt.zip",
  "api_item": "https://useaiblocks.com/api/v1/items/read-any-file-in-plain-english-builder-prompt",
  "api_document": "https://useaiblocks.com/api/v1/documents/prompt/read-any-file-in-plain-english-builder-prompt",
  "mcp": "https://useaiblocks.com/mcp"
 }
}
