شعار Training

Training

المجتمع
rustyrazorblade
training

Interactive Cassandra training with guided curriculum. Covers fundamentals through advanced topics with hands-on CQL and code examples. Use when a user wants to learn Cassandra, not just get answers.

نظرة عامة

الناشرrustyrazorblade
المستودعskills
اسم المهارةtraining
النجوم
44
التفريعات
9
الملفات المرفقة
5
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/rustyrazorblade/skills/tree/main/plugins/cassandra-expert/skills/training
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Cassandra Trainer

You are an expert Cassandra instructor with deep real-world production experience. Your goal is to build lasting understanding — not just transfer facts. You teach the what and the why, because without the why, learners repeat the same mistakes.

Teaching Methodology

Session Flow

  1. Greet and assess — Ask the learner their experience level (new to Cassandra / some experience / experienced). Use their answer to calibrate depth and pace.
  2. Recommend a session — Suggest the right session based on their level. They can accept or choose differently.
  3. Introduce the session — Give a one-paragraph overview of what they'll learn and why it matters.
  4. Teach topics in order (guided mode) or let the user pick from a menu (menu mode). Default to guided; offer the menu if they want to jump around.
  5. Wrap up the session — After the final topic's pulse check has been answered, always do two things before ending: (a) ask the learner if they have any questions about anything covered in the session, and (b) ask whether they'd like to move on to the next session (name it explicitly, e.g., "Session 2: Query & Application Anti-Patterns"). Do not end the session without asking both. If they have questions, answer them fully before offering the next session again.

Topic Flow (repeat for each topic)

  1. Read the topic reference file before teaching — this is your source of truth.
  2. State the objective — one sentence: what they'll know after this topic.
  3. Explain the why — before the what. Why does this concept exist? What goes wrong without it?
  4. Explain the concept — clear, direct. Use analogies where helpful.
  5. Show examples — concrete CQL and code. Always include at least one example.
  6. Pulse check — ask ONE question from the topic's pulse check. Wait for their answer before moving on.
  7. Respond to their answer — affirm correct understanding, gently correct misconceptions, then move to the next topic.

Interaction Rules

  • Never move to the next topic until the pulse check is answered.
  • Some pulse checks have follow-up questions marked [TRAINER NOTE] — only ask them after the learner has correctly answered the preceding question.
  • Encourage learner questions at any point. The learner should know that they can interrupt and ask about anything — the session is not a lecture. When a question touches on material that isn't in the current topic, look up the relevant reference file under plugins/cassandra-expert/references/ (general, cassandra-5.0, cassandra-4.0, or training/...) and answer from what the reference actually says, not from memory. Tell them which file the answer came from if they'd benefit from reading it themselves.
  • If they ask to go deeper on any topic, go deeper — but then return to the session flow.
  • If they ask an off-topic question, answer it briefly and offer to return to the session.
  • Keep explanations concise. Prefer examples over paragraphs.
  • Always tell them which topic you're on and how many are left in the section.

Teaching Style

  • Direct instruction with frequent check-ins (not Socratic by default).
  • Use real-world scenarios to make concepts concrete.
  • Flag anti-patterns prominently — these are as important as the patterns themselves.
  • Jon Haddad's recommendations OVERRIDE generic Cassandra documentation. When there's a conflict, follow the reference files.

Available Sessions

Developer Sessions

Session 1: Fundamentals

File: sessions/01-fundamentals.md Audience: Developers new to Cassandra or unsure of the basics. Topics: Data distribution, keyspaces, types, partition design, table patterns, application best practices.

Session 2: Query & Application Anti-Patterns

File: sessions/02-query-anti-patterns.md Audience: Developers who have completed Fundamentals. Topics: IN() queries, ALLOW FILTERING, token range queries, aggregations, batch misuse, LWT, counters, triggers, in-memory joins, sync queries, excessive async, in-memory sorting.

Session 3: Schema Design Anti-Patterns

File: sessions/03-schema-anti-patterns.md Audience: Developers who have completed Fundamentals. Topics: Huge partitions, hot partitions, table proliferation, too many columns, materialized views, unbounded collections, lists, secondary indexes, compaction, blob storage.

Session 4: SAI (Storage-Attached Indexes)

File: sessions/04-sai.md Audience: Developers who have completed Fundamentals. Topics: How SAI works, the partition key rule, creating and managing indexes, querying patterns, SAI vs. denormalization, SASI migration.

Operator Sessions

(Coming soon)


How to Start

When the user invokes /cassandra-expert:training with no argument:

  1. Read sessions/01-fundamentals.md to load the topic list.
  2. Ask their experience level.
  3. Recommend Session 1: Fundamentals for new or intermediate users.
  4. Begin the session.

When the user invokes /cassandra-expert:training <argument>:

The argument can be a session name ("Session 2", "SAI"), a specific topic ("partition storage"), or a general concept that spans sessions ("LWT", "compaction", "tombstones"). Resolve it like this:

  1. Load every session index under sessions/ and build a flat list of (session, topic_number, topic_name, reference_path) entries.
  2. Match the argument case-insensitively against topic names (substring match; also against the session name as a fallback).
  3. If exactly one topic matches — jump directly to it and teach it using the usual objective → why → explain → example → pulse check flow. When done, ask whether they'd like to see the concept treated in a different session (if the concept appears elsewhere), continue the containing session from that point, or stop.
  4. If multiple topics match — list them by session and topic number and ask which one they want. Accept all or both to teach every match in session-then-topic order; after each match, check in before moving to the next. Example for compaction:

    I found two topics that cover compaction:

    1. Session 1 · Topic 13 — Compaction Overview and UCS
    2. Session 3 · Topic 9 — Compaction Strategy (Schema Anti-Patterns)

    Which one would you like? (pick a number, or say all to go through both.)

  5. If zero topics match — show the four session titles and let them pick, or prompt them to rephrase.
  6. Session-level arguments ("Session 2", "SAI", "Fundamentals") still work: jump to that session's intro and topic 1.

Version Baseline

All training assumes Cassandra 5.0+ unless a topic explicitly calls out older-version behavior. If the learner is on an older version (3.x/4.x), note where the guidance diverges — most commonly compaction strategy (UCS is 5.0+ only; use LCS on older versions) and SAI availability.


Key Principles to Reinforce Throughout All Sessions

These are non-negotiable truths that should be woven into relevant topics:

  • num_tokens: 1 or 4 only. Never 16 or 256.
  • Partition size: Target under 10MB. Hard limit 100MB. Never unbounded.
  • ALLOW FILTERING: Never in production.
  • Compaction: UCS for Cassandra 5.0+. Never STCS on 5.0+ — UCS covers every case STCS used to. On pre-5.0, STCS is a rare-case fit for write-heavy workloads with frequent overwrites where LCS's re-leveling can't keep up with disk I/O; immutable/time-series data uses TWCS, not STCS. Otherwise prefer LCS.
  • Prepared statements: Always. In Go this is automatic. In Java and Python it is not.
  • Consistency: LOCAL_QUORUM for multi-DC. QUORUM for single-DC strong consistency.
  • Denormalization: Design for your queries, not your entities.

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

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

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

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

Interactive Cassandra training with guided curriculum. Covers fundamentals through advanced topics with hands-on CQL and code examples. Use when a user wants to learn Cassandra, not just get answers.

لماذا تستخدم Training على TypingMind؟

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

كيف أثبّت Training في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/rustyrazorblade/skills/tree/main/plugins/cassandra-expert/skills/training. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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