学習・教育
フォーマット: プロンプト生成メディア: テキスト
Explain Any Code Step by Step for Beginners
投稿者: こうた投稿日: 2026/08/19 06:06
内容
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
さらに探す
人気のプロンプト
学習・教育プロンプトテキスト
教科書のページを一問一答クイズに変換
教科書やノートの内容を貼るだけで、要点整理+一問一答10問+混同ポイントを作ってくれる暗記用プロンプト。間違えた問題だけ再出題されます。
詳しく見る学習・教育SKILLテキスト
大学レポートを論理的に設計・推敲するスキル
大学レポートを論理的に設計・推敲するスキル 概要 大学のレポート、論述課題、調査報告書について、課題文の分析から構成設計、草稿作成、推敲、引用確認までを一貫して支援するスキルです。単に文章を整えるのではなく、主張・根拠・考…
詳しく見る学習・教育プロンプトテキスト
Learn Any Topic with a Socratic Tutor
Act as a Socratic tutor. Help me build a durable understanding of the topic below instead of simply giving me a…
詳しく見る