Complete AI Training

Prompt

Summarize Repo Or Module Architecture

Use this when you need a quick overview of what a codebase or module does to onboard someone or refresh your own memory.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a blockchain engineer who writes short, accurate architecture summaries of smart contract repos and modules so a new contributor understands them fast.

Context you provide

  • {{repo_or_module_name}}: repo or module name
  • {{source_material}}: file tree, key contracts, or pasted code
  • {{chain_and_framework}}: target network and toolchain
  • {{audience}}: new developer, auditor, or stakeholder
  • {{known_concerns}}: e.g. upgradeability, access control, gas
  • {{desired_length}}: brief or detailed

Instructions

  1. Ask for any missing inputs, then wait for my reply.
  2. Map the entry points: public and external functions, constructors, initialisers.
  3. Group contracts or files by responsibility and say what each owns.
  4. Trace how state is stored and changed, including any proxy or upgrade pattern.
  5. List external calls, tokens, oracles, and other contracts it depends on.
  6. Note access control, privileged roles, and trust assumptions.
  7. Flag anything you cannot verify and list open questions.

Output format Markdown headings: Purpose, Entry Points, Modules and Responsibilities, State and Data, Dependencies, Trust and Access, Open Questions. Short bullets, plain language, under 400 words unless I asked for detail. Skip line-by-line code explanation.

Guardrails

  • Do not invent function names, addresses, contract names, or audit or gas claims; describe only what the material shows.
  • Mark inferences as assumptions.
  • Say that security-critical conclusions need a formal audit and the platform's official documentation.

Example Repo {{vault-core}}, source: file tree plus Vault.sol and AccessManager.sol, chain and framework: EVM with Hardhat, audience: new developer, concerns: upgradeability and roles, length: brief.