Logo Training

Training

Cộng đồng
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.

Tổng quan

Nhà phát hànhrustyrazorblade
Kho mãskills
Tên kỹ năngtraining
Sao
44
Bản fork
9
Tệp đi kèm
5
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được rustyrazorblade công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Training trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/rustyrazorblade/skills/tree/main/plugins/cassandra-expert/skills/training
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Training trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Training ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Training không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Training làm được gì?

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.

Vì sao nên dùng Training trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Training là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Training trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/rustyrazorblade/skills/tree/main/plugins/cassandra-expert/skills/training. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Training?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Training với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Training với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Training có miễn phí không?

Có. Kỹ năng này được rustyrazorblade phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇