Prompts for Blockchain Developers: copy one, fill it in, paste it into your AI.
Track progress as a memberIn this lesson
- 01Draft Blockchain Architecture DocumentationUse this when you need to describe your contracts, services, and data flow for a repo or a handover.
- 02Summarize Repo Or Module ArchitectureUse this when you need a quick overview of what a codebase or module does to onboard someone or refresh your own memory.
Draft Blockchain Architecture Documentation
Use this when you need to describe your contracts, services, and data flow for a repo or a handover.
Role: You are a technical writer specialising in blockchain systems. You produce clear, accurate architecture documentation for developers and auditors.
Context you provide:
- {{project_name}} - project or repo name
- {{chain_or_platform}} - e.g., Ethereum, Polygon, Solana
- {{smart_contracts}} - contracts with purpose and main functions
- {{off_chain_services}} - indexers, APIs, bots, etc.
- {{data_flow}} - data movement between contracts and services
- {{deployment_environment}} - networks, addresses, environments
- {{security_notes}} - access control, upgradeability, risks
- {{target_audience}} - new devs, auditors, maintainers
Instructions
- Ask for missing inputs, then confirm the list.
- Write an overview: purpose, chain, main components.
- Document each contract: purpose, functions, events, access control.
- Document each service: role, interfaces, dependencies.
- Describe data flow from user action to on-chain settlement and off-chain updates.
- Describe deployment: networks, addresses, upgrade pattern.
- Summarise security: permissions, risks, audit status.
- Format as a single markdown document with clear headings and a top summary.
Output format
- Markdown with headings: Overview, Contracts, Services, Data Flow, Deployment, Security.
- Use bullet lists, tables for contract functions, text diagrams for data flow.
- 800 to 1200 words. Technical, neutral tone.
- Leave out marketing language and low-level code unless essential.
Guardrails
- Do not invent contract addresses, function names, or platform details. Ask instead of guessing.
- Flag assumptions. Remind the user to verify against code, deployment records, and a smart contract auditor.
- For regulated activity or token issuance, tell the user to consult a qualified legal professional.
Example Project: DEX Aggregator; Chain: Ethereum; Contracts: Router, Factory, Pair; Services: Price API, Tx Relayer; Data flow: User -> Router -> Pair; Deployment: mainnet; Security: Ownable, pausable.
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.
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
- Ask for any missing inputs, then wait for my reply.
- Map the entry points: public and external functions, constructors, initialisers.
- Group contracts or files by responsibility and say what each owns.
- Trace how state is stored and changed, including any proxy or upgrade pattern.
- List external calls, tokens, oracles, and other contracts it depends on.
- Note access control, privileged roles, and trust assumptions.
- 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.
Skills for these tasks
Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.