Skip to content
Development
Skill

/update-knowledge-base

Analyze code changes and update KNOWLEDGE_BASE.md with architectural and feature changes.

From plugin
ai-rules-sync
405 skills

Claude Code

$ npx -y skills add lbb00/ai-rules-sync --skill update-knowledge-base --agent claude-code

SKILL.md

update-knowledge-base.SKILL.md
name: update-knowledge-base
description: Analyze code changes and update KNOWLEDGE_BASE.md with architectural and feature changes.

Update Knowledge Base

Purpose

Automatically analyze recent code changes and update the project's knowledge base documentation to reflect current architecture, features, and conventions.

Instructions

1. **Analyze Recent Changes**

  • Review git diff or recent commits
  • Identify new adapters, commands, or features
  • Note architectural changes or new patterns

2. **Read Current Knowledge Base**

  • Check if KNOWLEDGE_BASE.md exists
  • If not, create it with proper structure
  • If exists, identify sections needing updates

3. **Update Sections**

  • **Architecture**: Update if new adapters or core components added
  • **Features**: Document new CLI commands or options
  • **Conventions**: Note any new coding patterns established
  • **API Changes**: Document breaking changes or deprecations

4. **Verify Accuracy**

  • Cross-reference with actual source code
  • Ensure examples are runnable
  • Check that all documented features exist

5. **Format Consistently**

  • Use consistent markdown formatting
  • Include code examples where helpful
  • Maintain table format for command references

Knowledge Base Structure

# AI Rules Sync - Knowledge Base

## Architecture Overview
- Adapter system description
- CLI layer structure
- Config management

## Supported Tools
| Tool | Types | Source Dir | Target Dir |

## Commands Reference
| Command | Description | Example |

## Adapter Implementation
- How to add new adapters
- Required interfaces

## Configuration
- ai-rules-sync.json structure
- Local/private rules

## Changelog
- Recent significant changes

Output

After running this skill:

  • KNOWLEDGE_BASE.md is created or updated
  • Changes reflect current codebase state
  • Documentation is accurate and complete
Read more
@lbb00
Ships withai-rules-sync

English · 中文 · Documentation AI Rules Sync (AIS) — Install, compose, update, and publish native agent assets from multiple Git repositories across all your projects. AIS is an asset federation toolkit, not a format converter.

Stars on GitHub

Momentum

stars in total
40
Star history of lbb00/ai-rules-sync on GitHub, a chart by star-history.com

Other skills on ai-rules-sync.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about update-knowledge-base.

Which coding agents can use update-knowledge-base?
update-knowledge-base installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.