Logo: Refresh Repo Skill

Refresh Repo Skill

Organisatioun
VectorSpaceLab
refresh-repo-skill

Refreshes an existing repository-specific Agent Skill after the source repository changed. Use when the user says repo code, APIs, docs, examples, configs, dependencies, or behavior changed and an old skill may now be stale, outdated, inconsistent with current code, or needs to be resynchronized from repository evidence.

Iwwersiicht

EditeurVectorSpaceLab
RepositoryAREX-Skill
Skill-Nummrefresh-repo-skill
Stären
341
Forks
26
Matgeliwwert Dateien
4
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    VectorSpaceLab huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Refresh Repo Skill an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/refresh-repo-skill
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git /tmp/AREX-Skill
mkdir -p .claude/skills
cp -r /tmp/AREX-Skill/cli/packages/coding-agent/src/disco/skills/refresh-repo-skill .claude/skills/refresh-repo-skill
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Refresh Repo Skill an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Refresh Repo Skill automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Refresh Repo Skill net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Refresh Repo Skill

Purpose

Use this skill when an existing repo-specific Agent Skill should continue describing the same repository, but the repository itself has changed since the skill was created or last maintained.

Typical requests include:

  • Refresh an old skill after new commits, releases, branches, APIs, CLIs, config formats, examples, or dependencies changed.
  • Audit a skill for stale claims against the current repository code.
  • Update copied references, scripts, workflows, troubleshooting, or usability cases that no longer match the repo.
  • Rebuild the skill's repository evidence without discarding the skill's useful identity, routing, or prior coverage.

This workflow is different from extend-repo-skill: use extend-repo-skill when the user asks to add a new capability or deeper coverage to a working skill. Use this skill when repository drift is the main reason the skill may be wrong.

Inputs

Gather or infer:

  • Existing skill directory containing SKILL.md.
  • Current repository path to use as the source of truth.
  • Existing references/repo-provenance.md from the skill, when present.
  • Optional previous repository baseline, branch, tag, release, commit, or date when the skill has no provenance file.
  • Python inspection environment and installed package name when live API or CLI verification is needed.
  • Existing review/test artifact directory, if any.
  • Desired review/test artifact output directory, if the user has a preference.

If the existing skill directory is missing or does not contain SKILL.md, stop and ask for the correct skill path. If the repository path is missing and cannot be inferred from the current working directory or user request, ask for it.

Reference Map

Read these references as the workflow reaches each stage:

Use scripts/check_repo_provenance.py when references/repo-provenance.md exists. It compares the skill snapshot with the current Git checkout and prints JSON with current, stale, or unknown status.

When useful, also read sibling workflow-skill references:

  • ../create-repo-skill/references/ for repository evidence discovery, installed-package inspection, and output structure.
  • ../verify-repo-skill/references/ for usability case format, verification review, and import/index routing guidance.
  • ../extend-repo-skill/references/ for narrow editing and regression review rules.
  • ../prepare-repo-skill-env/SKILL.md if live Python inspection is needed and no verified environment is available.

Required Workflow

  1. Resolve the existing skill directory, current repository path, existing references/repo-provenance.md baseline, optional user-provided baseline, Python inspection context, review/test artifact directory, and review output path. If the user does not specify an artifact directory, default to <repository-path>/skills/tests/<skill-id>/, with usability cases under test-cases/ and review reports under reports/. If the existing skill is the live managed copy under <agent-dir>/skills/repositories/repo-skills/<skill-id>/, copy only its runtime tree to a temporary working directory outside <agent-dir>/skills/ before editing. Keep that working copy until the dedicated importer succeeds; never edit the live managed copy in place.

  2. Read references/change-detection-and-staleness-audit.md. Build a current-state map of the existing skill. When provenance exists, run python scripts/check_repo_provenance.py --skill-dir <skill_dir> --repo-path <repo_path> from this workflow-skill directory or adapt the script path to the installed skill copy. Use its JSON output as the first staleness signal, then gather current repository evidence and optional change evidence from Git history or release notes.

  3. Produce a staleness audit that separates:

    • Claims still supported by current repo evidence.
    • Claims that are stale, removed, renamed, or behaviorally changed.
    • New repo capabilities that should be represented because they replace or materially alter existing skill guidance.
    • Unknowns requiring live inspection or user clarification.
  4. If live Python inspection is required and no verified environment exists, use prepare-repo-skill-env to create or repair one, then continue only from its verified handoff.

  5. Read references/refresh-editing.md. Edit the resolved runtime working copy in place. Preserve root and sub-skill identities unless the user explicitly asks for a rename or the current name is invalid. Add or update references/repo-provenance.md with the refreshed source snapshot. Preserve the canonical repo_id and skill_id by default. Treat the existing area-family assignments as the routing baseline: keep them when the repository's capability scope is unchanged, but do not keep them blindly when the refresh adds, removes, or materially changes a capability. If the capability scope changed, the taxonomy hash changed, or the user requests reclassification, produce a new external area-family routing handoff and matching minimal v2 metadata before import. Do not hand-edit generated router Markdown or silently change assignments in prose.

  6. Resolve and apply the repository license after the refreshed source commit is known and before handing the tree to verification:

    bash
    node ../verify-repo-skill/scripts/resolve_repo_license.mjs \
      --repository <owner/repository> \
      --source-commit <40-hex-source-commit> \
      --json > <artifact-root>/reports/license-resolution.json
    node ../verify-repo-skill/scripts/apply_repo_license.mjs \
      --skill-dir <external-runtime-skill-dir> \
      --license <value-from-report>

    Re-query on every refresh; do not preserve a stale license solely because it was present in the previous skill. Update all root/sub-skill frontmatter to the same result. Preserve NOASSERTION when GitHub returns it; normalize only unavailable results to NO_LICENSE, keep the report outside the runtime tree, and carry old value, new value, source commit, status, and reason into the handoff. NO_LICENSE is a warning and not a legal conclusion.

  7. Update usability test cases under the review/test artifact directory's test-cases/ subtree so at least one case proves refreshed behavior and at least one case guards a pre-existing workflow that should remain valid.

  8. Read references/verification-and-handoff.md. Verify that refreshed public skill content is self-contained, current, privacy-safe, and reachable from nearby SKILL.md files. Save staleness audits, verification reports, and human-review notes under the review/test artifact directory's reports/ subtree.

  9. After verification passes, follow verify-repo-skill's structured import policy: use ask_user_question when approval is still required, then run the approved or auto-authorized refresh through verify-repo-skill/scripts/import_repo_skill.mjs with --overwrite, the refreshed runtime skill directory, and --routing-entry <repo-path>/skills/disco/routing_decision/classification.json. The external handoff is mandatory for a normal classified import, even when the existing area-family assignments are retained. Use --overwrite only because this workflow is updating that exact approved repo skill. The helper installs the refreshed runtime tree under ~/.disco/agent/skills/repositories/repo-skills/<skill-id>/, rebuilds the sibling live DisCo repo-skills-router under the global lock, and restores both on failure. Do not hand-edit router Markdown or manually combine copy and updater commands. The refreshed skill is directly available to DisCo Researcher in a new session; use import-repo-skills-to-agent only when the user explicitly asks for a cross-agent export.

Non-Negotiables

  • Treat the current repository as the source of truth; do not preserve old skill claims just because they were previously useful.
  • Do not regenerate a replacement skill from scratch unless the user explicitly asks or the old skill is so structurally invalid that in-place repair would be misleading.
  • Do not edit a live skill under <agent-dir>/skills/repositories/repo-skills/ before the global import lock is held. Refresh an external working copy, then let verify-repo-skill/scripts/import_repo_skill.mjs replace the live target.
  • Do not finish a refresh without references/repo-provenance.md; if the old skill lacks it, create it from the current repository snapshot.
  • Do not silently change a repository's repo_id or skill_id during a refresh. A rename is a separate identity migration and must update the central repository index and all router references together.
  • Do not silently change area-family assignments. Preserve the prior routing when capability scope is unchanged; otherwise use the verified external routing handoff and minimal v2 metadata, then let the locked importer update the router and indexes atomically.
  • Do not change the skill's public purpose to cover unrelated new repository areas unless those areas replace or materially affect existing guidance.
  • Do not add claims about APIs, CLIs, configs, data formats, dependency behavior, or runtime behavior without current repository evidence or live inspection.
  • Do not leak local checkout paths, Python executable paths, conda or virtualenv names, pip show locations, API keys, or machine-specific details into public skill files.
  • Do not link runtime skill documentation to the source repository checkout. Distill current facts into the skill directory.
  • Do not preserve or reintroduce runtime instructions that refer to source repo scripts, examples, notebooks, tools, or configs by path. If the refreshed skill still needs that behavior, add a bundled replacement under the skill's own scripts/ or references/ tree and link it instead.
  • Do not treat tests/ as a skill directory. It is the review/test artifact area.
  • Do not write staleness audits, evals/, verification reports, human-review notes, publication checklists, prompt samples, benchmark notes, or other check-only artifacts inside the runtime skill directory. Put concrete usability cases under the review/test artifact directory's test-cases/ subtree and reports under its reports/ subtree, defaulting to <repository-path>/skills/tests/<skill-id>/.

Output Summary

By the end, the user should have:

  • A runtime working copy refreshed against current repository evidence, followed by a locked live replacement when import is approved or auto-authorized.
  • An updated references/repo-provenance.md snapshot that future agents can use to detect whether the skill may be stale.
  • A staleness audit and review package under the review/test artifact directory's reports/ subtree that identifies changed, retained, and removed guidance.
  • Updated references, scripts, sub-skills, and usability test cases where the old skill was stale.
  • Verification evidence showing the public skill no longer depends on outdated repo facts.
  • A routing handoff stating whether prior area-family assignments were preserved or reclassified, with the reason and evidence for any change.
  • A final handoff that distinguishes refreshed public skill content, review/test artifacts, evidence used, and any accepted uncertainty.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Refresh Repo Skill?

Refreshes an existing repository-specific Agent Skill after the source repository changed. Use when the user says repo code, APIs, docs, examples, configs, dependencies, or behavior changed and an old skill may now be stale, outdated, inconsistent with current code, or needs to be resynchronized from repository evidence.

Firwat Refresh Repo Skill op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Refresh Repo Skill besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Refresh Repo Skill an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/refresh-repo-skill an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Refresh Repo Skill benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Refresh Repo Skill benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Refresh Repo Skill domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Refresh Repo Skill gratis?

Jo. VectorSpaceLab huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇