What problem does it solve?
Keeps the Astro Starlight documentation site accurate and up to date by ensuring documentation content matches recent code changes, preventing stale or misleading docs for end users and developers.
Core Features & Use Cases
- Map code changes to documentation: Inspect changed controllers, models, routes, services, and assets and determine which MDX pages need updates.
- Source-driven updates: Read the actual source files and copy code examples and parameter tables directly from the codebase so docs reflect the truth.
- Project-aware MDX editing: Create or modify MDX pages in Spanish, update the docs sidebar (docs/astro.config.mjs), and embed screenshots when available.
- Verification: Run the docs build and require a zero-error build before finishing to prevent broken site deploys.
- Use case: After a feature branch adds a new controller and model, generate an end-user task guide in Spanish, add a technical reference entry collapsed in the sidebar, and rebuild the docs to confirm changes.
Quick Start
Run the update-docs skill with a description or list of changed files so it updates the relevant MDX pages in docs/src/content/docs/, adjusts the sidebar, and rebuilds the site.