Logo di Sw Lint

Sw Lint

Community
mhmtsrfglu
sw-lint

Use when the user asks to check, lint, health-check, clean up or audit the Superwiki vault or wiki, after bulk edits or a migration, or invokes sw-lint.

Panoramica

Pubblicato damhmtsrfglu
Repositorysuperwiki
Nome della skillsw-lint
Stelle
31
Fork
3
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da mhmtsrfglu su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Sw Lint in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/mhmtsrfglu/superwiki/tree/main/skills/sw-lint
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mhmtsrfglu/superwiki.git /tmp/superwiki
mkdir -p .claude/skills
cp -r /tmp/superwiki/skills/sw-lint .claude/skills/sw-lint
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Sw Lint in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Sw Lint non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Sw Lint non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

sw-lint

Two passes. The first is a script and costs almost nothing. The second reads pages and costs tokens, so it runs only when the user approves it.

Pass 1: structure (always)

  1. Run node docs/.sw/sw.mjs lint from the project root. Read only its output, not the vault. It exits with code 1 while errors remain; that is expected.

  2. Fix broken links first, then run lint again, because one rename produces several findings (broken-link in every page that linked the old name, plus not-in-index and orphan-page for the new one).

    • A rename is established when exactly one page is reported not-in-index or orphan-page and its name is a variation of the broken target. Re-point every [[old]] to [[new]] in the files lint named, including index.md and task files.
    • Two candidates, or no resemblance: do not guess. Report it.
  3. Fix what else has one correct answer:

    FindingFix
    stale-board, missing-boardnode docs/.sw/sw.mjs index: it rewrites the task list in index.md from the task files. Never edit that list by hand
    not-in-indexadd - [[page]]: summary to index.md, using the page's summary:
    missing-field summarycopy it from the page's line in index.md; if there is none, read the page and write it
    missing-field typeread that page, write the field
    missing-datefill from git log --follow --format=%ad --date=short -- <file> when the project is under git and the date is unambiguous
  4. Report the rest and let the user decide. Do not change a task's status or deps to silence a finding.

    FindingWhy it needs a human
    started-before-deps, done-before-deps, dep-cycle, cancelled-depeither the status or the dependency is wrong; only the user knows which
    done-unverifiedthe task is done but its ## Summary holds an unverified or failed item. Run sw-verify for it; do not edit a verdict by hand
    missing-date you could not fillno history to take it from, or it hangs on a finding above
    duplicate-nameone of the pages must be renamed and every link to it re-pointed
    broken-link with no clear target, orphan-plan, unknown-depthe page may be missing or the reference stale
    orphan-pagemay be fine; may want a link from a related page
  5. Run lint again and state the before and after counts.

Pass 2: meaning (ask first)

Offer it with its size: "The wiki has N pages; a semantic review reads them. Run it?" (N from node docs/.sw/sw.mjs status). If approved:

  1. Read index.md. Collect follow-ups that ingests deferred: find the last lint entry with grep -n '^## \[.*\] lint' docs/log.md | tail -1 and read the log from that line to the end (the whole log only if there is no lint entry and it is short; otherwise tail -60).
  2. Read the wiki pages. Up to about twenty pages, read them all; beyond that, go group by group (same type, or linked to each other). Open a file in raw/ only to settle whether two pages really contradict each other. Look for:
    • claims that contradict each other;
    • a decision page superseded by a later one without saying so;
    • concepts named on several pages that have no page of their own;
    • pages that should link to each other and do not;
    • summaries or titles that no longer match the page;
    • each collected follow-up: still needed, or already handled.
  3. Present the findings as a numbered list with the pages involved, and say which ones you recommend applying now. Apply only what the user agrees to.

Finish

  1. Run node docs/.sw/sw.mjs lint once more if you edited anything after the last run.

  2. Append to docs/log.md, in the layout its last entries use:

    ## [YYYY-MM-DD] lint | <N> fixed, <M> open
    Fixed: <what>. Open: <findings left for the user>. Follow-up: <semantic findings and ingest follow-ups not yet handled>.

    Carry every unhandled follow-up into this entry: the next lint reads only from here on. Name a page that was renamed or removed in backticks, not as a [[link]].

Domande frequenti

Cosa fa la skill IA Sw Lint?

Use when the user asks to check, lint, health-check, clean up or audit the Superwiki vault or wiki, after bulk edits or a migration, or invokes sw-lint.

Perché usare Sw Lint su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Sw Lint è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Sw Lint in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/mhmtsrfglu/superwiki/tree/main/skills/sw-lint. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Sw Lint?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Sw Lint?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Sw Lint: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Sw Lint è gratuita?

Sì. È pubblicata su GitHub da mhmtsrfglu con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇