Loading video...

Video Failed to Load

Go Home

Claude Code documentation agent keeps project docs up to date with Docusaurus. Created a Docusaurus site: npx create-docusaurus@latest my-docs classic Added the agent: npx claude-code-templates@latest --agent=documentation/docusaurus-expert --yes Then prompt: "Use docusaurus-expert to review that the documentation is correct and up-to-date" Now the docs stay synced with code changes. That’s...

68,628 views • 1 year ago •via X (Twitter)

15 Comments

Daniel San's profile picture
Daniel San1 year ago

Check the agent implementation here 👇

Jai Rod's profile picture
Jai Rod1 year ago

So the docusaurus agent generates your project's documentation?

Daniel San's profile picture
Daniel San1 year ago

Yes. Setup Docusaurus in your project, deploy to subdomain (like add the agent. Then: "Review staged changes and update Docusaurus docs." Agent analyzes code changes and updates documentation automatically. Works great with CI/CD pipelines too. Should I create a step-by-step guide for this? 😅

Jai Rod's profile picture
Jai Rod1 year ago

Lovely. Thank you for the tip.

Optimum Partners's profile picture
Optimum Partners1 year ago

Really like this workflow, docs that actually keep pace with code changes is such a pain point. This feels like the way documentation should work by default.

Mike Biglan's profile picture
Mike Biglan1 year ago

@Dovahkiin_69 How does it compare to context7?

Chris Wiles's profile picture
Chris Wiles1 year ago

nice was thinking of making a github action to do this when PRs were merged

HashRaX's profile picture
HashRaX1 year ago

auto patch + docs sync on merge sounds like black magic honestly

Lucien S Zuber's profile picture
Lucien S Zuber1 year ago

what did you use to make the video?

hmm's profile picture
hmm1 year ago

BS

Suhrab Khan⚡️'s profile picture
Suhrab Khan⚡️1 year ago

Doc sync with Docusaurus cuts drift! Claude Code shows agents can own real dev workflows.

Himanshu Kumar's profile picture
Himanshu Kumar1 year ago

Interesting. Automating documentation updates could streamline workflows and improve accuracy. This might free developers to focus on core coding tasks.

Amr Osama's profile picture
Amr Osama1 year ago

really interesting. wondering if there is a cursor replacement for this

Jon Dingman's profile picture
Jon Dingman1 year ago

Love this! Do you know if it has any compatibility/integration with SuperClaude?

NAITIVE's profile picture
NAITIVE1 year ago

Then you start thinking.. it generates its .TF, bicep, w/e, builds updates its own ci/cd pipeline, with a hook for a self iterative feedback looooooperrr

Related Videos

Three skills I use every day in Claude Code and Codex to solve my hardest problems: 1️⃣ /agent-watchdog When I have one agent like Codex working on a task and I don't fully trust it's going to do everything right, I'll open up another one like Claude Code and tell it to watchdog the Codex thread. You can copy the Codex deep link into Claude Code and it'll look at the prompt you sent, watch the Codex thread until it's done, then compare the Codex solution to how it was planning to solve it and automatically fix anything that Codex missed. It can also test the work of the other agent end-to-end. Similar to the idea of OpenRouter's new Fusion feature, I've definitely found that two models thinking through a problem and checking each other's work can be wildly more impactful than just one. 2️⃣ /plan-arbiter Similar ideas as /agent-watchdog - but with this one you have both make plans, compare plans, negotiate the differences, and make a final plan to execute. I find Claude Code is better at writing plans, but Codex is faster and cheaper to execute on them. Then I usually have Claude Code watchdog the Codex work and fix anything that was missed. 3️⃣ /read-the-damn-docs One thing that drives me crazy with coding agents is they're so reluctant to look up docs. They'll just guess and guess and guess at the right API surface for things, or the right solution to an integration of two things. Once I explicitly tell it to look up the docs, it says "Oh, I see the answer," and it fixes the problem. So I made the /read-the-damn-docs skill. Add it and your agents will know when and how to do efficient web searches to look up docs for the types of problems you really should look up docs for. All of these are totally open source over on my GitHub. If you try them, let me know your feedback. Will link to them below:

Steve (Builder.io)

43,089 views • 3 months ago