شعار Course Bottom Up

Course Bottom Up

المجتمع
panpanc
course-bottom-up

Generate a multi-chapter markdown math course where every chapter follows the bottom-up instruction style (foundations -> staged construction -> assembly -> formal statement -> invention narrative), then audit and patch each chapter.

نظرة عامة

الناشرpanpanc
المستودعmath-skills
اسم المهارةcourse-bottom-up
النجوم
42
التفريعات
2
الملفات المرفقة
3
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها panpanc على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Course Bottom Up في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/panpanc/math-skills/tree/main/.claude/skills/course-bottom-up
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/panpanc/math-skills.git /tmp/math-skills
mkdir -p .claude/skills
cp -r /tmp/math-skills/.claude/skills/course-bottom-up .claude/skills/course-bottom-up
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Course Bottom Up في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Course Bottom Up تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Course Bottom Up بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Generate a multi-chapter markdown course where each chapter is written in the same instructional style as bottom-up.

Perspective

Write as a curriculum architect and mathematician-educator who:

  • Makes each chapter feel invented, not merely stated
  • Starts concrete, then climbs toward formalism in explicit stages
  • Preserves strict dependency order both across chapters and inside each chapter
  • Uses clear worked examples and explicit motivation for each new idea
  • Audits explanation quality before finalizing chapter outputs

Instructions

Phase 1 - Parse input and decide course scope

  1. Parse $ARGUMENTS:
    • First non-flag, non-file argument sequence is the topic.
    • Optional chapter count hints: 5 chapters, 8 chapters, 10 chapters.
    • Optional flags:
      • --syllabus-only
      • --skip-audit (skip per-chapter explanation audit and patch pass)
      • --keep-intermediates (keep audit sidecars and optional pre-patch backups)
    • Any readable file paths are optional context.
  2. If no topic is found, print: No topic found. Provide a target like "algebraic topology" or "spectral graph theory". Then stop.
  3. Determine chapter count N:
    • Default N = 6
    • Clamp to 5..10
  4. Create course directory:
    • <topic_slug>_bottom_up_course/

Phase 2 - Build syllabus first

  1. Create 00_syllabus.md in the course directory containing:
    • Course title and 1-paragraph overview
    • Audience and prerequisite assumptions
    • Chapter list (N chapters), each with:
      • Title
      • Learning objectives (2-4)
      • Prerequisites (chapter dependencies)
      • Chapter target concept/theorem
      • Why this chapter is placed here
    • One dependency graph in Mermaid (graph TD or graph LR)
    • Suggested reading order
  2. Present a concise summary and ask for confirmation before chapter generation.
  3. If --syllabus-only is present, stop after writing 00_syllabus.md.

Phase 3 - Generate chapter files in bottom-up style

  1. For each chapter i in 1..N, create:
    • ch<NN>_<chapter_slug>_bottom_up.md
  2. Each chapter file must include a chapter preamble, then the exact bottom-up section skeleton below.
Chapter preamble (required)
  • # Chapter <i>: <title>
  • Learning objectives (2-4)
  • Prerequisite chapters
  • Chapter target concept/theorem
Bottom-up section skeleton (required, exact order)
  1. ## 1. Destination and Why It Matters

  2. ## 2. Foundation Layer

  3. ## 3. Bottom-Up Thinking Stages

  4. ## 4. Final Concept/Theorem Statement

  5. ## 5. How the Thinking Process Could Have Invented It

  6. Apply bottom-up style constraints inside each chapter using depth-by-artifacts (not word counts):

  • Section 2 lists 5..8 load-bearing primitives. For each primitive include:
    • What it is
    • Why it is load-bearing
    • Tiny numeric example
    • One failure mode or misuse case
  • Section 3 has 7..9 stages, and each stage must include:
    • Motivation with all of the following lines:
      • Bottleneck: what prior limitation forces this stage
      • Why-now trigger: the concrete unresolved question/contradiction that makes this stage necessary now
      • Rejected shortcut: one tempting shortcut and why it fails
      • Stage objective: the capability/artifact this stage must produce
      • Payoff signal: a quick check that the objective was actually achieved
    • Intuition with both Mental model: and Where it fails: lines
    • Construction step with a Uses: dependency line and at least one LaTeX expression
    • 2-3 Worked examples with labeled Setup:, Compute:, Interpret:, and Common mistake: lines
    • Every worked example must be artifact-explicit, not prose-only:
      • Setup: must name concrete objects and data (for example: vertex sets, edge sets, simplex sets, basis order, map definition, matrix shape, parameter values).
      • Compute: must show explicit intermediate steps (at least two concrete transformations/equalities, not a single summary sentence).
    • If a worked example compares two constructions, present both constructions explicitly (for example Triangulation A and Triangulation B) and list their concrete artifacts.
    • For triangulation/subdivision examples specifically, include labeled artifact lines such as Vertices:, Edges:, and Triangles: or 2-simplices: inside the worked example.
    • Avoid placeholders like "two drawings" or "similarly" when concrete combinatorial data is required.
    • What this unlocks next with a Remaining gap: line naming what is still unresolved
  • Uneven stage depth is allowed and encouraged: if one stage is the main conceptual bottleneck, expand it more than neighboring stages.
  • For any hard stage, add optional explanation blocks after the required subsections, e.g.:
    • Deepening note:
    • Second perspective:
    • Edge case:
    • Sanity check:
  • Keep required subsection order intact; optional blocks are additive and do not replace required subsections.
  • Section 4 includes:
    • In concept mode: formal definition + near-miss/non-example
    • In theorem mode: formal statement + proof skeleton mapped to stages
    • One wrong mental model and correction
    • One Scope boundary: paragraph (where this formal statement does and does not apply)
  • Section 5 includes:
    • Invention narrative from limitation -> response -> new object
    • At least two explicit failed attempts (Failed attempt 1, Failed attempt 2) with break reasons
    • One Design rule: extracted from those failures
  • Math formatting rules:
    • Use LaTeX for all mathematical expressions: inline $...$, display $$...$$.
    • Never place mathematical formulas, symbols, or equations inside inline code backticks.
    • Reserve inline code backticks for commands, file names, and literal non-math tokens only.
    • Do not use shorthand vector/matrix text like $[1\ -1]$ or $[1\ 1\ -2]$; write explicit LaTeX matrices/vectors (for example $\begin{bmatrix}1 & -1\end{bmatrix}$ or $\begin{bmatrix}1\\-1\\0\end{bmatrix}$).
  1. Cross-chapter continuity requirements:
  • Chapter i can use only what has appeared in chapters <= i.
  • For chapter i > 1, include at least one callback to a prior chapter.
  • For chapter i = 1, include at least one explicit forward anchor to chapter 2.
  • Each chapter must include one bridge sentence into the next chapter (for the last chapter, bridge to post-course continuation topics).
  1. After writing each chapter, print: Written chapter <i>/<N>: <chapter_title>

Phase 4 - Verification for every chapter file

  1. Verify each ch<NN>_*_bottom_up.md file:
  • Required section order present
  • Section 3 stage count in 6..9
  • Every stage has all five required subheadings (additional optional subheadings are allowed)
  • Run deterministic depth verification:
    bash
    repo_root="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
    python3 "$repo_root/.claude/skills/course-bottom-up/scripts/verify_chapter_depth.py" "<chapter_file>"
  • If depth verification reports any failures, expand only the flagged sections/stages and rerun until pass.
  • Mathematical expressions use LaTeX delimiters ($...$ or $$...$$), not inline code backticks
  • No unclosed fenced code blocks
  • No unclosed LaTeX delimiters
  • No LaTeX math inside fenced code blocks
  • Run a regex check for inline-code spans and review matches:
    bash
    rg -n "\\`[^\\`]*\\`" "<chapter_file>"
  • Treat any inline-code match containing math markers (=, _, ^, \\partial, \\sum, \\int, \\frac, H_n, C_n, Z_n, B_n, \\to, \\subset, etc.) as an error and rewrite it with LaTeX delimiters.
  1. If a chapter includes Mermaid blocks, run deterministic Mermaid verification:
bash
repo_root="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
node "$repo_root/.claude/skills/bottom-up/scripts/verify_mermaid_blocks.js" "<chapter_file>"

If errors are reported, fix and rerun until pass. If no Mermaid blocks are present, skip this check.

Phase 5 - Per-chapter explanation audit and in-place patch (unless --skip-audit)

  1. If --skip-audit is set, skip to Phase 6.
  2. For each chapter file ch<NN>_<chapter_slug>_bottom_up.md, run the same audit logic as bottom-up:
  • concept inventory (introduced vs used)
  • Type A skipped-explanation issues
  • Type B bumpy-jump issues
  • severity levels: critical/moderate/minor
  • Default behavior: keep audit report in runtime output only (do not persist a sidecar file).
  • If --keep-intermediates is set, also create ch<NN>_<chapter_slug>_bottom_up_explanation_audit.md.
  1. Audit report must include:
  • Audit overview with counts
  • Issue register with quoted passage, diagnosis, and ready-to-insert patch
  • Patch inventory
  • Clean sections
  • Revision priority
  1. Patch the chapter file in place (ch<NN>_<chapter_slug>_bottom_up.md):
  • Do not create _v2 files by default.
  • If --keep-intermediates is set, optionally save a pre-patch backup as ch<NN>_<chapter_slug>_bottom_up_prepatch.md.
  • Do not add a Revision Notes section inside chapter files.
  • Apply all critical and moderate patches
  • Apply minor patches unless they would significantly disrupt flow; if skipped, report them in runtime/completion summary (not inside chapter files)
  • Keep chapter depth at or above Step 10 artifact completeness (do not remove bottlenecks, failure modes, trace steps, or scope boundaries while patching)
  1. Verify each patched chapter using the same checks from Phase 4, including depth verification (and Mermaid verification only when Mermaid blocks are present).
  2. Unless --keep-intermediates is set, remove transient scratch artifacts and keep only final chapter markdown files.

Phase 6 - Completion output

  1. Print a summary with:
  • Course topic and chapter count
  • Course directory path
  • Generated file inventory (syllabus + final chapter files; plus intermediates only if --keep-intermediates was used)
  • Per-chapter depth-check status (pass/fail before and after patching)
  • Audit totals across all chapters (if audits were run)
  1. Print a short "What's next?" block with 2-3 commands using real generated paths, for example:
  • /explore <course_dir>/ch03_<slug>_bottom_up.md <concept> deeper
  • /theorem <theorem_from_course>
  • /concept <core_concept_from_chapter6>

Output format

Create files under:

text
<topic_slug>_bottom_up_course/
├── 00_syllabus.md
├── ch01_<slug>_bottom_up.md
├── ch02_<slug>_bottom_up.md
├── ...

Default: keep only 00_syllabus.md and one final ch<NN>_<slug>_bottom_up.md per chapter.

If --skip-audit is set, skip the audit-and-patch phase entirely.

If --keep-intermediates is set, you may additionally keep audit sidecars and pre-patch backups.

Example usage

text
/course-bottom-up algebraic topology
/course-bottom-up spectral graph theory with 7 chapters
/course-bottom-up representation theory --syllabus-only
/course-bottom-up homological algebra --skip-audit
/course-bottom-up homology --keep-intermediates

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Course Bottom Up؟

Generate a multi-chapter markdown math course where every chapter follows the bottom-up instruction style (foundations -> staged construction -> assembly -> formal statement -> invention narrative), then audit and patch each chapter.

لماذا تستخدم Course Bottom Up على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Course Bottom Up عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Course Bottom Up في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/panpanc/math-skills/tree/main/.claude/skills/course-bottom-up. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Course Bottom Up؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Course Bottom Up؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Course Bottom Up معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Course Bottom Up مجانية؟

نشرها panpanc على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇