Logo: Prune Gotchas

Prune Gotchas

Organisatioun
TSS-Blue-AI-Lab
prune-gotchas

Interactively review and consolidate existing gotchas.md files within an explicitly selected skills root. Use when lessons have accumulated, overlap, conflict, contain stale or sensitive context, or need clearer scope and conditions.

Iwwersiicht

EditeurTSS-Blue-AI-Lab
Repositoryai-lab-agent-skills
Skill-Nummprune-gotchas
Stären
26
Forks
3
Matgeliwwert Dateien
Nëmmen Instruktiounen
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

    TSS-Blue-AI-Lab huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Prune Gotchas 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/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/prune-gotchas
  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/TSS-Blue-AI-Lab/ai-lab-agent-skills.git /tmp/ai-lab-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-lab-agent-skills/skills/prune-gotchas .claude/skills/prune-gotchas
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

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

Funktionéiert mat all KI-Modell

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

Gotchas Pruning — Interactive Review

Improve existing gotcha collections without losing useful context or changing guidance without approval. Work one file and one proposal at a time.

Constraints

  • Operate only on existing gotchas.md files beneath a skills root selected by the user or established by the current repository.
  • Never create a new gotchas file as part of pruning.
  • Never merge, remove, refine, sanitize, or relocate an entry without explicit approval for that proposal.
  • Show the exact before and proposed after text, except that secret values and sensitive identifiers must always be redacted.
  • Preserve the target file's organization and conventions unless the user separately approves restructuring.
  • Distinguish repository-local guidance from shared or globally installed skills. Editing a shared or global file requires explicit approval for that scope.
  • Base removals and conflict resolution on evidence, not subjective obviousness or timestamp recency.
  • Do not create backup files automatically.

Step 1 — Establish scope

Identify the skills root to inspect and state its absolute path. If multiple repository-local, user-level, or installed roots are plausible, ask the user which root is in scope.

Determine whether the selected root is:

  • repository-local;
  • user-level or shared; or
  • part of an installed package or plugin.

Scan recursively for existing files named gotchas.md. Do not assume a one-directory-deep layout or require a particular shell command. Exclude dependency, cache, generated, and version-control directories unless the selected skills root intentionally lives within one.

If no existing files are found, report that there is nothing to prune and stop.

Step 2 — Inventory the files

Read enough of each file to understand its structure and count its logical entries. Derive the entry boundary from the file's actual conventions, such as headings, list items, numbered records, or structured blocks. Do not assume every entry begins with a bold list marker.

Present a summary:

Skill or pathScopeApproximate entriesStructureReview signal
<skill>repository/shared<count><observed format><overlap, size, stale context, sensitive content, or none>

Label a count as approximate when the format is ambiguous. A size threshold may be used as a configurable review hint, with 30 entries as a default, but it is never proof that pruning is needed. Files with fewer entries may deserve review when they contain conflicts or sensitive information.

Ask which file to review first. Do not edit several files as one approval unit.

Step 3 — Understand the selected file

Read the complete file and identify its existing:

  • sections and category scheme, if any;
  • entry format;
  • timestamp or provenance conventions;
  • intended scope; and
  • rules for ordering or grouping.

Do not impose categories such as BUG, ARCHITECTURE, or MISUNDERSTANDING when the file uses another structure.

When an entry refers to behavior that may have changed, verify the current behavior from authoritative local evidence when possible. Examples include current code, tests, configuration, documentation, or tool output. If it cannot be verified, present it as uncertain rather than declaring it obsolete.

Step 4 — Identify proposals

Assign each candidate one action:

  • MERGE: multiple entries express the same lesson under the same relevant conditions.
  • REMOVE: the guidance is demonstrably false, fully duplicated, or no longer applicable and has no continuing historical value.
  • REFINE: the lesson is useful but vague, overgeneralized, misleading, or missing an important condition or prevention.
  • SANITIZE: the lesson exposes or unnecessarily preserves identifying, proprietary, or sensitive context.
  • RELOCATE: the lesson is valid but belongs at a different scope, such as repository-local guidance instead of a shared skill.
  • KEEP: the entry is distinct, accurate, actionable, appropriately scoped, and safe.

Do not remove an entry merely because it appears simple or project-specific. A project-specific lesson may be valid repository guidance. Before relocating or removing it from a shared file, identify an approved existing repository-local destination or leave it in place until the user chooses a durable home.

Step 5 — Sanitize safely

Check entries for:

  • project, organization, product, person, and customer names;
  • private paths, hosts, URLs, repository names, tickets, identifiers, and branch names;
  • proprietary code, schemas, business rules, data, and internal terminology; and
  • credentials, tokens, cookies, keys, connection strings, or other secret values.

Generalize identifying context while preserving the conditions that make the lesson useful. Name the category of a secret, never its value.

If a secret or sensitive identifier is present, do not reproduce it in the proposal. Show a redacted reference with the file and narrowest available location, propose sanitized replacement text, and warn that exposed credentials may require rotation through the user's normal security process.

Step 6 — Present one proposal at a time

For each proposed action, show:

  • target file and scope;
  • action;
  • evidence or reasoning;
  • current entry or entries, safely redacted when necessary;
  • exact proposed replacement, destination, or removal; and
  • any uncertainty or information that would be lost.

Use a neutral example format such as:

markdown
Action: REFINE

Current:
- A request can fail when optional configuration is absent.

Proposed:
- When an optional integration is disabled, skip its request path and report the unavailable capability instead of constructing an incomplete request.

Reason: The current entry identifies a symptom but not the triggering condition or prevention.

Ask the user to accept, edit, or skip the proposal. A skipped proposal remains unchanged. Approval for one proposal does not approve later proposals.

For conflicts, present the competing guidance and current evidence. Do not automatically preserve the newest timestamp; retain the entry supported by current behavior, or keep the conflict unresolved when evidence is insufficient.

Step 7 — Apply approved changes

After the user finishes reviewing proposals for one file:

  1. Apply only the accepted changes.
  2. Preserve unrelated content, formatting, ordering, and metadata.
  3. Use the version-control diff as the reviewable recovery record when available.
  4. If version control is unavailable and the user wants a backup, ask where to place it before creating one.
  5. Re-read the result for malformed structure, lost conditions, sensitive content, and unintended changes.
  6. Show the final diff or exact changed entries.

Report:

  • entries before and after, noting approximate counts;
  • proposals merged, removed, refined, sanitized, relocated, kept, and skipped;
  • unresolved conflicts or uncertain entries; and
  • the exact files changed.

Then ask whether to review another existing file or stop.

Heefeg gestallte Froen

Wat mécht de KI-Skill Prune Gotchas?

Interactively review and consolidate existing gotchas.md files within an explicitly selected skills root. Use when lessons have accumulated, overlap, conflict, contain stale or sensitive context, or need clearer scope and conditions.

Firwat Prune Gotchas op TypingMind benotzen?

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

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/prune-gotchas 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 Prune Gotchas 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 Prune Gotchas benotzen?

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

TSS-Blue-AI-Lab huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. 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 👇