robertguss/claude-code-toolkit

doc-refresh

Refresh a repo's documentation for a live production system — audit stale docs, rebuild a focused doc set with diagrams, update AI-agent knowledge bases, and improve code-level docstrings

First seen Aug 14, 2026

Installation

$ npx skills add robertguss/claude-code-toolkit --skill doc-refresh

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from robertguss/claude-code-toolkit · top by installs.

npx skills add robertguss/claude-code-toolkit

Browse all from robertguss/claude-code-toolkit

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 113
License LICENSE.md
Default branch main
Open issues 1
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,803 B
  • docs SUMMARY.md 208 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Documentation Refresh Skill

Use this skill when asked to overhaul, refresh, modernize, or clean up a repository's documentation — especially for a system that is already in production and has accumulated stale README content, dead analysis docs, outdated AI-agent knowledge bases (AGENTS.md, CLAUDE.md, etc.), or misleading code comments.

This skill is repo-agnostic. It does not assume any particular language, framework, or doc tool. It encodes a phased process, a reusable checklist, and a set of anti-patterns learned from running this refresh on real production repos.

When to use this skill

  • The user says something like "our docs are out of date," "refresh the

README," "clean up AGENTS.md," "audit our documentation," or "set up a docs/ folder with architecture diagrams."

  • A repo has legacy analysis files, dead feature references, or docs that

no longer match the live code.

  • The user wants a repeatable framework they can reuse across repos.

How to use this skill

  1. Read CHECKLIST.md in this skill directory for the phase-by-phase

process (Phase 0 through Phase 6).

  1. Read ANTI-PATTERNS.md for common mistakes to avoid while auditing and

rewriting docs.

  1. Adapt the checklist to the target repo:

- Confirm with the user which phases apply (a small repo may not need every phase; a large one may want each phase in its own session to protect context windows). - Identify the repo's actual doc tooling (Markdown + Mermaid is the default assumption below, but adjust if the repo uses something else, e.g. Sphinx, Docusaurus, or a wiki-only workflow).

  1. Always produce (or update) a running "roadmap" file in the repo root

(e.g. DOCUMENTATION_ROADMAP.md) that captures the plan, audit findings, and a "Lessons Learned" scratchpad. This gives future sessions (human or agent) a clear handoff point and turns the current refresh into reusable material for the next one.

  1. At natural session boundaries, write or update a HANDOFF.md summarizing

what was done, what was verified, and exactly what the next session should do next. Treat this as mandatory when the work will span more than one session.

  1. Before declaring any phase complete, run the repo's actual lint/test

command (discover it from AGENTS.md, README.md, justfile, package.json, Makefile, or CI config) to make sure doc-only changes didn't break anything, and re-check for stale references introduced by the phase's own edits.

Core principles (apply unless the user overrides them)

  1. Repo docs are the source of truth. Any external wiki mirrors the

repo, never the reverse.

  1. Diagrams as code. Prefer Mermaid (or another text-based diagram

format already used in the repo) so diagrams stay version-controlled and diffable.

  1. Separate, focused guides over one monolithic doc. Split by audience

and purpose: architecture, data flow, developer onboarding, operations, deployment, etc.

  1. Delete stale docs outright rather than leaving them "for reference."

Git history is the archive.

  1. Update code-level docs (docstrings/comments) alongside Markdown.

A refreshed README next to a misleading docstring is a half-finished job.

  1. Phase the work and hand off explicitly. Long doc refreshes should be

broken into independently reviewable phases, each with its own commit(s) and a handoff note for whoever (or whatever) picks up next.

See CHECKLIST.md for the concrete phase breakdown and ANTI-PATTERNS.md for pitfalls to avoid.