본문으로 건너뛰기
Skillpedia
문서화103k · #796

doc-maintenance

하는 일

최근 코드 변경에 맞춰 프로젝트 문서를 최신으로 유지하도록 돕습니다. 문서가 프로그램의 실제 동작을 더 이상 반영하지 않을 때 이를 찾아, 필요한 수정을 제안하거나 직접 수행합니다.

사용하는 경우

  • ✓프로젝트 코드가 업데이트되어 문서가 오래되었을 수 있을 때.
  • ✓문서가 정확한지 확인하기 위해 새 프로젝트 버전을 출시하기 전.
  • ✓잘못된 문서 정보 때문에 버그가 생겼을 때.

스킬 링크

https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/docs/doc-maintenance/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/docs/doc-maintenance/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“프로젝트 X의 문서가 최신 코드 변경과 맞도록 유지해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 최근 코드와 기존 문서를 비교해 불일치를 찾습니다. 그다음 영향을 받은 페이지를 현재 코드 동작에 맞게 업데이트하며, 이미 맞는 내용은 다시 쓰지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Doc Maintenance

Keep the documentation honest with minimum churn. The goal is alignment between docs and behavior, not stylistic rewrites or cosmetic re-organization. Reviewers should be able to read a diff and see "this updates docs to match recent behavior changes".

When to use

  • A PR or recent set of merges changed user-visible behavior: CLI flags, API shapes, default values, configuration keys, endpoints, environment variables, supported versions.
  • A user-reported bug traced back to outdated documentation.
  • A release is being cut and the docs need a pass against the merged commits.
  • A new feature shipped but only the engineer's PR description describes how to use it.

When not to use

  • The change is internal-only (private helper rename, refactor) with no user-visible impact.
  • You want to "improve the docs" without a behavior anchor. That is a separate scoped project, not maintenance — make a plan first.

The pass

  1. Establish the baseline. Get the commit range you are documenting against (since last release tag, since last merged-doc commit, or since a specific PR).
  2. Enumerate user-visible changes. Read commits and PR descriptions. List, for each change, what a user can now do differently.
  3. Map changes to docs. For each change, find every page that mentions the affected concept. Common targets: README, CLI reference, API reference, configuration reference, migration guide, FAQ, examples.
  4. Update precisely. Edit only the lines that need to change. Do not rewrap paragraphs you did not modify — it pollutes the diff.
  5. Add new entries where needed. New CLI flag → CLI reference entry. New env var → configuration reference entry. New endpoint → API reference entry. Don't only add it to the changelog.
  6. Update examples and snippets. Code blocks in docs are wrong faster than prose. Re-run any example that touches new behavior.
  7. Write the release note. One sentence per user-visible change. Group by Added / Changed / Fixed / Deprecated / Removed. Link to the relevant PRs and docs section.
  8. Cross-check. Search the docs for the old behavior wording and remove or update stragglers.

Style baseline

  • Voice: second person ("you can pass --json to ..."). Avoid "we" except in narrative pages.
  • Tense: present, not future. The behavior exists once shipped.
  • Headings: imperative ("Configure the cache") or noun-phrase ("Cache configuration"), match the surrounding page.
  • Code blocks: include the language tag so syntax highlighting works.
  • Cross-links: link the first mention of a concept on each page; do not link every occurrence.
  • Avoid promising future behavior. If something is unreleased, mark it experimental or omit it.

Drift detection

A doc page is drifting if any of these are true:

  • It documents a flag, key, or endpoint that no longer exists.
  • An example does not run as written.
  • A default value in the docs does not match the code.
  • A supported-versions list excludes a version the project actually supports, or includes one it dropped.
  • A "Coming soon" section references a feature that shipped or was cancelled.

When you find drift, fix it in the same pass and note it in the release note's Fixed group.

Release-note rules

  • One sentence per item. If two sentences are needed, the item is likely two items.
  • User impact first, internal cause second. Faster cold start (avoid full bundle download on first run) beats Refactor bootstrap loader.
  • Link the PR for engineering readers and the docs page for users.
  • Mark breaking changes explicitly: **Breaking:** prefix. Include migration steps inline or via link.

Anti-patterns

  • Massive doc PRs that bundle stylistic rewrites with real updates. Reviewers cannot tell which lines reflect actual behavior changes.
  • "Updated docs" commit messages with no detail. Make the commit say what changed and why.
  • Adding to the changelog without updating the reference docs the changelog points to.
  • Marking a feature as available before its code lands. Documentation must follow behavior, not promise it.
자주 묻는 질문

문서의 'drift'란 무엇인가요?

문서가 실제 코드 동작을 더 이상 반영하지 않을 때 생기는 차이입니다. 예를 들어 제거된 함수를 문서화하거나, 바뀐 기본값을 그대로 적어 두는 경우입니다.

문서 전체를 다시 써야 하나요?

아니요. 목표는 코드 변경 때문에 틀리거나 오래된 부분만 업데이트하는 것입니다. 영향을 받지 않은 부분은 바꿀 필요가 없습니다.

도구가 릴리스 노트를 작성하나요?

네, 사용자에게 보이는 변경 사항을 요약하고 문서 업데이트 내용을 적어 간결한 릴리스 노트를 만드는 데 도움을 줄 수 있습니다.

상세 정보

작성자의 원본 설명

Keep project docs aligned with recent code and feature changes — detect drift, update affected pages, and add release-relevant notes without rewriting unchanged sections.

repo: paperclipai/paperclip

인기도

GitHub 스타
103k
순위
#796
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬