update-knowledge-base

Analyzes recent git commits and updates KNOWLEDGE_BASE.md with architecture, features, conventions.

35|1|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/lbb00/ai-rules-sync --skill update-knowledge-base
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-knowledge-base
Source: https://github.com/lbb00/ai-rules-sync/tree/main/.claude/skills/update-knowledge-base
Command: npx skills add https://github.com/lbb00/ai-rules-sync --skill update-knowledge-base

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the drift between code changes and project documentation by automatically analyzing recent commits and updating KNOWLEDGE_BASE.md with architectural notes, feature changes, and coding conventions.

Core Features & Use Cases

  • Detects new adapters, commands, or features from recent commits and merges.
  • Updates sections in KNOWLEDGE_BASE.md including Architecture, Features, and Conventions.
  • Verifies accuracy by cross-referencing source code and ensures runnable examples where applicable.
  • Use Case: After a major refactor, run this Skill to refresh the knowledge base so new team members can understand the current architecture at a glance.

Quick Start

Analyze the latest commits and update KNOWLEDGE_BASE.md to reflect architectural and feature changes.

Frequently Asked Questions about update-knowledge-base

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

FAQPage Schema
How do I automatically update markdown documentation from recent git commits?

To automatically update markdown documentation from recent git commits, you need a tool that parses git history and merges architectural notes, feature changes, and coding conventions directly into your project's knowledge base files.

What is the best way to keep technical documentation synced with code changes after a refactor?

Keeping technical documentation synced with code changes after a refactor involves analyzing recent commits to detect new adapters or commands, then updating markdown sections like Architecture and Features to reflect the current state of the codebase.

Can I generate onboarding materials for software projects by analyzing source code and git history?

Yes, you can generate onboarding materials for software projects by analyzing source code and git history, verifying accuracy through cross-referencing to ensure new team members understand the architecture at a glance.

Do I need external dependencies to parse git history and update markdown files?

No external dependencies are needed to parse git history and update markdown files, as the solution operates entirely using the repository's existing tooling to analyze commits and modify the knowledge base document.

Why does project documentation drift from the actual codebase architecture over time?

Project documentation drifts from the actual codebase architecture over time because manual updates lag behind frequent code changes, making it difficult to consistently record new features, conventions, and structural modifications in the knowledge base.