Skip to content
Skillpedia
Documentation81k · #1620

doc-gen

What it does

This skill creates and updates documentation for a project and checks for drift, which is when the written docs no longer match the code. It is for teams who want their docs to stay current.

When to use it

  • ✓When you ask for docs to be written or updated for your project.
  • ✓When you want to find out whether the documentation still matches the code.
  • ✓When you want documentation checked on a regular schedule.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-docs/skills/doc-gen/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-docs/skills/doc-gen/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Update the docs for my project and tell me where they no longer match the code.”

5 new skills a week. 1 minute to read.

How it works

The skill sends a documentation task to the Ruflo worker, which can work on the API docs or the full project. It compares the current code with the existing docs and can save its approach for later use.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Generate docs via MCP worker dispatch: mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch({ trigger: "document" })

For continuous doc maintenance via CronCreate: CronCreate({ schedule: "0 */2 * * *", prompt: "Run document worker" })

Detect drift by comparing current code against existing docs and flagging inconsistencies.

Scoped generation:

  • API docs: npx @claude-flow/cli@latest hooks worker dispatch --trigger document --context api
  • Full project: npx @claude-flow/cli@latest hooks worker dispatch --trigger document --context full

Store the approach: mcp__plugin_ruflo-core_ruflo__memory_store({ key: "doc-pattern", value: "APPROACH", namespace: "patterns" })

FAQ

Can it run on a schedule?

Yes. A recurring timer can run the documentation task, but it only runs while the session is open.

What is documentation drift?

It is when the written docs describe code that has since changed, so the two no longer agree.

Can I limit it to one part of the project?

Yes. You can limit the run to the API docs or choose the full project.

Details

Original description by the author

Generate and maintain documentation with drift detection. Use when the user asks to write/update/refresh docs, detect doc drift against code, or schedule recurring documentation maintenance.

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1620
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills