kata-docs-serve

Serve local Markdown documentation with a hot-reloading MkDocs server.

Updated Sep 3, 2025
One-click install
npx skills add https://github.com/guardiatechnology/design-system --skill kata-docs-serve
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kata-docs-serve
Source: https://github.com/guardiatechnology/design-system/tree/main/.claude/skills/kata-docs-serve
Command: npx skills add https://github.com/guardiatechnology/design-system --skill kata-docs-serve

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you preview and navigate Markdown documentation locally by turning the docs/ directory into a searchable, browsable website.

Core Features & Use Cases

  • Installs and validates MkDocs: Checks that MkDocs is available and installs MkDocs Material when missing.
  • Resolves docs_dir automatically: Derives the correct docs directory from Ahrena directives (domain, oas, events) or uses docs/ as a safe default.
  • Bootstraps configuration when needed: Generates a minimal mkdocs.yml at the repo root if one does not exist, without overwriting existing configuration.
  • Runs hot-reloading preview: Starts a local server that refreshes when Markdown files change, supporting fast iteration during documentation development.
  • Use case: You are actively writing docs for a platform feature and want immediate feedback on sidebar navigation and search behavior without deploying to a hosted environment.

Quick Start

Run the kata to serve your local documentation with MkDocs, automatically using the correct docs_dir and generating mkdocs.yml if it is missing.

Frequently Asked Questions about kata-docs-serve

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

FAQPage Schema
How do I preview Markdown documentation locally with hot reload?

MkDocs serves Markdown documentation from a docs directory as a searchable, browsable website, providing immediate feedback on sidebar navigation and search behavior without deploying to a hosted environment.

How do I start a local MkDocs server for my static site?

To start a local MkDocs server, the tool resolves your docs directory, generates a minimal mkdocs.yml if absent, and runs mkdocs serve with a configurable host and port to serve the static site.

Do I need to install MkDocs Material manually before serving docs?

You do not need to install MkDocs Material manually; the tool checks for MkDocs availability and automatically installs the Material theme when it is missing from your environment.

Will generating mkdocs.yml overwrite my existing static site configuration?

Generating mkdocs.yml will not overwrite existing configuration; the tool only bootstraps a minimal configuration file at the repo root if one does not already exist.

Can I configure the host and port for the local documentation preview?

Yes, you can configure the host and port for the local documentation preview because the tool runs mkdocs serve with configurable host and port settings to support your local development workflow.