update-architecture

Automate architecture documentation updates for a single target location after code diffs.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/Trecek/useful-claude-skills --skill update-architecture-trecek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-architecture
Source: https://github.com/Trecek/useful-claude-skills/tree/main/.claude/skills/update-architecture
Command: npx skills add https://github.com/Trecek/useful-claude-skills --skill update-architecture-trecek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Architecture documentation drift is common; this skill updates architecture markdown files to reflect the current codebase, ensuring docs stay accurate and aligned with implementation.

Core Features & Use Cases

  • Automates analysis of code changes and updates architecture documentation for a single target location at a time.
  • Enforces the standard 8-file structure per location and preserves the rationale behind design decisions.
  • Use Case: Refresh architecture docs for a component after a code change to maintain trust between code and documentation.

Quick Start

Invoke the skill on the target architecture location to begin refreshing the documentation.

Frequently Asked Questions about update-architecture

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

FAQPage Schema
How do I keep architecture documentation in sync with code changes?

To keep architecture documentation in sync, you can automate the analysis of code diffs to update markdown files. This ensures your architecture docs accurately reflect the current codebase and prevents documentation drift.

What is the best way to update architecture docs after modifying a component?

The best way to update architecture docs is by refreshing a single target location at a time after code diffs. This approach traces data reads and writes while rebuilding documentation from first principles to preserve cross-links.

Does updating architecture documentation require a specific file structure?

Updating architecture documentation enforces a standard 8-file structure per location. Adhering to this structure ensures that navigation and rationale behind design decisions are preserved during the update.

Can I refresh multiple architecture locations simultaneously?

You cannot refresh multiple locations simultaneously; the process enforces a one-location-at-a-time scope. This constraint ensures thorough traceability of data reads and writes before rebuilding the target documentation.

Why does architecture documentation drift from the actual codebase?

Architecture documentation drifts because manual updates lag behind continuous code changes. Automating the documentation refresh process after diffs aligns the markdown files with the implementation, maintaining trust between code and docs.