Logo Drift Detector

Drift Detector

Tổ chức
hackmamba-io
drift-detector

Compare documentation against a current source of truth and identify sections that are outdated, inaccurate, or no longer reflect the product or API. Use this skill when a technical writer wants to audit existing documentation for drift caused by product updates, API changes, feature removals, or version bumps. Trigger on phrases like "check my docs for drift," "is this documentation still accurate," "find outdated sections," "compare this against the new spec," "what changed since this was written," "audit my docs against the changelog," "which parts of my docs are wrong," "review my docs against the new version," or any request to validate documentation accuracy against a current source. Also trigger when someone says their docs feel stale but they are not sure where the problems are.

Tổng quan

Nhà phát hànhhackmamba-io
Kho mãcreator-skills
Tên kỹ năngdrift-detector
Sao
30
Bản fork
3
Tệp đi kèm
1
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ộ.

  • 1 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 hackmamba-io 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 Drift Detector 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/hackmamba-io/creator-skills/tree/main/skills/technical/drift-detector
  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/hackmamba-io/creator-skills.git /tmp/creator-skills
mkdir -p .claude/skills
cp -r /tmp/creator-skills/skills/technical/drift-detector .claude/skills/drift-detector
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 Drift Detector 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 Drift Detector 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 Drift Detector 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.

Before you start: verify this skill is fully installed

This skill depends on its reference file references/drift-rules.md. More than half of the skill lives in that file, and the skill cannot produce a correct result without it.

Before doing anything else, attempt to read references/drift-rules.md. If you cannot read it, STOP. Do not attempt the task from memory or from general knowledge. Tell the user exactly this:

This skill is not fully installed. Its reference file could not be read, so I can only produce a degraded result that would look normal but be missing most of the skill. Please reinstall the skill. In Claude Code or another agent, run npx skills add hackmamba-io/creator-skills --skill drift-detector -g. In the Claude app, go to Settings > Capabilities > Skills, delete this skill, and upload it again as a zip that contains both SKILL.md and the references/ folder. Then run this skill again.

Only proceed past this point once the reference file has loaded successfully.


Documentation Drift Detector

A skill for comparing existing documentation against a current source of truth and identifying every place the documentation no longer accurately reflects the product, API, or system it describes. Works with OpenAPI and Swagger specs, changelogs, release notes, newer document versions, and informal update notes.


When to activate this skill

Use this skill when someone:

  • Provides existing documentation and a source of truth to compare it against
  • Suspects their documentation has become inaccurate after a product update
  • Wants to know which sections of their docs need updating before a release
  • Is preparing for a documentation audit and needs a starting point
  • Has received a changelog or release notes and wants to know what to update
  • Has a new version of a spec and wants to validate their existing API docs against it
  • Asks whether specific documented behavior is still accurate

When NOT to activate this skill

Do not use this skill when someone:

  • Provides only one document with no source of truth to compare against
  • Asks for style, grammar, or clarity feedback with no accuracy concern
  • Wants to write new documentation from scratch
  • Asks general questions about documentation best practices without providing documents to compare
  • Provides two documents but neither is clearly the current source of truth and they have not clarified which is which

What this skill does

Documentation drift is one of the most insidious problems in technical writing because it happens silently. An engineer renames a parameter, a product manager sunsets a feature, a developer changes a default value. The documentation does not break in any visible way. It just becomes wrong, quietly, and readers start failing without knowing why.

This skill approaches drift detection the way a careful technical editor with engineering context would: systematically comparing what the documentation claims against what the source of truth says is currently true, classifying each discrepancy by type, and assigning severity so writers know what to fix first.

The output names every drifted section with a specific quote from the documentation, explains what the source of truth says instead, classifies the drift type, and assigns a severity level. Writers leave with a prioritized list of what is wrong and why, not a vague sense that something needs updating.


Frameworks used

This skill uses the drift classification system and severity scoring defined in references/drift-rules.md. Read that reference in full before starting any analysis. The five drift types (Removed, Renamed, Changed behavior, Added but undocumented, Structurally stale) and the four severity levels (Critical, High, Medium, Low) are the vocabulary used throughout the output.


Input handling

What counts as a valid input pair

This skill requires two inputs: the documentation being reviewed and the source of truth to compare it against. If only one is provided, ask for the second before proceeding.

The only exception: if the documentation contains internal inconsistencies that indicate drift without needing an external source (for example, a page that references its own changelog and contradicts it, or a README that references a version number inconsistently), flag those and note that a full drift analysis requires a current source of truth.

Identifying which document is which

Before starting the analysis, confirm which document is the existing documentation and which is the current source of truth. If it is ambiguous, ask. Getting this backwards produces an inverted analysis.

Label both clearly at the top of the output.

Input type detection

Identify the source of truth type from Section 2 of the reference and apply the corresponding comparison rules:

  • OpenAPI or Swagger spec: apply Section 3
  • Changelog or release notes: apply Section 4
  • Newer version of the same document: apply Section 5
  • Informal update (Slack message, email, ticket, engineer notes): apply Section 6

If the input type is unclear, describe what you received and state which comparison approach you are applying and why.

Scope limitations

Be explicit about what can and cannot be detected from the provided inputs. A changelog-based comparison can only assess what changed. A spec-based comparison cannot assess behavioral nuances that are not captured in the spec. An informal update comparison is limited by the specificity of the update itself.

State the scope limitation once, clearly, at the top of the review. Do not repeat it for every flag.


How to run the analysis

Step 1: Read the drift rules reference

Before starting, read references/drift-rules.md in full. The drift classification system in Section 1 and the severity scoring in Section 8 are the two sections to internalize before touching the documents.

Step 2: Identify and label both inputs

State clearly which document is the existing documentation and which is the source of truth. Note the input type for the source of truth and which comparison approach applies.

Step 3: Run the cross-cutting signal check

Before comparing document-specific content, scan the documentation for the cross-cutting drift signals in Section 7 of the reference:

  • Hardcoded version numbers
  • Deprecated patterns
  • Broken cross-references
  • Date-sensitive claims
  • Screenshot and diagram dependencies

Flag any found here before moving to the structured comparison. These often reveal drift that the document-specific comparison might miss.

Step 4: Run the structured comparison

Apply the comparison rules from the relevant section of the reference based on the source of truth type. Work systematically through the documentation, checking each claim against the source of truth.

For each discrepancy found:

  • Quote the exact text from the documentation that is wrong
  • State what the source of truth says instead
  • Classify the drift type from the five categories
  • Assign a severity level

Do not flag stylistic differences, additional explanation in the docs that the spec does not contain, or prose that describes the same thing in different words. Focus on factual discrepancies.

Step 5: Check for undocumented additions

After flagging what is wrong in the existing docs, scan the source of truth for anything new that has no corresponding documentation. Flag these as drift of type Added but undocumented.

Step 6: Compile and prioritize

Group all flags by severity. Critical items first, then High, Medium, Low. Within each severity group, order by the section of the documentation where they appear so the writer can work through the document linearly.


Output format

## Documentation Drift Report

**Documentation reviewed:** [Title or description of the existing docs]
**Source of truth:** [Title, type, and version if available]
**Comparison type:** [Spec / Changelog / Document version / Informal update]
**Scope note:** [One sentence on what this comparison can and cannot assess]

---

### Drift Summary

**Critical:** [N items]
**High:** [N items]
**Medium:** [N items]
**Low:** [N items]
**Total flags:** [N]

[2 to 3 sentences on the overall drift pattern. Is drift concentrated in one
area of the docs or distributed? Is it mostly naming drift from a rename, or
behavioral drift from changed defaults? Is there a single product change driving
most of the flags?]

---

### Flagged Items

Organized by severity, then by location in the document.

---

#### Critical

**Flag [N]: [Short label, e.g., "Removed endpoint still documented"]**

**Location in docs:** [Section title or page where this appears]
**Drifted content:**
> [Exact quote from the documentation that is now wrong]

**Drift type:** [Removed / Renamed / Changed behavior / Added but undocumented /
Structurally stale]
**What the source of truth says:** [Specific description of the current state,
quoted from the source of truth where possible]
**Reader impact:** [What happens when a reader relies on this documentation]

---

[Repeat for each Critical flag]

---

#### High

[Same structure as Critical]

---

#### Medium

[Same structure as Critical]

---

#### Low

[Same structure as Critical]

---

### What is still accurate

[2 to 4 sentences on the sections of the documentation that the comparison
confirmed are still accurate. This gives writers confidence about what does
not need touching and prevents unnecessary rewrites of correct content.
If the documentation is largely accurate with only isolated drift, say so.]

### Recommended update order

[A prioritized sequence for addressing the flags. Not just "fix Critical first"
but a practical order that accounts for dependencies between fixes. For example,
if a parameter was renamed and that name appears in 6 places, fixing the
reference definition first makes the other five easier. Maximum 5 to 7 steps.]

Tone of the report

Documentation drift is rarely the writer's fault. It happens because products move faster than documentation cycles, because engineers do not always notify the docs team, and because no one has time to re-audit documentation after every sprint. The report should be direct about what is wrong without implying negligence.

  • Lead with the specific discrepancy, not a general statement about the docs being outdated.
  • Quote the exact drifted text so the writer can find it immediately without searching.
  • State what the source of truth says instead, specifically enough that the writer can make the fix without needing to re-read the source of truth.
  • Be clear about severity. A renamed parameter and a removed endpoint are both drift but they are not equally urgent. The writer needs to know which one to fix before the next release.
  • Acknowledge what is still accurate. A drift report that only lists problems leaves the writer not knowing how much of the document to distrust.

Edge cases

Documentation is significantly more detailed than the source of truth A spec or changelog will almost never capture every nuance documented in a well-written set of docs. Do not flag additional explanation, examples, or context in the documentation as drift just because the source of truth does not contain it. Flag only factual discrepancies.

Source of truth has errors If the source of truth appears to contain errors (a spec field that is clearly mislabeled, a changelog entry that contradicts itself), note this in the report and do not treat it as ground truth for that specific item. Flag it as something the writer should verify with the engineering team before updating the docs.

Massive drift across the entire document If nearly every section of the documentation has drifted, note this in the summary and recommend a full rewrite from the source of truth rather than attempting to patch individual items. Provide the drift report as a guide for what the rewrite needs to address, but flag that incremental patching may be less efficient than starting fresh from the current spec.

No clear drift found If the comparison reveals no meaningful drift, say so directly. State which comparison was run, confirm that the documentation appears to accurately reflect the source of truth, and note any caveats about the scope of the comparison. Do not manufacture flags to appear thorough.

Writer provides a very large document For very large documentation sets, note that the analysis covers the content provided and that sections not included in the submission could not be assessed. Recommend the writer prioritize submitting sections most likely to have drifted based on what changed in the source of truth.

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 Drift Detector làm được gì?

Compare documentation against a current source of truth and identify sections that are outdated, inaccurate, or no longer reflect the product or API. Use this skill when a technical writer wants to audit existing documentation for drift caused by product updates, API changes, feature removals, or version bumps. Trigger on phrases like "check my docs for drift," "is this documentation still accurate," "find outdated sections," "compare this against the new spec," "what changed since this was written," "audit my docs against the changelog," "which parts of my docs are wrong," "review my docs...

Vì sao nên dùng Drift Detector 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. Drift Detector 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 Drift Detector trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/hackmamba-io/creator-skills/tree/main/skills/technical/drift-detector. 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 Drift Detector?

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 Drift Detector 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 Drift Detector 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 Drift Detector có miễn phí không?

Kỹ năng này được hackmamba-io phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 👇