新 03「LLM はどう動くか — コンテキストとプロンプトの原理」(DRAFT)#29
Draft
watanabe-kohei-jp wants to merge 4 commits into
Draft
Conversation
Issue #27 で提案中の章構成変更に対応。 スライド構成: Cover → つかみ(時々ハズす体験) → 本体 (1) token 予測 (2) プロンプト 3 役 (3) コンテキストエンジニアリング → 応用 (1) CLAUDE.md = 常駐文脈(→ 第 4 章へ) (2) skills と subagent → AI Buddy 一緒に育てる / 実務につなぐ → Credits ブラウザ検証: 10 セクション overflow なし、page-number.js / ai-focus.js 動作確認済み。応用 1 から旧 03-claude-md へリンクは TODO(リネーム後 04-claude-md に更新する想定、コメントで明示)。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
PR #29 の draft を、Codex レビューと実体験リサーチ(co-lect-newbies-research.md) を踏まえて作り直し。 主な変更: - 中核を「token 予測」→「LLM は記憶を持っていない、毎回送り直し」に - token 予測の説明を削除、token は容量の単位として 1 行のみ - つかみを 4 つの実体験(Zenn / Qiita / X / 出典付き)に - /compact + /clear + /context を 1 スライドに統合(新規) - 「入力の束」スライドで Claude Code が何を送っているかを可視化 - AI Buddy 2 枚を 1 枚に統合 - CLAUDE.md = 「起動時注入される指示」に表現訂正(Codex 指摘) - 末尾に参考リンク(Sources) ブラウザ検証: 全 10 スライド overflow なし、page-number.js / ai-focus.js 動作確認済み。sync_listings.py で README / llms.txt / index.html / sitemap.xml の講義一覧も最新化。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
スライド 10 のまとめ+伴走に詰め込みすぎて崩れが出ていたのを、 Coda + AI Buddy 一緒に育てる + AI Buddy 実務につなぐ + Credits の 4 スライドに分割。既存 02 / 04 と同じパターンに揃えた。 - Sources(参考にした実体験)の小さい注釈は削除(ユーザー指示) - スライド 10 → Coda(pullquote 中心、シンプル) - スライド 11 → AI Buddy 一緒に育てる(投稿提案プロトコル) - スライド 12 → AI Buddy 実務につなぐ(ai-focus + As-is/To-be/PoC/改善) - スライド 13 → Credits ブラウザ検証: 13 スライド全て scrollHeight === 1080、overflow なし。 sync_listings.py で README / llms.txt / index.html / sitemap.xml も更新。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Issue #27 で提案している章構成変更に対応する新 03(DRAFT、Codex レビュー+実体験リサーチで全面 revise 済み)。CLAUDE.md・skills・subagent・
/compactを「コンテキスト管理の応用」として位置づける枠組みを提示する。対象読者: Claude Code 未経験 or 使いこなせていない日本語エンジニア。
中核の発想
LLM は記憶を持たない。毎ターン、過去のやり取り全部を送り直しているだけ。 これが分かると Claude Code のすべての機能が「コンテキスト管理の応用」として理解できる。
10 スライド構成
/compact/compact//clear//contextの使い分け実体験リサーチ
つかみと各章の具体例は、
~/.claude/plans/co-lect-newbies-research.md(ローカル)の Web リサーチ(Zenn / Qiita / X / Medium / DEV)に根拠を持つ。Codex レビューも反映:token 予測の説明を削除(業務エンジニアに不要)、CLAUDE.md の説明を「起動時注入」に訂正、AI Buddy を 2 枚→1 枚に統合。
検証
page-number.js/ai-focus.js動作確認済みsync_listings.py --writeで講義一覧(README / llms.txt / index.html / sitemap.xml)を更新残作業 / 依存
../03-claude-md/。章リネーム後に../04-claude-md/に更新マージ条件
No-Issue: Issue #27 で提案中の章構成変更を実装する draft
🤖 Generated with Claude Code