For git repos in Claude Code: the agent that changes the code updates the docs in the same turn. Run /project-docs-setup once per repo to start.