KS
Killer-Skills

update-docs — how to use update-docs how to use update-docs, update-docs setup guide, runtime safety for AI agents, update-docs vs documentation tools, update-docs install, what is update-docs, update-docs alternative, update-docs for developers, git diff command, documentation synchronization

v1.0.0
GitHub

About this Skill

Perfect for Code Maintenance Agents needing automated documentation updates. update-docs is a runtime safety skill that ensures documentation stays up-to-date with code changes, preventing AI agents from causing errors.

Features

Runs git diff command to detect changes
Maps changes to affected documentation pages
Requires reading of CLAUDE.md for understanding boundaries
References .docs-style-guide.md for terminology binding
Supports synchronization of documentation with library code changes

# Core Topics

acartag7 acartag7
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
54
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add acartag7/edictum

Agent Capability Analysis

The update-docs MCP Server by acartag7 is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use update-docs, update-docs setup guide, runtime safety for AI agents.

Ideal Agent Persona

Perfect for Code Maintenance Agents needing automated documentation updates.

Core Value

Empowers agents to ensure documentation stays in sync with code changes, providing runtime safety through git diff analysis and automated doc updates, utilizing files like CLAUDE.md and .docs-style-guide.md.

Capabilities Granted for update-docs MCP Server

Automating documentation updates for library code changes
Detecting affected doc pages through git diff analysis
Maintaining accurate documentation to prevent errors

! Prerequisites & Limits

  • Requires git repository access
  • Limited to library code changes
  • Needs understanding of CLAUDE.md and .docs-style-guide.md
Project
SKILL.md
4.6 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Update Docs

Ensures documentation stays in sync with code changes. Run before or during every PR that touches library code.

Before anything else

  1. Read CLAUDE.md — understand boundaries (core vs server), dropped features, and session model
  2. Read .docs-style-guide.md — binding terminology reference

Step 1: Detect what changed

bash
1git diff main...HEAD --name-only

Map changes to affected docs:

Source fileAffected doc pages
src/edictum/pipeline.py, contracts.pyconcepts/how-it-works.md, architecture.md
src/edictum/yaml_engine/contracts/yaml-reference.md, contracts/operators.md
src/edictum/adapters/*.pycorresponding adapters/*.md page
src/edictum/session.py, limits.pyconcepts/contracts.md, architecture.md
src/edictum/audit.py, telemetry.pyaudit/sinks.md, audit/telemetry.md
src/edictum/cli/cli.md
src/edictum/envelope.pyconcepts/principals.md, architecture.md
pyproject.toml (version)install commands across docs
src/edictum/__init__.py (API)quickstart.md, all adapter pages

If no library code changed (docs-only PR), skip to Step 4.

Step 2: Read the changed code

For each changed file:

  1. Read the file and the diff (git diff main...HEAD -- <file>)
  2. Identify: new public APIs, changed signatures, new classes, removed exports, changed behavior

Step 3: Update affected docs

For each affected page:

  1. Read the current doc
  2. Skip if already correct
  3. Update code examples, descriptions, YAML examples
  4. Verify "When to use this" section exists (see .docs-style-guide.md page structure pattern step 3):
    • Every page MUST have a ## When to use this section after the opening/example and before the main content
    • If missing, add one with: 2-4 concrete scenarios (real situations, not abstract descriptions), user personas who benefit, and how this feature relates to other Edictum features
    • If new code adds a feature, update the scenarios to cover the new capability
    • Read the ACTUAL SOURCE CODE for the feature before writing scenarios — reference real method names, real classes, real behavior
  5. Verify terminology against .docs-style-guide.md:
    • "contracts" not "policies" or "rules"
    • Use denied (see .docs-style-guide.md for banned alternatives)
    • Use enforces (not "governs")
    • Use pipeline (not "engine")
    • Use tool call (not "function call")
    • Use adapter (not "integration" or "plugin")
    • Use observe mode (see .docs-style-guide.md for banned alternatives)
    • Use finding / findings (not "alert")
  6. Verify core vs server boundaries against CLAUDE.md:
    • All contract evaluation (pre, post, session, sandbox) is core
    • StdoutAuditSink, FileAuditSink, OTel are core
    • Production approval workflows (ServerApprovalBackend) require the server
    • Centralized audit dashboards require the server
    • Multi-process session tracking requires the server
    • MemoryBackend is the only local StorageBackend (no Redis/DB)
    • No references to dropped features or ee/ tier

Step 3.5: Update repo-level markdown files

These files live outside docs/ but track code changes:

  1. CHANGELOG.md — if the PR introduces user-visible changes (fixes, features, breaking changes), add an entry under the current version heading. Use the existing entry format. Keep descriptions neutral (no exploit details for security fixes).
  2. CLAUDE.md "What's Shipped" section — if this is a new version, add a one-line entry to the version history list matching the existing format.

Step 4: Update README if needed

If public API, install extras, framework support, or version changed:

  1. Read README.md
  2. Update affected sections
  3. Ensure README matches docs/index.md positioning

Step 5: Verify the build

bash
1python -m mkdocs build --strict 2>&1

Fix any broken links, missing pages, or YAML errors.

Step 6: Report

Summarize:

  • Which code files changed
  • Which doc pages were updated (and what changed)
  • Which doc pages were checked but needed no changes
  • Build verification result

Rules

  • Don't rewrite for the sake of rewriting. Only update what the code change actually affects.
  • Don't add features that don't exist. If code was added but not released, note it as unreleased.
  • Don't reference dropped features. No Redis/DB StorageBackend, no reset_session().
  • Preserve the voice. Match existing style — problem first, short paragraphs, code examples.
  • Check cross-links. Verify links in updated pages still work.
  • README and homepage must stay aligned. If you update one, check the other.

Related Skills

Looking for an alternative to update-docs or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication