Đang tải…
Đang tải…
Keeps documentation aligned with the current codebase and opens a reviewable pull request on every pass.
npx claude-code-templates@latest --loop engineering/docs-sweep-loopLoop Engineering — instead of prompting the agent by hand, you define a recurring goal and let Claude observe, plan, act and verify until a stop condition is true. This loop keeps documentation continuously in sync with the code.
Keep the project's documentation accurate and complete as the codebase changes, and surface every update as a small, reviewable pull request rather than a giant batch.
Suggested interval: 30m (or run after each merge to main).
/loop 30m "Compare the docs against the current code. Find any public API, CLI flag, config option, or behavior that changed or is undocumented. Update the docs to match, then open a focused PR. Continue until docs and code fully agree."
documentation-engineer agent and /update-docs./create-pr. Otherwise fix and repeat.All public surfaces are documented, examples compile, links resolve, and the docs build is warning-free.
agent:documentation/documentation-engineer — drives the doc edits.command:documentation/update-docs — refreshes generated docs.command:git-workflow/create-pr — opens the reviewable PR.After a release that renamed three CLI flags, the loop detects the drift, rewrites the affected pages and examples, verifies the build, and opens docs: sync CLI flag renames for review.