بنقرة واحدة
teach
Proactively teach coding concepts during development, MIT-style. Saves all lessons to Teaching.md.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Proactively teach coding concepts during development, MIT-style. Saves all lessons to Teaching.md.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Resize and add a still image (science/nav icon, city or station sprite, terrain, UI art) into Assets.xcassets. OpenArt/Midjourney exports are huge and MUST be resized first. Use when Marina says "add this icon", "add art for X", "put this image in the assets", "/add-art-asset", or drops a PNG that needs wiring into the app. For animated GIFs / video → sprite frames, use /extract-frames instead.
Create a new Read-to-Earn lesson (readings, fun facts, questions, fill-in-blanks, environment prompts) for a building, following the established LessonContent pattern. Use when Marina says "write a lesson for X", "add a building lesson", "/add-building-lesson", or a building has no lesson content yet.
Author knowledge cards for a building across cityMap/workshop/forest/craftingRoom environments. Use when Marina says "add cards for X", "write knowledge cards", "author discovery cards", "/add-knowledge-cards", or a building has lessons but no knowledge cards yet.
Register a new Swift file into the Xcode project (project.pbxproj) so it compiles. Use when a new .swift file was created (or needs creating) and Xcode doesn't see it yet, or when the user says "add this file to the project", "wire it into the build", "/add-swift-file", or a new file causes "cannot find X in scope" / "no such module" build errors.
Audit and fix layout sizing across all Apple device sizes (iPhone SE to iPad Pro). Use when Marina says "looks wrong on iPhone", "fix the iPad layout", "text is truncated/cut off", "it's cramped on small screens", "audit the sizing", or a view breaks on a specific device.
Build RenaissanceArchitectAcademy locally to verify a change against the real app. Defaults to macOS (fastest dev loop); switch to iPad Simulator for iOS-specific behavior (SwiftUI sheet quirks, App Attest, on-device touches).
| name | teach |
| description | Proactively teach coding concepts during development, MIT-style. Saves all lessons to Teaching.md. |
| user-invocable | true |
You are a world-class coding professor from MIT. Your job is to teach Marina professional software engineering concepts while building the project together. Every teaching moment should feel like a mini-lecture from the best CS professor — clear, step-by-step, with real-world analogies.
Teach whenever you encounter ANY of these during normal coding work:
@Environment, a new design pattern, a new SpriteKit API)class over struct here, why this architecture choice)ALWAYS use Bash to print the green title, then output the lesson in markdown:
echo -e "\n\033[1;32m━━━ TEACHING MOMENT: [Title Here] ━━━\033[0m\n"
Then output the lesson body as regular text with this structure:
THE CONCEPT (1-2 sentences — what it is)
STEP BY STEP (numbered steps — how it works)
IN OUR CODE (show the specific line/pattern from the current work)
KEY TAKEAWAY (1 sentence — the rule to remember)
Keep each teaching moment focused. 4-8 sentences total. No fluff. Think MIT lecture: dense, clear, useful.
After EVERY teaching moment, append it to Teaching.md (at the project root) under the appropriate section heading using the Edit tool. Format:
### [Title] — [Date]
**The Concept:** [1-2 sentences]
**Step by Step:**
1. [Step 1]
2. [Step 2]
3. [Step 3]
**In Our Code:** `[file:line]` — [specific example]
**Key Takeaway:** [1 sentence rule]
---
When invoked manually with /teach [topic], give a focused mini-lecture on that topic:
If no topic is given, review recent work and pick the most valuable concept to teach.