BR

branch-docs-sync

Maintains documentation consistency by automatically identifying and updating docs based on git commits.

Install

mkdir -p .claude/skills/branch-docs-sync && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11995" && unzip -o skill.zip -d .claude/skills/branch-docs-sync && rm skill.zip

Installs to .claude/skills/branch-docs-sync

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Synchronize project documentation with recent code changes, refactors, and feature implementations in the current branch.
121 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Identify architectural refactors, new features, and breaking changes from git commits
  • Update 'Project Status' and 'Recent Major Refactors' in `DEVNOTES.md`
  • Update specific detail files like `OSHADER_UPDATES.md` and `BINDINGS_GUIDE.md`
  • Refresh `README.md`, `INSTALL_ARTIFACTS.md`, `NEWS.md`, and `ChangeLog.md`

How it works

The skill analyzes recent git commits to identify changes, then applies surgical updates to developer notes, site documentation, distribution files, and manual pages, preserving case and using targeted replacements.

Inputs & outputs

You give it
Recent git commits in the current branch
You get back
Updated `DEVNOTES.md`, site documentation, release files, and manual pages

When to use branch-docs-sync

  • Updating docs after refactoring
  • Documenting new features
  • Synchronizing technical notes

About this skill

Objective

Update and maintain documentation consistency by analyzing recent git commits and applying surgical updates across developer notes, user-facing site content, and system manual pages.

Workflow

1. Research & Analysis

  • Identify Range: Determine the set of commits to analyze. If not specified, analyze all commits unique to the current feature branch.
  • Extract Changes: Use git log -n 10 and git show <sha> for key commits to identify:
    • Architectural Refactors: Renames of subsystems, directories, or core libraries.
    • New Features: Added RIB statements, new shaders, or expanded language bindings.
    • Breaking Changes: Changed environment variables, tool names, or API signatures.
    • Fixed Bugs: Resolved issues that require updating the status in BUGS.md or DEVNOTES.md.

2. Update Developer Notes (DEVNOTES.md & DEVNOTES_DETAILS/**)

  • Project Status: Update the "Project Status" table in the main DEVNOTES.md.
  • Major Refactors: Add a bullet point to the "Recent Major Refactors" section summarizing systemic changes.
  • Detail Files:
    • Update OSHADER_UPDATES.md for compiler or shading language changes.
    • Update BINDINGS_GUIDE.md for Python/Lua/C++ interface changes.
    • Update FRAMEBUFFER_GUIDE.md for display driver or IPC changes.
    • Create new detail files (e.g., RIB_GUIDE.md) for significant new subsystems.

3. Update Site Documentation (docs/site/content/**)

  • Branding & Consistency: Perform batch updates for project name (e.g., "Pixie" -> "openRender") or environment variables (e.g., PIXIEHOME -> ORENDERHOME).
  • URL Routing: Ensure internal links and file names match the new branding or tool names.
  • Tooling References: Update command-line examples to reflect tool renames (e.g., sdrinfo -> rsloinfo).

4. Update Distribution & Release Files

  • README.md: Refresh the directory structure overview and installation requirements.
  • INSTALL_ARTIFACTS.md: Update the list of installed binaries and libraries.
  • NEWS.md & ChangeLog.md: Add dated entries summarizing the new capabilities and refactors.
  • Build Templates: Update Homebrew (.rb.template) or RPM (.spec) files to ensure they package the new artifacts.

5. Update Manual Pages (man/**)

  • Rename: If a tool has been renamed, rename the corresponding .1 file.
  • Content: Update the usage synopsis and descriptions to match the current implementation.

Key Rules

  • Preserve Case: When performing batch renames (e.g., "pixie" -> "openrender"), respect the casing of the original string.
  • Surgical Edits: Use targeted replace calls with enough context to avoid ambiguous matches.
  • Audit: After updates, run a grep_search for the old terms (e.g., "sdr", "Pixie") to ensure no stale references remain in active documentation.
  • Confirmation: Present a summary of all documentation changes to the user for final approval.

Verification

  • Validate that all internal markdown links are functional.
  • Ensure the ChangeLog.md follows the project's established format.
  • Verify that the INSTALL_ARTIFACTS.md accurately reflects the current CMakeLists.txt configuration.

When not to use it

  • When the project is not a git repository with a standard documentation structure
  • When the user wants to add new top-level directories or import another pack's code
  • When the user wants to perform batch renames without preserving case

Prerequisites

git repository with standard documentation structure

Limitations

  • Requires a git repository with standard documentation structure
  • Preserves case when performing batch renames
  • Uses surgical edits to avoid ambiguous matches

How it compares

This skill surgically updates various documentation types based on recent git commits, ensuring consistency across developer notes, user-facing content, and system manuals, unlike manual documentation updates.

Compared to similar skills

branch-docs-sync side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
branch-docs-sync (this skill)02moNo flagsIntermediate
prepare-changelog67moReviewBeginner
workthrough108moReviewBeginner
generate-release-notes78moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

prepare-changelog

nextest-rs

Guidelines for preparing changelog entries for nextest releases following Keep a Changelog format

689

workthrough

bear2u

Automatically document all development work and code modifications in a structured workthrough format. Use this skill after completing any development task, bug fix, feature implementation, or code refactoring to create comprehensive documentation.

1085

generate-release-notes

teambit

Generate comprehensive release notes for Bit from git commits and pull requests. Use when creating release notes, building changelogs, documenting version releases, or preparing a new Bit release.

752

changelog-generator

ComposioHQ

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

346

release-note-generation

microsoft

Toolkit for generating PowerToys release notes from GitHub milestone PRs or commit ranges. Use when asked to create release notes, summarize milestone PRs, generate changelog, prepare release documentation, request Copilot reviews for PRs, update README for a new release, manage PR milestones, or collect PRs between commits/tags. Supports PR collection by milestone or commit range, milestone assignment, grouping by label, summarization with external contributor attribution, and README version bumping.

537

doc-check

coder

Checks if code changes require documentation updates

427

Search skills

Search the agent skills registry