proj-sync-doc

Parse git commits to update requirements, design docs, and unit tests.

93|27|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/zhangloveyan/backend-skill --skill proj-sync-doc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: proj-sync-doc
Source: https://github.com/zhangloveyan/backend-skill/tree/main/.claude/skills/proj-sync-doc
Command: npx skills add https://github.com/zhangloveyan/backend-skill --skill proj-sync-doc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

自动化同步需求、技术文档与单元测试,确保代码变更后文档与测试保持一致,减少人工对齐的错误与重复工作。

Core Features & Use Cases

  • 自动提取变更点并评估对需求、设计文档和单元测试的影响。
  • 在用户确认后自动更新 docs/req 与 docs/design,并补充或调整相应的单元测试。
  • 适用于紧急修复、变更回滚后文档对齐,以及新特性上线时的全链路一致性维护。

Quick Start

运行 proj-sync-doc 在最近的提交范围内同步需求/技术文档与单元测试。

Frequently Asked Questions about proj-sync-doc

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

FAQPage Schema
How do I synchronize technical documentation and unit tests with code changes?

To synchronize technical documentation and unit tests with code changes, this Skill parses git commits to extract changes, classifies their impact, and updates docs in docs/req and docs/design alongside adjusting tests. It requires user confirmation before applying updates to ensure accuracy.

Can I automatically update requirements docs after an urgent hotfix?

Yes, you can automatically update requirements docs after an urgent hotfix. The Skill applies during urgent hotfixes and regular development cycles, extracting change points from git commits to evaluate impact and align docs/req and docs/design with the latest code state.

How does git commit parsing work for keeping documentation in sync?

Git commit parsing for keeping documentation in sync works by extracting changes from recent commits, classifying their impact on requirements and design, then proposing updates to docs/req and docs/design. The mechanism ensures documentation reflects the latest code changes after user confirmation.

Do I need any specific dependencies or components to run proj-sync-doc?

No specific dependencies or components are required to run proj-sync-doc. The Skill operates independently to parse git commits, evaluate impact on requirements and technical documentation, and adjust unit tests within your existing repository structure.

What is the best way to maintain documentation consistency during ongoing refactoring?

The best way to maintain documentation consistency during ongoing refactoring is using an automated synchronization approach. This Skill parses git commits, evaluates the impact of refactoring changes, and updates docs/req, docs/design, and unit tests with user confirmation before applying updates.

When should I not use an automated documentation synchronization approach?

You should not use automated documentation synchronization when changes are incomplete or uncommitted, because the Skill relies on parsing git commits to extract changes. It requires user confirmation before applying updates, meaning uncommitted work will not be evaluated for documentation or test alignment.