Logo van Sync Docs

Sync Docs

Community
onevcat
sync-docs

Houd de handleiding voor agents onder docs/ synchroon met de implementatie. Werk op basis van verschillen met een vastgelegde commit als uitgangspunt en voer alleen terughoudende, minimale aanpassingen door waar de code het gedrag voor gebruikers daadwerkelijk heeft veranderd. Voer dit op verzoek uit of als onderdeel van de releasevoorbereiding.

Add to TypingMind

Overzicht

Uitgeveronevcat
RepositoryProwl
Skillnaamsync-docs
Sterren
647
Forks
66
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door onevcat op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Sync Docs in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/onevcat/Prowl/tree/main/.claude/skills/sync-docs
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Sync Docs in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Sync Docs automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Sync Docs niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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).

Veelgestelde vragen

Wat doet de AI-skill Sync Docs?

Houd de handleiding voor agents onder docs/ synchroon met de implementatie. Werk op basis van verschillen met een vastgelegde commit als uitgangspunt en voer alleen terughoudende, minimale aanpassingen door waar de code het gedrag voor gebruikers daadwerkelijk heeft veranderd. Voer dit op verzoek uit of als onderdeel van de releasevoorbereiding.

Waarom Sync Docs gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Sync Docs bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Sync Docs in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/onevcat/Prowl/tree/main/.claude/skills/sync-docs. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Sync Docs gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Sync Docs gebruiken?

Zoveel als je wilt. Je kunt Sync Docs gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Sync Docs gratis?

Deze skill is door onevcat op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇