Skip to content
Back to skills

Docs Update

ASecurity

Create or update architecture documentation from existing code

  • 33 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsgogitapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add architects-toolkit/SmartHopper --skill docs-update --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs Update?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs Update
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/architects-toolkit-docs-update/badge)](https://www.skillsdirectory.com/skills/architects-toolkit-docs-update)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: docs-update
description: Create or update architecture documentation from existing code
allowed-tools:
  - read
  - write
  - edit
  - grep
  - glob
triggers:
  - user
  - model
---

# Documentation Update Workflow

1. **Inventory the codebase**
   - Scan `src/` projects and namespaces.
   - GitHub workflows and other code outside `src/` are out of scope unless the user explicitly asks for workflow documentation.

2. **Map core abstractions**
   - List interfaces, base classes, public APIs, and extension points.

3. **Trace dependencies & data flows**
   - Identify managers/services and the request → provider → response pipeline (validation/logging points).

4. **Draft Architecture Overview (`docs/Architecture.md`)**
   - Start from this template (keep concise; link to deeper docs):
     ```
     # Architecture Overview

     ## System Components
     - [Component descriptions]

     ## Key Design Patterns
     - [Patterns identified]

     ## Component Relationships
     - [How components interact]

     ## Data Flow
     - [Key data flows]
     ```

5. **Add diagrams (Mermaid)**
   - Provide graphs when relevant to explain relationships, dependencies, and flows.
     ```
     ```mermaid
     graph TD
       Core[Core] --> Infra[Infrastructure]
       Infra --> Providers[Providers.*]
       Infra --> Components[Components]
       Components --> GH[Grasshopper UI]
     ```
     ```

6. **Component docs**
   - For each main component, create/update `docs/Components/<category>/<name>.md` with:
     - Purpose
     - Public APIs (signatures)
     - Dependencies
     - Interactions

7. **Review & optimize**
   - Completeness: major components covered.
   - Accuracy: interfaces/methods match code.
   - Decisions: key architectural trade‑offs captured.
   - Token efficiency: bullets, deduplication, link instead of repeat.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…