Logo Skill Sync Checker

Skill Sync Checker

Tổ chức
kanyun-inc
skill-sync-checker

Phát hiện sự sai lệch nội dung giữa các tệp kỹ năng và tài liệu nguồn. Giúp duy trì các kỹ năng được tạo từ tài liệu khác bằng cách so sánh nội dung và đánh dấu những phần đã lỗi thời.

Add to TypingMind

Tổng quan

Nhà phát hànhkanyun-inc
Kho mãreskill
Tên kỹ năngskill-sync-checker
Sao
60
Bản fork
2
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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 dùng hướng dẫn viết bằng Markdown thay vì 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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được kanyun-inc công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Skill Sync Checker 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 của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/kanyun-inc/reskill/tree/main/skills/skill-sync-checker
  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/kanyun-inc/reskill.git /tmp/reskill
mkdir -p .claude/skills
cp -r /tmp/reskill/skills/skill-sync-checker .claude/skills/skill-sync-checker
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 Skill Sync Checker 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ự nạp Skill Sync Checker 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 bạn có thể dùng Skill Sync Checker với cả những mô hình khác ngoài mô hình ban đầu. 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 khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổ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.

Skill Sync Checker

A utility skill that detects when skill content has drifted from its source documents. Any skill file that includes a <!-- source: path/to/file --> marker can be checked for freshness and updated accordingly.

When to Use This Skill

User-Initiated (Agent Requested)

Use this skill when the user:

  • Asks to check if a skill's content is up to date
  • Has modified source documentation and wants to sync derived skills
  • Is preparing a skill for publishing and wants to verify freshness
  • Asks "is this skill still accurate?" or "has the source changed?"
  • Performs routine maintenance on skills

Auto-Triggered (via Cursor globs)

This skill is automatically injected into context when the user edits README.md (configurable via .cursor/rules/skill-sync-checker.mdc globs).

When auto-triggered, follow this lightweight flow:

  1. Scan skills/**/SKILL.md for <!-- source: ... --> markers referencing the file being edited
  2. If a match is found, briefly remind the user that a skill depends on this file and may need syncing
  3. Do not automatically run the full detection workflow or modify any files — just notify

Example notification:

Note: skills/reskill-usage/SKILL.md is derived from README.md (last synced: 2026-02-12).
If your changes affect CLI commands, options, or usage examples, the skill may need updating.
Run a sync check when you're done editing.

Source Marker Convention

Skill files that are derived from other documents should include source markers as HTML comments at the top of the file (before or after the YAML frontmatter):

markdown
<!-- source: README.md -->
<!-- synced: 2026-02-11 -->

---
name: my-skill
description: ...
---

# My Skill
...

Marker Format

MarkerRequiredDescription
<!-- source: <path> -->YesRelative path to the source file (from project root)
<!-- synced: <date> -->NoISO date of last sync (YYYY-MM-DD)

A file can have multiple source markers if it derives from several documents:

markdown
<!-- source: README.md -->
<!-- source: docs/cli-spec.md -->
<!-- synced: 2026-02-11 -->

Where to Place Markers

  • Place source markers at the very top of the file
  • If the file has YAML frontmatter (---), markers can go before or after it
  • Markers are HTML comments and will not render in the skill content

Detection Workflow

When asked to check a skill for sync status, follow these steps:

Step 1: Find Source Markers

Scan all .md files in the target skill directory. For each file, look for <!-- source: ... --> comments. Files without source markers are original content and can be skipped.

Step 2: Read Source Files

For each source marker, read the referenced file. If the source file does not exist, report it as an error — the source may have been moved or deleted.

Step 3: Compare Content

Compare the skill file against its source document(s). Focus on structural and factual differences, not formatting:

Key things to check:

  • Commands, options, or features mentioned in the source but missing from the skill
  • Commands, options, or features in the skill that no longer exist in the source
  • Changed default values, paths, or configuration formats
  • New sections in the source that should be reflected in the skill
  • Deprecated or removed functionality still mentioned in the skill

Ignore:

  • Minor wording differences (the skill may rephrase for agent consumption)
  • Formatting differences (tables vs lists, heading levels)
  • Content the skill intentionally omits (internal details, development docs)
  • Order of sections

Step 4: Report Results

Present findings in a clear summary:

Sync Check: skills/reskill-usage/SKILL.md
Source: README.md
Last synced: 2026-02-11

Status: ⚠ Out of sync

Differences found:
  1. New command `find` added in source (missing from skill)
  2. Option `--registry` added to `install` command
  3. New agent "Gemini" added to Multi-Agent Support table

Recommendation: Update the skill to reflect these changes.

If everything is in sync:

Sync Check: skills/reskill-usage/SKILL.md
Source: README.md
Last synced: 2026-02-11

Status: ✓ In sync

No significant differences found.

If the <!-- synced: ... --> marker is absent, report "Last synced: unknown":

Sync Check: skills/example/SKILL.md
Source: docs/example-spec.md
Last synced: unknown

Status: ⚠ Out of sync
...

Update Workflow

When differences are detected and the user confirms they want to update:

Step 1: Show Differences

Present each difference with the relevant content from the source file so the user can review what changed.

Step 2: Update Skill Content

After user confirmation, update the skill file to reflect the source changes. Preserve the skill's structure and agent-specific content (When to Use, Workflows, Troubleshooting) — only update the sections that correspond to source material.

Step 3: Update Synced Date

Update the <!-- synced: ... --> marker to today's date:

markdown
<!-- synced: 2026-02-12 -->

Detecting Potentially Relevant New Documents

When checking a skill, also scan the project for new documentation that might be relevant but is not yet tracked:

Heuristic Rules

File PatternLikely RelevantAction
*-spec.md, *-summary.mdYes — user-facing specsSuggest adding as source
README.md, README.*.mdYes — user-facing docsSuggest adding as source
API.md, docs/*.mdYes — user-facing docsSuggest adding as source
CHANGELOG.mdNo — auto-generatedSkip
CONTRIBUTING.mdNo — contributor guideSkip
*-design.mdNo — internal designSkip
*-plan.md, *-implementation-plan.mdNo — internal plansSkip
*-migration-plan.mdNo — internal migrationSkip
*-adaptation.mdNo — internal adaptationSkip

When a potentially relevant new document is found, notify the user:

New document detected: docs/new-feature-spec.md
This looks like a user-facing spec that might be relevant to the skill.
Would you like to review it for inclusion?

Never automatically add new sources or modify skill content without user confirmation.

Example: Checking reskill-usage

Here is a complete example of checking the reskill-usage skill:

User: "Check if the reskill-usage skill is up to date"

Agent steps:
1. Read skills/reskill-usage/SKILL.md
2. Find marker: <!-- source: README.md -->
3. Read README.md
4. Compare commands table, source formats, configuration, etc.
5. Report: "The skill is missing the new `find` command that was
   added to README.md. Would you like me to update it?"

After user confirms:

Agent steps:
1. Add `find` command to the Commands table in SKILL.md
2. Update <!-- synced: 2026-02-12 -->
3. Report: "Updated SKILL.md — added `find` command, synced date
   updated to 2026-02-12"

Batch Checking

To check all skills in a project at once:

User: "Check all skills for sync status"

Agent steps:
1. Find all SKILL.md files in the project (skills/, .cursor/skills/, etc.)
2. For each file with source markers, run the detection workflow
3. Present a summary of all results:

   Sync Check Summary:
     ✓ skills/find-skills/SKILL.md — no source markers (original content)
     ⚠ skills/reskill-usage/SKILL.md — 2 differences found (source: README.md)
     ✓ skills/skill-sync-checker/SKILL.md — no source markers (original content)

Limitations

  • This skill guides the agent through a manual comparison process — it does not run automated diffing tools
  • The agent uses judgment to determine what constitutes a "significant" difference
  • Source markers are a convention, not enforced — files without markers are simply skipped
  • The heuristic rules for new document detection are suggestions, not definitive classifications

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

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

Phát hiện sự sai lệch nội dung giữa các tệp kỹ năng và tài liệu nguồn. Giúp duy trì các kỹ năng được tạo từ tài liệu khác bằng cách so sánh nội dung và đánh dấu những phần đã lỗi thời.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/kanyun-inc/reskill/tree/main/skills/skill-sync-checker. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Skill Sync Checker?

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.

Có thể dùng Skill Sync Checker 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 Skill Sync Checker 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 Skill Sync Checker có miễn phí không?

Có. Kỹ năng này được kanyun-inc phát hành trên GitHub theo giấy phép MIT. 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 các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công 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à những tiêu chí mà kết quả cần đáp ứng. 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 👇