SuperAPI AI Directory

sync

General & other

View repository

Updated 10-16 06:46

About this skill

Purpose

Report-only drift check between this plugin's vendored dometrain-grounding baseline (vendor/SKILL.md) and Dometrain's current upstream skill content (github.com/Dometrain/mcp, skills/dometrain-grounding/SKILL.md). Mirrors context7:lookup's update action, reduced to one upstream dependency (no CLI to upgrade — only vendored prose to diff).

Consumer-vs-maintainer role split, per explicit design constraint: this skill is disable-model-invocation: true — never reachable by the model on its own initiative, only by a human's explicit /dometrain:sync invocation. check (the only action) is report-only; no --refresh-baseline argument is skill-exposed. That flag is documented in context/update.md for a maintainer to type as a raw bash command in a working clone — this skill's own dispatch never constructs or passes it through.

check (report-only, the only action)

Run:

bash "${CLAUDE_PLUGIN_ROOT}/skills/sync/scripts/update.sh"

The script:

  1. Fetches Dometrain's current skills/dometrain-grounding/SKILL.md from raw.githubusercontent.com.
  2. Diffs it against vendor/SKILL.md (stripping the vendored file's own attribution comment first, since upstream never carries it).
  3. Reports "No drift detected" or shows the diff for manual review.

Never writes to vendor/SKILL.md or grounding/SKILL.md. Direct the user to context/update.md for the maintainer-only integration protocol (--refresh-baseline) — do not run that flag from this skill's own dispatch.

Output

Report the script's exit code and its stdout verbatim (or a short summary if long): drift present or absent, and — when present — point to context/update.md for the next step.

Boundaries

  • Never model-invocable — this skill exists so a maintainer can check drift explicitly, not so the model can decide on its own that a check is warranted.
  • Never runs --refresh-baseline — that overwrites the vendor snapshot and is restricted to a maintainer typing the raw command directly in a working clone.
  • Never edits grounding/SKILL.md — integration is a human decision, documented in context/update.md.