Logo di Sync Docs

Sync Docs

Community
onevcat
sync-docs

Mantieni il manuale per gli agenti in docs/ sincronizzato con l’implementazione. Parti dalle differenze rispetto a un commit baseline già registrato e apporta solo modifiche conservative e minime, limitate ai casi in cui il codice ha effettivamente cambiato il comportamento visibile all’utente. Esegui questa skill su richiesta o durante la preparazione di una release.

Add to TypingMind

Panoramica

Pubblicato daonevcat
RepositoryProwl
Nome della skillsync-docs
Stelle
647
Fork
66
File inclusi
Solo istruzioni
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 onevcat su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Sync Docs 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/onevcat/Prowl/tree/main/.claude/skills/sync-docs
  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/onevcat/Prowl.git /tmp/Prowl
mkdir -p .claude/skills
cp -r /tmp/Prowl/.claude/skills/sync-docs .claude/skills/sync-docs
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Sync Docs 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 Sync Docs 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 Sync Docs 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à.

Sync Docs

Keep the agent-facing documentation under docs/ accurate as the implementation evolves. This skill is diff-driven (it only looks at source that changed since a committed baseline) and deliberately conservative (it makes the smallest edits needed to restore accuracy — it does not rewrite, restyle, or expand the docs).

Read docs/README.md first for the doc set's structure and intent. The docs are written for AI agents to read, are plain Markdown, and are designed to be verifiable: each file lists Keywords/Related, and the reference/ files name their source-of-truth.

Guiding principle: be conservative

The goal is to keep facts correct with low churn, not to perfect the prose.

  • Default to leaving a doc unchanged. Only edit when a documented fact is now demonstrably wrong, a documented feature was removed, or a clearly significant new user-facing feature/shortcut/setting was added.
  • Make the smallest possible edit. Fix the wrong cell/line; don't reflow tables, reorder sections, or reword surrounding prose.
  • Tolerate a wide range. Ignore internal refactors, renames, and code reshuffles that don't change user-facing behavior. Ignore stylistic/wording differences. Approximate phrasings ("roughly", "typically", "best-effort") are fine — don't tighten them just because you can.
  • Don't grow the doc set casually. Do not add new sections or new files unless a genuinely new top-level feature appeared. If a change is large (a new feature that needs a whole new component manual, or a structural overhaul), do not do it silently — describe it in the report and let the human decide.
  • Keep "source of truth" pointers correct if files move or are renamed.
  • Prefer touching few files per run. If you find yourself about to edit many files, stop and re-read this section — most of those are probably tolerable.

Steps

  1. Read the baseline. Open docs/.sync-meta.json and read the last_synced_commit field (the last-synced commit hash).

  2. Diff the implementation since the baseline. List source files that changed:

    bash
    git diff --name-only <baseline_commit>..HEAD -- \
      App/Sources/ CLI/ Shared/ ThirdParty/git-wt

    If nothing relevant changed, report "Docs up to date as of <HEAD>." then go to step 6 (bump the baseline) and stop.

  3. Map changed source → docs to re-check. Use this table; only open the docs whose source actually changed. (Most changes touch zero or one doc.)

    Source that changedDocs to re-check
    App/Sources/App/AppShortcuts.swift, App/Sources/Commands/**reference/keyboard-shortcuts.md (+ shortcut mentions in the relevant components/*.md)
    App/Sources/Features/Settings/Models/GlobalSettings.swift, RepositorySettings.swift, UserRepositorySettings.swiftreference/settings-fields.md, components/settings.md, components/custom-actions.md
    CLI/Sources/prowl/**, App/Sources/CLIService/**components/cli.md
    App/Sources/Clients/CLIInstall/**components/cli.md, components/settings.md
    App/Sources/Features/Repositories/**, App/Sources/Domain/Worktree*.swift, App/Sources/Domain/Repository*.swift, App/Sources/Clients/Git/**, ThirdParty/git-wtcomponents/repositories-and-worktrees.md
    App/Sources/Features/Terminal/**, App/Sources/Infrastructure/Ghostty/**components/terminal.md
    App/Sources/Features/Canvas/**components/canvas.md
    App/Sources/Features/Shelf/**components/shelf.md
    App/Sources/Features/CommandPalette/**components/command-palette.md
    App/Sources/Features/ActiveAgents/**components/active-agents.md
    App/Sources/Domain/AgentDetection/**, App/Sources/Infrastructure/AgentDetection/**components/agent-detection.md
    App/Sources/Clients/Notifications/**, WorktreeTerminalState+Notifications.swift, App/Sources/Clients/Dock/**components/notifications.md
    App/Sources/Features/DiffView/**components/diff-view.md
    App/Sources/Clients/Github/**components/github-pull-requests.md
    App/Sources/Clients/Updates/**, App/Sources/Features/Updates/**components/updates.md
    view-mode switching (App/Sources/Features/App/**, ContentView.swift)components/view-modes.md

    overview.md, concepts.md, and README.md only need touch-ups for the addition/removal of a major feature — leave them alone otherwise.

  4. Verify against the source of truth. For each doc identified, check its falsifiable claims against the authoritative source — not against the diff summary — and apply minimal edits per the conservative rules above:

    Claim typeSource of truth
    Keyboard shortcuts (key + modifiers + command ID, remappability)App/Sources/App/AppShortcuts.swift; menu wiring in App/Sources/Commands/*.swift
    Settings field names / types / defaultsApp/Sources/Features/Settings/Models/GlobalSettings.swift, RepositorySettings.swift
    CLI commands / flags / ranges / error codes / JSON fieldsCLI/Sources/prowl/** and App/Sources/CLIService/** (and, if the CLI is installed, prowl <cmd> --help for confirmation)
    Feature behavior / entry pointsthe corresponding App/Sources/Features/** or App/Sources/Clients/**

    When in doubt whether something is a real, user-facing change, leave the doc as-is and flag it in the report rather than editing.

  5. Check internal links if files moved. If you renamed/added/removed any doc file, re-run a quick relative-link check so nothing in docs/ is broken.

  6. Bump the baseline. Set last_synced_commit (and last_synced_date, note) in docs/.sync-meta.json to the current HEAD. This file is committed to git so the baseline persists across sessions and machines — never leave it uncommitted.

  7. Report. Output a short summary:

    ## Docs Sync
    Baseline: <old_hash> → <new_hash>
    Source files changed in range: <count>
    
    ### Updated
    - docs/<file> — <one-line what & why>
    
    ### Checked, left unchanged (tolerated)
    - <area> — <why it didn't need a doc change>
    
    ### Needs human decision (not applied)
    - <large/ambiguous change> — <what & suggested doc action>

Committing

  • Standalone run: stage and commit only docs/** (which includes docs/.sync-meta.json); never git add .. If anything in docs/ changed and you're not on main, open a PR targeting onevcat/Prowl.
  • As part of release prep (the release skill, on main): commit the doc + docs/.sync-meta.json changes as their own commit before the version bump and tag — e.g. git commit -m "Sync docs for <VERSION>". Do not leave them staged/uncommitted: release.sh aborts on a dirty working tree, and the doc commit must already be on main so it becomes an ancestor of the tag and ships inside the release. Bump/tag happen after, never before.
  • Always bump and commit docs/.sync-meta.json even when no doc edits were needed, so the next run starts from a tight diff range. The baseline records the commit the docs were verified against (the current HEAD at run time) — for a release that is the code being shipped, captured before the later doc/bump/tag commits, which is correct (those commits touch no implementation files).

Domande frequenti

Cosa fa la skill IA Sync Docs?

Mantieni il manuale per gli agenti in docs/ sincronizzato con l’implementazione. Parti dalle differenze rispetto a un commit baseline già registrato e apporta solo modifiche conservative e minime, limitate ai casi in cui il codice ha effettivamente cambiato il comportamento visibile all’utente. Esegui questa skill su richiesta o durante la preparazione di una release.

Perché usare Sync Docs su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Sync Docs è 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 Sync Docs in TypingMind?

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

Quali modelli IA possono usare Sync Docs?

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 Sync Docs?

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

La skill IA Sync Docs è gratuita?

È pubblicata su GitHub da onevcat. Consulta il repository per i termini di licenza. 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 👇