Auto-Fix Broken Links in Your Docs With Jamdesk Jamdesk added an Auto-fix mode to its AI Fixes feature that commits repairs for broken anchor links, missing page titles and missing page descriptions to a docs branch after each build, with every run reversible via an Undo button in Build History. The mode is enabled in Settings or through the `jamdesk ai-fix auto` command added in CLI 1.1.229, and Jamdesk never auto-fixes the build its own commit started, so the process cannot loop. Each run produces one commit authored by autofix@jamdesk.com with the message `docs: auto-fix N issues (via Jamdesk)`, and undone fixes are added to an ignore list; `jamdesk fix --json` lets Claude Code or another agent apply the link and description fixes instead. Auto-Fix Broken Links in Your Docs With Jamdesk Jamdesk can now fix your docs build warnings for you. Set AI Fixes to Auto-fix , and after each build Jamdesk commits fixes for broken anchor links, missing page titles and missing page descriptions to your docs branch. Every run has an Undo button, and nothing changes until you switch it on. The Short Version - Auto-fix commits three kinds of fix https://www.jamdesk.com/docs/builds/fix-with-ai?utm source=blog&utm medium=article&utm campaign=fix-broken-links-documentation-ai what-it-fixes after each build: broken anchor links, missing titles and missing descriptions. - You turn it on in Settings or with jamdesk ai-fix auto , added in CLI 1.1.229. - Each run can be undone from Build History, and an undone fix goes on your ignore list so it doesn’t come back. - Jamdesk never auto-fixes the build its own commit started, so it can’t loop. - If you’d rather have Claude Code or another agent apply them, jamdesk fix --json https://www.jamdesk.com/docs/cli/fix-broken-links?utm source=blog&utm medium=article&utm campaign=fix-broken-links-documentation-ai use-with-an-ai-agent gives it the link and description fixes. You rename a heading, push, and the next build warns you about three anchor links links to a heading on another page that now point nowhere. Until now, you fixed them by opening the Fix with AI modal, reading the list and clicking Apply . Jamdesk can now make that commit on its own, and I’ll show what it changes and how to take a run back. How Do You Turn On Auto-Fix? Open your project, click Settings in the sidebar, and pick a mode on the AI Fixes card under General . Auto-fix starts with the next build after you save. | Mode | What happens | |---|---| | Off | Jamdesk doesn't scan builds. The Fix with AI button is hidden. | | Review first | Jamdesk suggests fixes. You review and apply them in the modal. This is the default. | | Auto-fix | Jamdesk commits fixes after each build. You can undo each run. | Auto-fix applies the same fixes as the modal, AI-written page descriptions included, and skips anything you’ve ignored. Each description also becomes the line next to its page in your llms.txt , which is what an agent reads to pick a page. I wrote more about that in Designing Docs for AI Agents https://www.jamdesk.com/blog/designing-docs-for-ai-agents?utm source=blog&utm medium=article&utm campaign=fix-broken-links-documentation-ai . From the terminal, CLI 1.1.229 adds jamdesk ai-fix . Run it with no argument to see the current setting, or pass off , review or auto : npm install -g jamdesk jamdesk ai-fix auto ✓ AI Fixes set to Auto-fix Jamdesk commits fixes to main after the next build. Pull before you push. Undo runs from the dashboard. Run jamdesk login first. The command uses the projectId in your docs.json , or the project you pass with --project