What problem does it solve?
Python code changes often leave Mintlify documentation stale, and manually tracking which .mdx files reference which source modules is error-prone. This Skill identifies impacted docs via doc_code_map frontmatter and updates only the outdated sections.
Core Features & Use Cases
- Impact Detection: Maps changed Python files to affected .mdx documents using the doc_code_map frontmatter and the doc_code_map.py utility.
- Minimal In-Place Edits: Updates only outdated prose, code snippets, imports, and API references while preserving frontmatter, structure, and Mintlify components like Card, Accordion, Tab, and CodeGroup.
- CI Automation: Ships with an auto_sync_docs_with_chatagent.py script and a GitHub Actions workflow that runs on each release and opens a PR with doc updates.
- Use Case: After a PR modifies camel/toolkits/mcp_toolkit.py, run the impact command to find the affected MCP Toolkit doc and let the agent rewrite only the sections that no longer match the code.
Quick Start
Ask the agent to sync the Mintlify docs impacted by your recently changed Python files using the doc_code_map impact command.