Skip to main content
Moxie Docs

The Moxie Docs blog

Notes on documentation, codebases, and keeping context current.

Practical writing on keeping documentation in sync with the code, onboarding engineers faster, and giving AI agents context they can trust.

Featured Post
12 min read

CLAUDE.md Repository Instructions for Bug Fixes

Use CLAUDE.md repository instructions to keep bug fixes scoped, define approval boundaries, and give reviewers a clear account of changes.

claude-mdclaude-coderepository-instructions
Read post
12 min read

AGENTS.md Testing Before You Trust a Change

Use AGENTS.md testing to check instruction changes with isolated tasks, observable outcomes, and a repeatable review process.

  • agents.md
  • coding-agents
  • repository-instructions
  • +1
13 min read

MCP Server for Documentation You Can Verify

Choose an MCP server for documentation with a scope comparison, retrieval requirements, and repository tests you can run before trusting its answers.

  • mcp
  • documentation
  • github
  • +1
12 min read

GitHub Documentation Automation With Actions

Set up GitHub documentation automation with clear generation, validation, and publishing jobs, plus a practical Actions example.

  • github
  • documentation
  • github-actions
  • +1
12 min read

Documentation Drift Detection: CI Checklist

Documentation drift detection starts with evidence: use this CI checklist to connect code changes to doc claims, triage findings, and review fixes.

  • documentation-drift
  • github
  • docs-as-code
  • +2
12 min read

Living Codebase Documentation: A Freshness Test

Test living codebase documentation with a claim-to-source map, merge checks, and a practical way to catch stale human docs and agent context.

  • living-documentation
  • documentation-drift
  • github
  • +2
12 min read

CLAUDE.md Docs: A Drift-Detection Checklist

Keep CLAUDE.md instructions accurate with source checks, documentation drift detection, and a reviewable GitHub workflow.

  • claude-md
  • documentation-drift
  • docs-as-code
  • +2
15 min read

How to Review AI-Generated Documentation: Catching the Page That's Almost Right

AI-generated documentation reads fluently whether it's true or not. A practical review pass for docs generated from code: the failure modes worth checking, the claims to verify first, scripts that catch the mechanical errors, and how to stop correct docs from going wrong after you approve them.

  • documentation
  • ai-agents
  • developer-tools
  • +1
18 min read

Runbook Template: Copy-Paste Markdown and 3 Examples

Free DevOps runbook template in Markdown, three worked examples (service restart, database failover, on-call incident), and how to keep runbooks current.

  • documentation
  • developer-experience
  • engineering-management
13 min read

How to Write a CONTRIBUTING.md: A Guide Humans and Coding Agents Actually Follow

Most CONTRIBUTING.md files are either a code of conduct with a link to the issue tracker or a wall of process nobody reads. A practical guide to writing one that gets a first pull request merged: what goes in it, what to leave out, how it fits next to AGENTS.md, and how to keep it true.

  • documentation
  • developer-experience
  • ai-agents
13 min read

How to Write a Pull Request Description: A Template Reviewers and Agents Can Both Use

Most pull request descriptions restate the title or the prompt. A practical guide to writing PR descriptions that speed up review and survive in git history: what to include, a copy-paste GitHub template, examples, and how to keep agent-written descriptions honest.

  • documentation
  • developer-experience
  • engineering-management
  • +1
10 min read

Documenting APIs for AI Agents: OpenAPI, llms.txt, and MCP, and When Each One Matters

AI agents now read your API docs before developers do. What OpenAPI, llms.txt, Markdown pages, and an MCP server each give an agent, which one to build first, how to write descriptions an agent can act on, and how to keep all of them in sync with the code.

  • documentation
  • ai-agents
  • mcp
  • +1
13 min read

llms.txt Explained: How to Write, Validate, and Keep One Accurate

llms.txt is a small Markdown file that tells AI agents which pages on your site matter. What the v2 spec requires, a worked example, the mistakes validators catch, how to serve it, and why the file quietly goes stale.

  • documentation
  • ai-agents
  • developer-tools
10 min read

AGENTS.md and CLAUDE.md in a Monorepo: Where Instruction Files Go and Which One Wins

Coding agents resolve nested instruction files differently: AGENTS.md uses the closest file, Claude Code stacks every CLAUDE.md from the root down. How to lay out instruction files in a monorepo, what goes at each level, and how to stop them contradicting each other.

  • ai-agents
  • claude-code
  • developer-experience
  • +1
13 min read

Docs as Code on GitHub: A Workflow That Keeps Docs in the Pull Request

Docs as code means writing documentation with the same tools and review process as code. A practical GitHub workflow: repo layout, the CI checks worth running, a docs-required gate, and the gap none of them close — docs that are reviewed but no longer true.

  • documentation
  • developer-tools
  • developer-experience
  • +1
14 min read

Reviewing AI-Generated Pull Requests: What Changes When the Author Is an Agent

Agents write code faster than teams can review it, and agent PRs fail differently than human ones. A practical guide to reviewing AI-generated pull requests: the failure modes worth your attention, a review order that catches them, and how to move the work earlier so less of it lands on a human.

  • ai-agents
  • developer-tools
  • engineering-management
  • +1
13 min read

Context Engineering for Coding Agents: A Field Guide

Coding agents fail on context, not capability. A practical guide to context engineering for a real repository: the four layers, a token budget you can reason about, how to diagnose which layer is failing, and how to keep it from going stale.

  • ai-agents
  • developer-tools
  • documentation
  • +1
6 min read

Claude Skills vs. MCP Servers: How to Give a Coding Agent Repository Context

Skills, MCP servers, and CLAUDE.md all load context into a coding agent, but they are not interchangeable. A decision guide to picking the right one - static procedure vs. live data - without bloating the context window or shipping stale answers.

  • claude-code
  • mcp
  • ai-agents
  • +1
MoxieDocs vs DeepDocs: Which Fits Lean Startup Teams Better?
6 min read

MoxieDocs vs DeepDocs: Which Fits Lean Startup Teams Better?

Struggling to keep docs up-to-date with a tiny team? Compare MoxieDocs and DeepDocs to see which AI docs generator saves your engineers time without sacrificing clarity—so you can ship faster.

GitHub Documentation: 7 Tips for Better README Files
6 min read

GitHub Documentation: 7 Tips for Better README Files

Your README is the first impression for contributors and users. Discover 7 actionable tips to make it clear, engaging, and functional—boosting adoption and collaboration on your project.

What Is an Architecture Decision Record? A Complete Guide
5 min read

What Is an Architecture Decision Record? A Complete Guide

An Architecture Decision Record (ADR) clarifies key technical choices for engineering teams. Learn how to document decisions that shape your system’s future—without endless meetings.

4 min read

Introducing Free: See Moxie Docs Work on Your Own Repo, No Card Required

Moxie Docs now has a permanent Free plan: connect one repository, no credit card required ever, and see real generated docs, search, and live MCP context on your own code.

  • product
  • announcement
  • developer-experience
  • +1
8 MCP Documentation Servers to Speed Up Setup
15 min read

8 MCP Documentation Servers to Speed Up Setup

Discover 8 MCP documentation servers that streamline setup for developers, AI tool builders, and technical teams. Improve efficiency with targeted solutions for coding assistants.

12 min read

Documentation Debt: How to Measure It, Track It, and Pay It Down

Documentation debt compounds like tech debt but almost nobody tracks it. Learn where it comes from, how to score it, and how to set up a ratchet that keeps docs from rotting again.

  • documentation
  • developer-experience
  • engineering-management
7 AI Code Conventions That Keep Models and Teams Aligned
12 min read

7 AI Code Conventions That Keep Models and Teams Aligned

Discover essential AI code conventions that ensure models and development teams stay aligned, improving efficiency and consistency across AI projects. Practical strategies for engineering leaders and teams adopting AI.

9 min read

MCP Security Risks Explained: Tool Poisoning, Confused Deputies, and the Lethal Trifecta

MCP servers introduce a new attack surface: tool poisoning, rug pulls, confused deputy, and the lethal trifecta. What is real, and how to mitigate it.

  • mcp
  • ai-agents
  • security
  • +1
3 min read

Best ADR Tools: Managing Architecture Decision Records

Explore the best ADR tools to manage Architecture Decision Records. Compare ADR-Tools CLI, Log4brains, and Moxie Docs, and get a free Markdown ADR template.

  • architecture
  • documentation
  • developer-tools
3 min read

Building an Enhanced MCP Feedback Loop for Coding Agents

Learn how to build an enhanced MCP feedback loop for coding agents. Practical guide to integrating automated testing, linting, and self-correction via MCP servers.

  • mcp
  • ai-agents
  • developer-tools
8 min read

How to Write the Perfect CLAUDE.md File for Claude Code

Claude Code relies on a CLAUDE.md file for instructions on build, test, and style conventions. Learn how to write, structure, and maintain a perfect CLAUDE.md that keeps your AI agent on track.

  • claude-code
  • ai-agents
  • developer-tools
  • +1
12 min read

Answer Engine Optimization for Developer Docs: How to Get Cited by AI Assistants

Developers now ask AI assistants before they read your docs. Learn how answer engine optimization (AEO) works for documentation: llms.txt, answer-first writing, stable URLs, and why accuracy is the real ranking factor.

  • documentation
  • ai-agents
  • industry-trends
9 min read

Mermaid Diagrams for Developers: Examples, Syntax, and a Free Live Editor

Learn Mermaid diagram syntax with live flowchart, sequence, ER, class, and state examples. Paste into a free browser Mermaid live editor for instant preview, shareable links, and SVG/PNG export.

  • mermaid
  • documentation
  • developer-tools
  • +1
GitHub Copilot Release Notes 2026: What Changed and What It Means for Docs
5 min read

GitHub Copilot Release Notes 2026: What Changed and What It Means for Docs

GitHub Copilot release notes for 2026: the 1M-token context window, reasoning levels in VS Code, the CLI and code review, and what changes for your docs.

  • ai-agents
  • developer-experience
  • documentation
The Best AI Documentation Tools and Platforms in 2026
12 min read

The Best AI Documentation Tools and Platforms in 2026

Compare 9 AI documentation platforms: Moxie Docs, Mintlify, GitBook, Dosu, DeepWiki, and more, on pricing, MCP support, and keeping docs current.

  • industry-trends
  • documentation
5 min read

How We Dogfood a Continuous Documentation Workflow to Keep Code, Docs, and AI in Sync

Inside Moxie Docs' own continuous documentation workflow: how we keep code, docs, and AI agent context in sync automatically, and the setup that speeds onboarding.

  • documentation
  • developer-experience
  • engineering-management
5 min read

Stop Writing Novels in Your Wiki: A Minimal Internal Developer Documentation Template That Survives Change

Why wiki pages rot in fast codebases and how a lightweight, git-backed internal developer documentation template keeps docs accurate without busywork.

  • documentation
  • developer-experience
  • engineering-management

Put your own repo on the same footing.

Connect a GitHub repository and get searchable docs, MCP-ready context, and Cleanup PRs that keep it all current.

Connect GitHub