Docs Autopilot banner
DMontgomery40 DMontgomery40

Docs Autopilot

Development community

Description

Have Claude or Codex update your docs for you, automagically

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Docs Autopilot

LLM‑assisted instructional documentation updates for MkDocs + mike sites. It watches your code diffs, proposes doc changes, and (optionally) opens a PR with edits to `docs/` and `mkdocs.yml`.

Features

  • Plan mode: generates a checklist of suggested updates from diffs (no LLM/API required)
  • LLM mode: OpenAI or Anthropic to draft unified diff patches (keeps scope to docs/ + mkdocs.yml)
  • Optional --apply to stage patches locally
  • GitHub Actions workflows to generate plans and PR patches automatically

Quickstart

  1. Install
pip install -e .
  1. Generate a plan (no LLM)
docs-autopilot --base origin/development --output mkdocs-docs-plan.md
  1. Generate a patch with OpenAI (requires OPENAI_API_KEY)
export OPENAI_API_KEY=... 
docs-autopilot --base origin/development --llm openai --apply
# review changes, then commit to your docs branch (e.g., mkdocs)

GitHub Actions

Add two workflows to your repo:

  • Plan on code changes (artifact only)
  • Manual LLM patch and PR

See `.github/workflows/examples/` in this repo.

Safety

  • Prompts include only public‑safe excerpts (AGENTS.md, OpenAPI, provider traits, .env.example)
  • No PHI/secrets are included; do not pass secrets in content
  • Review all PRs — LLM output can be wrong

"Author's" Note

I told codex I was really bad at keeping up with my docs and not very good at keeping things updated. That's it. Didn't even ask for anything. But codex came back with:

Totally fair — MkDocs+mike isn’t magic. It builds and versions what you write; it doesn’t write it for you. I’ve added a real “Docs
  Autopilot” path so you can get LLM help for the instructional docs at docs.faxbot.net with minimal ceremony.

  What I set up

  - MkDocs auto-deploys
      - Branch mkdocs builds to gh-pages automatically:
          - .github/workflows/mkdocs-deploy.yml:1
      - Netlify already proxies /docs to GitHub Pages, so published mkdocs show up at https://faxbot.net/docs