Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

doc-and-modernize

Skill by github

Documents a locally cloned codebase and plans its modernization. Built for engineers who need to onboard, map a system, or plan a migration off a legacy stack.

  • Score 94
  • 42k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install doc-and-modernize

Built from the published package, never by AI.

git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-copilot/skills/doc-and-modernize ~/.claude/skills/doc-and-modernize

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install doc-and-modernize in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Doc-and-modernize is an agent skill with two workflows for a repository already checked out on disk. Documentation mode reads the local files and produces one architecture document. Each claim cites a file path and line number, and uncertain claims are marked INFERRED or UNVERIFIED. The document covers the tech stack, canonical commands, CI, the deployment and runtime surface, and the hardest subsystems.

Modernization mode turns that architecture into a phased plan to upgrade, migrate, or rewrite a legacy system. It assumes the legacy stack may be dead, runs a time-boxed feasibility spike, and picks the highest achievable rung on a safety ladder. If no architecture document exists yet, it creates one first in the same pass. It suits engineers who need onboarding material or a migration plan.

Written from the project's SKILL.md and checked against it.

What it can do

  • Architecture documentProduces one cited architecture document from the local checkout.
  • Commands inventoryLists canonical build, test, and lint commands verified against manifests and CI.
  • Deployment surfaceRecords pinned runtime and base image versions and flags drift between build and run.
  • EOL dependency scanFlags end-of-life, unmaintained, or removed frameworks, runtimes, and libraries.
  • Subsystem deep-divesExplains the 2-3 most complex subsystems with file and line citations.
  • Modernization planGenerates a phased plan to upgrade, migrate, or rewrite a legacy system.
  • Feasibility spikeRuns a time-boxed feasibility check before the plan is written.
  • Safety ladderPicks the highest achievable rung instead of requiring a fully green legacy CI gate.

What you need

  • A locally checked out Git repository
  • Git, since the workflow runs git remote, git branch, and git log

Try asking

  • Research this repo and write up the architecture with file citations
  • Plan the migration of this legacy system in phases
  • Create an onboarding doc for this codebase

Good to know

  • CI enforcement usually cannot be determined from the local checkout alone.
  • Remote-only facts such as star counts and full CI run history are not visible locally.
  • Remote lookups are a last resort and are flagged as unverified.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/doc-and-modernize/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md49 KB
  • references/copilot-instructions.template.md8 KB
  • references/migration-hazards.md14 KB

Alternatives to doc-and-modernize

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

doc-and-modernize: common questions

Does it need GitHub API access to document a repo?

No. Documentation mode is local-first and reads files on disk. Web or API lookups are a last-resort fallback for facts that cannot be found on disk.

Will it write a migration plan if there is no architecture document?

Yes. Modernization mode runs Documentation mode first in the same pass, then continues straight through to the plan.

How does it keep the architecture document trustworthy?

It cites local file paths and line numbers and marks uncertain claims as INFERRED or UNVERIFIED. Contradictions between sources are resolved and labeled.

How do I install doc-and-modernize?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is doc-and-modernize free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is doc-and-modernize safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to doc-and-modernize?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

doc-and-modernize Install

Add to stack

Loading.