Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

docs-update

БесплатноБез исполняемых скриптовНе проверен

Synchronize all documentation surfaces after code changes. Use when the user says "docs-update", "update docs", "sync docs", "update references", "docs are…

JayFareiот JayFarei★ 107 звёзд на GitHub

Об этом скилле

docs-update

Detect code changes and propagate them across every documentation surface in the project.

Why this exists

opentraces has documentation spread across 50+ files in 10 zones: marketing site components, mkdocs reference pages, llms.txt (for AI visitors), the bundled agent skill, CLI inline help, the React viewer, schema package docs, and root READMEs. A single CLI flag rename can leave stale references in 15+ files. This skill prevents that drift.

How to run

When triggered, follow these four phases in order. Do not skip the adversarial review.


Phase 1: Detect what changed

Determine the scope of changes to propagate. Use whichever source the user indicates, or default to uncommitted changes:

# Uncommitted changes
git diff --stat
git diff --name-only

# Or changes since last release tag
git log --oneline $(git describe --tags --abbrev=0)..HEAD
git diff --name-only $(git describe --tags --abbrev=0)..HEAD

Classify each changed file into impact categories:

If this changed... These documentation zones need checking
src/opentraces/cli.py (commands, flags, help text) Site, Docs, Core refs, Inline
packages/opentraces-schema/src/opentraces_schema/models.py Site (schema-versions.ts, SchemaExplorer), Docs (schema/*.md), Core refs (schema README)
src/opentraces/security/ Site (PrivacyTrust.tsx), Docs (security/*.md)
src/opentraces/capture/ (new adapter, protocol change, or registry edit) Docs (integration/capture-integration.md, cli/supported-agents.md, contributing/development.md), Core refs (CLAUDE.md, capture/README.md), Site (InfraDiagram agent list, Features)
src/opentraces/capture/_base.py (protocol signatures) Docs (integration/capture-integration.md, cli/supported-agents.md), Core refs (capture/README.md). The integration spec quotes the protocol bodies — must stay byte-for-byte aligned.
src/opentraces/capture/claude_code/hooks/ or install.py Docs (integration/capture-integration.md "Tier 3" / "Tier 4" sections, cli/commands.md setup claude-code flags), Core refs (skill/SKILL.md hook reference)
src/opentraces/watcher/ (daemon or installer) Docs (integration/capture-integration.md "Watcher integration" section, cli/commands.md watcher group), Core refs (CLAUDE.md if behavior changes)
src/opentraces/core/trails/ (Trace Trails substrate) Docs (integration/capture-integration.md "Tier 4" section if capture API changed, cli/commands.md trail group), Core refs (CLAUDE.md trace-trails decision block)
src/opentraces/parsers/ (legacy path — collapsed into capture/ since 0.4) If anything still references this path, it is itself stale: update to point at capture/ instead.
src/opentraces/__init__.py (version bump) Site (version.json), Docs (versioning.md), Core refs (CHANGELOG)
pyproject.toml (dependencies, extras) Docs (installation.md, development.md), Core refs (README, CLAUDE.md)
src/opentraces/clients/tui.py Site (Hero.tsx TUI mockup), Docs (review.md keybindings)
src/opentraces/enrichment/ Docs (parsing.md pipeline steps), Site (InfraDiagram)

Read references/surface-map.md for the complete file-by-file catalog of what each documentation surface contains and what makes it go stale.

Present the change summary to the user before proceeding:

Changes detected:
  - CLI: added --dry-run flag to push command
  - CLI: renamed 'opentraces auth status' to 'opentraces auth check'

  Affected zones:
    Site:      Hero.tsx, PrivacyTrust.tsx, agent-prompt.ts
    Docs:      commands.md, pushing.md, authentication.md
    Core refs: skill/SKILL.md, llms.txt, README.md
    Inline:    (no changes needed)

  Proceed? [Y/n]

Phase 2: Parallel update agents

Spawn up to 4 agents in parallel, one per documentation zone. Each agent receives the change summary and its file list.

Agent 1: Site agent

Owns: web/site/src/components/, web/site/src/lib/

Files to check (read references/surface-map.md for specifics):

  • Hero.tsx — install methods, terminal mockups (init, status, review, push), TUI keybindings, version badge
  • GetStarted.tsx — terminal and agent step commands
  • PrivacyTrust.tsx — security mode demos, regex pattern count, redaction format
  • ShareFrom.tsx — install commands, step-by-step flow
  • InfraDiagram.tsx — agent list, pipeline steps, quality check count
  • Features.tsx — feature descriptions
  • SchemaExplorer.tsx — inline schema example, field list
  • SecurityTiers.tsx — policy mode names and descriptions
  • Stats.tsx — model names, agent identifiers
  • agent-prompt.ts — the canonical agent setup prompt
  • schema-versions.ts — full schema field definitions (must match Pydantic models)
  • version.json — version badge number

Instructions for the agent: Read the actual CLI source (cli.py), schema models, and security modules. For each file in your zone, find every reference to CLI commands, flags, schema f

Полный SKILL.md на GitHub

Установить docs-update в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/surface-map.md

FAQ

Что делает скилл docs-update?

Synchronize all documentation surfaces after code changes. Use when the user says "docs-update", "update docs", "sync docs", "update references", "docs are stale", or after any significant code change (CLI commands, schema fields, install methods, new features). This skill catches stale references across 50+ files: marketing site, mkdocs pages, llms.txt, the agent skill, CLI help text, viewer UI, and READMEs. Proactively suggest this after merging features or changing CLI surface.

Как установить скилл docs-update?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл docs-update запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить docs-update с