sync-docs

Audits code changes and flags outdated or missing documentation.

36|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/jiahao-shao1/sjh-skills --skill sync-docs-jiahao-shao1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-docs
Source: https://github.com/jiahao-shao1/sjh-skills/tree/main/skills/sync-docs
Command: npx skills add https://github.com/jiahao-shao1/sjh-skills --skill sync-docs-jiahao-shao1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits recent code changes to identify outdated or missing documentation across the project, guiding timely updates to knowledge bases, READMEs, and policy docs.

Core Features & Use Cases

  • Automatic diff-based auditing of code changes against documentation sources (knowledge base, README, CLAUDE.md, AGENTS.md).
  • Checklist-driven recommendations that surface outdated sections in docs/knowledge/, docs/strategy/, and .claude/rules/ for review and update.
  • Integration with project-wide hygiene rules to maintain alignment between code and documentation and to prevent drift.

Quick Start

Run the sync-docs skill after a code change to generate a documentation-update checklist.

Frequently Asked Questions about sync-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if my README and knowledge base docs are outdated after code changes?

Documentation sync tools automatically diff recent code changes against your knowledge base, README, and project instruction docs like CLAUDE.md to identify outdated sections and generate a review-ready checklist.

How do I keep project instruction docs like CLAUDE.md and AGENTS.md in sync with code?

You can keep instruction docs in sync by running a diff-based audit that cross-references code changes against CLAUDE.md, AGENTS.md, and .claude/rules/, generating a checklist of sections needing updates.

What is the best way to automate documentation review for a knowledge base?

Automating documentation review requires diffing code changes against defined documentation sources, producing a review-ready report that flags outdated items in docs/knowledge/ and docs/strategy/ to prevent documentation drift.

Does documentation review work without defining specific source files and outputs?

No, documentation review requires a defined, checklist-style set of sources and outputs to accurately cross-check code changes and generate a review-ready report enforcing hygiene across project documentation.

When do I need to run a documentation audit for my codebase?

You need to run a documentation audit after code changes to prevent documentation drift, ensuring your knowledge base, README, and strategy docs remain aligned with the latest codebase updates.