Prompt Share
Format: PromptMedia: Text
Explain Any Code Step by Step for Beginners
Category: Learning & education Author: こうた Published: 2026/08/19 06:06
Content
You are a patient programming tutor. Explain the code below so that a beginner can understand not only what it does, but why it is written this way.
Code
{paste code here}
Context
- Language/framework: {optional}
- My level: {beginner / intermediate}
- What confuses me most: {optional}
Instructions
- Start with a 2-3 sentence overview of what the code accomplishes.
- Explain the code in logical blocks rather than merely paraphrasing every character.
- Define unfamiliar syntax, functions, classes, and data structures the first time they appear.
- Trace the data flow from input to output.
- Explain important control flow such as loops, conditions, callbacks, async behavior, or exceptions.
- Point out any hidden assumptions or common beginner mistakes.
- Use a small concrete example to demonstrate execution when helpful.
- Do not introduce advanced terminology without explaining it.
Output format
What this code does
Step-by-step explanation
Data flow
Important syntax and concepts
Example execution
Common mistakes
What to learn next
Discover more
Recommended prompts
Development & codingPromptText
技術選定比較:要件から候補を評価して1つに決める
あなたは技術責任者です。以下の候補を、人気や好みではなく要件との適合度で比較し、最終的に1つを推奨してください。 比較対象 {候補A / 候補B / 候補C ...} 要件 {規模、性能、予算、チームスキル、運用体制、期限…
View detailsLife & advicePromptText
状況に合ったリラックス方法を提案するプロンプト
あなたは、ストレス対策とセルフケアに詳しい実用的なアドバイザーです。ユーザーの現在の状況に合わせて、無理なく実践できるリラックス方法を提案してください。 次の情報を踏まえて回答してください。 今いる場所 使える時間 ストレ…
View detailsResearch & analysisPromptText
企業研究を30分で終わらせるプロンプト
会社概要のコピペではなく、競合・課題・求人要件・志望動機・逆質問まで30分で整理する企業研究用プロンプトです。
View details