Logo: Consistency Audit

Consistency Audit

Organisatioun
bis-med-it
consistency-audit

On-demand framework self-audit. Checks the three layers (skills ↔ lib ↔ dictionary) for drift, internal inconsistency, and doc-vs-practice mismatch. Use when the user asks to "audit the framework", "check for consistency / drift", "is the workflow consistent", "go through the end-to-end process", before a release or promotion, or after a batch of edits to skills, lib, or the dictionary. This is NOT a stage of the 7-stage research loop; it is a maintenance pass run occasionally, on demand, by a framework developer.

Iwwersiicht

Editeurbis-med-it
Repositorymarco-BIS
Skill-Nummconsistency-audit
Stären
28
Forks
6
Matgeliwwert Dateien
Nëmmen Instruktiounen
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.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    bis-med-it huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Consistency Audit 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/bis-med-it/marco-BIS/tree/main/skills/consistency-audit
  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/bis-med-it/marco-BIS.git /tmp/marco-BIS
mkdir -p .claude/skills
cp -r /tmp/marco-BIS/skills/consistency-audit .claude/skills/consistency-audit
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Consistency Audit 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 Consistency Audit automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Consistency Audit 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.

Consistency audit

The framework's three layers (the skills/ workflow + knowledge, the scripts/lib/ implementation, and the skills/model-dictionary/ specs) must not silently drift out of agreement.

There are two layers of defence, and you run both:

LayerWhereCadenceCatches
Mechanicaltests/test_doc_consistency.pyevery test run (automated)YAML parse breaks, index↔entries drift, stale module/entry counts, invalid verified.status, broken skill→file links, dangling lib.* references, replication folders missing core files
Semanticthis skillon demandstage-numbering coherence, propose/confirm choreography, doc-vs-practice, orphaned/overlapping skills, terminology drift (the judgement calls a regex can't make)

The mechanical layer is necessary but not sufficient: a green test suite with an incoherent workflow is still broken. Run the semantic pass too.

When to run

  • The user asks to audit / check the framework, or to "go through the end-to-end process".
  • Before promoting work to canonical, or before a release.
  • After a batch of edits to skills, lib, or the dictionary, especially a paper rebuild. Rebuilds can silently break dependent tests and docs.

Procedure

Step 1: Mechanical checks (fast, deterministic)

python -m pytest tests/test_doc_consistency.py -q

Every failure is a concrete drift with a file:line. Fix or report each. If during the audit you find a new class of drift that is mechanically checkable (a count, a reference, a parse, a path), encode it as a new test here so it can never regress. That is how the mechanical layer grows.

Step 2: Semantic audit (judgement)

A regex can't read meaning. By reading the skills, check:

  1. Stage-numbering coherence. The orchestrator is the source of truth: Stages 0a (knowledge-base initialisation) and 0b (intake & triage) fold into the Stage-1 log entry; Stage 1 = mode-specific entry flow, 2 = specification, 3 = data, 4 = estimation, 5 = sensibility, 6 = results, 7 = disposition. Every sub-skill that names a stage must match.
  2. Propose → confirm choreography. Every decision-point skill must propose a specific choice with rationale and wait for confirmation, never blank-ask (design principle 3). Flag any skill that merely describes.
  3. Doc-vs-practice. Spot-check that what the skills / CLAUDE.md claim matches what the code does: output paths, default hyperparameters, file locations, method availability.
  4. Orphaned / overlapping skills. Is every skill in the orchestrator's invocation table reachable from a stage (or clearly marked optional/on request)? Do two skills run the same check without a stated division of labour?
  5. Terminology / vocabulary. The same concept uses the same name across skills, e.g. the three verified.status levels (draft | checked_against_paper | signed_off), the mode labels (A/B/C).
  6. Source-priority agreement. Every statement of the knowledge-source cascade uses the one canonical order, user > model dictionary > knowledge base > parametric > data-driven, with economic logic checked at every level, defined once in specification/SKILL.md.

Step 3: Live execute smoke (prove the path, not just the prose)

Run one fast verified replication end-to-end and confirm it still passes its paper targets:

python scripts/replications/blanchard_quah_1989/replicate.py

Expect a 6/6 paper-target comparison table and output files under the script's co-located outputs/. A clean mechanical + semantic audit with a broken execute path is still a broken framework.

Step 4: Report & fix (propose, confirm)

Compile a prioritized findings list (P1 misleads the agent or user · P2 real friction or latent contradiction · P3 polish), each item with a file:line and a one-line fix. Per design principle 3, propose the fixes and wait for the user's confirmation before editing; then re-run Steps 1–3 to green. Record the audit (date, findings, dispositions) in your own notes, and update CONVENTIONS.md or docstrings where a finding changes behaviour.

Adding new invariants

When the audit surfaces a new class of drift, decide where it belongs:

  • Mechanically checkable (counts, references, parse-ability, paths, schema) → add a test to tests/test_doc_consistency.py. Prefer this: it runs continuously and can't be forgotten.
  • Judgement-only (semantics, choreography, design coherence) → add a bullet to Step 2 above so the next on-demand audit covers it.

Heefeg gestallte Froen

Wat mécht de KI-Skill Consistency Audit?

On-demand framework self-audit. Checks the three layers (skills ↔ lib ↔ dictionary) for drift, internal inconsistency, and doc-vs-practice mismatch. Use when the user asks to "audit the framework", "check for consistency / drift", "is the workflow consistent", "go through the end-to-end process", before a release or promotion, or after a batch of edits to skills, lib, or the dictionary. This is NOT a stage of the 7-stage research loop; it is a maintenance pass run occasionally, on demand, by a framework developer.

Firwat Consistency Audit op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Consistency Audit 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 Consistency Audit an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/bis-med-it/marco-BIS/tree/main/skills/consistency-audit an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Consistency Audit 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 Consistency Audit benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Consistency Audit 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 Consistency Audit gratis?

Jo. bis-med-it 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 👇