doc-and-modernize
하는 일
이 도구는 코드 프로젝트를 이해하고 정리하는 데 도움을 줍니다. 프로젝트 아키텍처에 대한 자세한 문서나 현대화 계획을 만들 수 있습니다.
사용하는 경우
- ✓새 프로젝트에 참여해 빠르게 이해해야 할 때.
- ✓기존 프로젝트의 구조를 문서로 남기고 싶을 때.
- ✓오래된 시스템을 업데이트하거나 다시 작성할 계획이 있을 때.
스킬 링크
https://github.com/github/awesome-copilot/blob/main/skills/doc-and-modernize/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 저장소의 아키텍처를 문서화하고, 현대화하는 방법을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 프로젝트 파일을 로컬에서 읽어 작동 방식을 파악합니다. 그런 다음 발견한 내용을 바탕으로 아키텍처 문서나 현대화 계획을 만듭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Documentation & Modernization
Two complementary workflows for a repository the user already has checked out locally, bundled as one skill:
- Documentation mode — produce one definitive, cited architecture document from the code on disk. Ideal for onboarding, system-design maps, or as the evidence base for a modernization effort.
- Modernization mode — turn that architecture into a phased, safety-laddered plan to upgrade, migrate, or rewrite a legacy system.
Mode selection
- If the user wants to understand, document, map, research, or onboard onto a codebase, run Documentation mode.
- If the user wants to modernize, migrate, upgrade, or rewrite a system, run Modernization mode. Modernization mode is self-sufficient: if no architecture document exists yet, it runs the Documentation mode workflow first (in the same pass), then continues straight through to the plan.
When in doubt, produce the architecture document first — it is the audited evidence base both modes rely on.
Documentation mode
Generate one definitive, cited architecture document for a repository the user already has checked out locally. The goal is a writeup someone could hand to a new engineer as their onboarding reference — broad enough to cover the whole system, deep enough on the hard parts to be useful, and trustworthy because every claim traces back to a file on disk.
Why local-first
Reading from the local checkout (not the GitHub API or the web) is the deliberate
default. It is faster, free, avoids rate limits, and — most importantly — it
describes the exact code in front of you rather than whatever main happens
to look like remotely. The one tradeoff is that remote-only facts (star counts,
full CI run history, sibling repos) aren't visible. That's fine: state those as
out-of-scope or mark them [UNVERIFIED] rather than guessing.
Local-first is not local-never-remote: a web/API lookup is a deliberate
last-resort fallback, reserved for a fact that genuinely cannot be determined
from disk and that materially matters to the document. When you do reach for it,
flag the result clearly (e.g. [UNVERIFIED] / sourced-remotely) so the reader
knows it didn't come from the checkout, and never let it become the easy path
that displaces reading the code on disk.
Workflow
- Establish identity first. Run
git remote -v,git branch --show-current, andgit log -1so the document is anchored to a specific remote, branch, and commit. A reader must be able to tell which snapshot this describes. Remote URLs can contain embedded credentials (e.g.https://<token>@github.com/...) — redact any credentials/tokens from the URL before recording it in the document. - Detect, don't assume. Read the real manifests (
go.mod,package.json,Cargo.toml,pyproject.toml,pom.xml, etc.), theMakefile/task runner, CI config, and any repo-specific agent or contributor docs (AGENTS.md,CONTRIBUTING,README,docs/). These are the source of truth for the tech stack and commands — prefer them over your prior knowledge of the framework. - Map breadth, then drill into depth. First build the whole-repo map (the three lenses below), then pick the 2-3 hardest subsystems and go deep on them.
- Verify as you go. Open the files you cite. If you reference a line number, you should have actually read that line. Unsupported claims are worse than omissions here — the whole value of this document is that it can be trusted.
Output structure
Produce a single Markdown file with the sections below, in this order. Adapt the headings to the actual project (a CLI tool has no "frontend" lens — fold that slot into whatever matters for that repo), but keep the three-lens shape and the verification discipline.
Part 1 — Whole-repo technical deep-dive
- What the repository is (one paragraph, cited to README).
- Tech-stack detection table: layer | technology | evidence (file+line).
- Entry points (backend, frontend, CLI — whatever applies).
- Commands & Verification Inventory — a table of the canonical project
commands (
command | purpose | evidence), verified against the task runner / manifests / CI config, not guessed. Cover build, run/serve, test (and how to run a single test), lint, format, and — where they exist — typecheck, end-to-end/smoke, contract, and any other gate commands, plus the CI
…
자주 묻는 질문
도구가 파일을 로컬에서 읽는 이유는 무엇인가요?
로컬에서 읽으면 더 빠르고, 사용 제한이 없으며, 문서가 온라인 버전이 아니라 가지고 있는 코드를 정확히 반영하기 때문입니다.
도구가 로컬 코드에 없는 정보가 필요하면 어떻게 되나요?
마지막 수단으로 온라인에서 정보를 가져올 수 있지만, 그럴 때는 항상 알려 주므로 정보의 출처를 알 수 있습니다.
문서화 모드와 현대화 모드는 어떻게 다른가요?
문서화 모드는 프로젝트의 자세한 지도를 만듭니다. 현대화 모드는 그 지도를 활용해 시스템을 업데이트하기 위한 단계별 계획을 만듭니다.
상세 정보
작성자의 원본 설명
Two related workflows for a locally-cloned codebase, in one skill. Documentation mode produces a single, comprehensive, verifiable architecture document primarily by reading files on disk (local-first) — use it whenever the user wants to understand, map, document, research, or onboard onto a codebase ("research this repo", "write up the architecture", "do an architecture deep dive", "document how
repo: github/awesome-copilot
인기도
- GitHub 스타
- 40k
- 순위
- #7174
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
acquire-codebase-knowledge
40k에이전트가 기존 코드 프로젝트를 이해하고 문서화하도록 돕습니다. 새 구성원을 맞이하거나 아키텍처를 개괄적으로 파악할 때 유용합니다.
acreadiness-assess
40k에이전트가 프로젝트의 AI 준비 상태를 평가하고 보고서를 만들도록 합니다. 프로젝트가 AI 도구를 쓸 준비가 얼마나 되어 있는지 이해하는 데 유용합니다.
acreadiness-generate-instructions
40k에이전트가 평가 결과를 바탕으로 AI 도구를 위한 지침을 만들도록 돕습니다. AI가 코드와 상호작용하는 방식을 개선하고 확인된 공백을 메울 때 유용합니다.
acreadiness-policy
40k에이전트가 AI 프로젝트 평가를 위한 정책을 정의하거나 적용하도록 돕습니다. 프로젝트 평가 방식을 표준화하고 규정 준수를 보장할 때 유용합니다.
비슷한 스킬
technical-documentation
394k에이전트가 명확한 기술 문서와 에이전트 지침 파일을 작성하고 검토하도록 도와, 사람과 AI 도구가 쉽게 따를 수 있게 합니다.
architecture-decision-records
280k에이전트가 프로젝트 구조에 관한 중요한 결정을 기록하도록 합니다. 선택의 이유를 이해하고 변경 이력을 명확히 유지하는 데 도움이 됩니다.
code-tour
280k에이전트가 정확한 파일과 줄 번호를 참조하는 단계별 코드 안내를 만들도록 합니다. 소개, 설명, 리뷰에 유용합니다.