Back to list
washanhanzi

sync-docs

by washanhanzi

One Axum handler serves them ALL. Connect, gRPC, gRPC-Web, and HTTP.

11🍴 1📅 Jan 22, 2026

SKILL.md


name: sync-docs description: Sync documentation with main branch changes. This skill should be used when the user wants to update VitePress documentation to reflect changes made on the main branch. It compares origin/docs against local main, analyzes new commits, and updates relevant documentation files in parallel.

Sync Docs

Overview

This skill synchronizes VitePress documentation by comparing origin/docs against local main. It identifies new commits, analyzes what changed, and updates relevant documentation files. No git operations (merge, commit, push) are performed after the update.

Workflow

Step 1: Fetch and Find Missing Commits

Fetch latest from origin and find commits that exist in local main but not in origin/docs:

git fetch origin
git log --oneline origin/docs..main

If no commits are found (origin/docs is up-to-date with local main), report this and exit.

Step 2: Analyze Commit Changes

Get the diff to understand what changed:

git log --stat -p origin/docs..main

Step 3: Read Documentation Index

Read the docs README to understand the documentation structure:

cat docs/README.md

This provides the route mapping:

FileDescription
guide/index.mdGetting started, installation, basic usage
guide/configuration.mdMakeServiceBuilder API, service composition
guide/timeout.mdServer-side timeout configuration
guide/compression.mdResponse compression (gzip)
guide/http-endpoints.mdPlain HTTP routes alongside Connect
guide/tonic.mdTonic gRPC integration, dual-protocol serving
guide/grpc-web.mdBrowser gRPC-Web support via tonic-web
guide/build.mdbuild.rs config, prost, tonic codegen options
guide/examples.mdLinks to example code
guide/development.mdContributing, Claude Code skills
guide/architecture.mdLibrary internals, request flow, module structure

Step 4: Update Documentation in Parallel

Launch two subagents in parallel:

  1. Architecture subagent - Updates docs/guide/architecture.md for:

    • Module structure changes
    • Public API changes
    • Request/response flow changes
    • Code generation changes
  2. Guide subagent - Updates other relevant guide files based on commit changes:

    • build.md - for build/codegen changes
    • configuration.md - for MakeServiceBuilder changes
    • tonic.md - for gRPC integration changes
    • compression.md - for compression changes
    • Other files as needed based on the diff

Each subagent should:

  • Read the current doc file
  • Compare against the commit changes
  • Update only if the doc is outdated or missing information
  • Keep documentation concise and user-focused (not implementation details)

Checklist

  • Fetch origin and check for commits behind (local main vs origin/docs)
  • Analyze commit changes
  • Read docs/README.md for route mapping
  • Launch architecture subagent
  • Launch guide subagent for other relevant docs
  • Report which files were updated

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon