Community생산성 & 협업github.com

gener8v/gener8v.claude-skills.engineering - 문서 동기화

커밋 전에 변경 사항이 영향을 미친 모든 문서를 찾아 동일한 커밋에서 함께 업데이트하거나, 문서 변경이 필요하지 않음을 한 줄로 확인합니다. 오래된 텍스트, 누락된 문서, 두 곳에 있는 사실을 찾아냅니다. 커밋이나 PR 전, 그리고 '문서가 최신인가요?', '이 변경 사항에 맞게 문서를 업데이트해주세요', 'README 변경을 놓쳤나요?' 같은 질문을 받을 때 사용하세요. 문서 세트를 만들거나 큰 간격을 채우는 용도(documentation-bootstrap)가 아니며, 파이프라인 스킬이 관리하는 .gener8v/ 아래의 gener8v 파이프라인 문서에도 사용하지 않습니다.

gener8v.claude-skills.engineering - 문서 동기화란 무엇인가요?

이 스킬은 코드와 문서를 항상 함께 업데이트하여 문서가 코드와 동기화된 상태를 유지하도록 설계되었습니다. 개발자가 커밋이나 PR을 생성하기 전에 이 스킬을 실행하면, 변경된 코드 영역을 분석하고 영향을 받은 문서를 식별한 후, 필요한 문서 업데이트를 같은 커밋에 포함시킵니다. 주요 기능으로는 오래된(stale) 텍스트 감지, 누락된(missing) 문서 식별, 그리고 중복된(duplicated) 사실의 일관성 유지가 있습니다. Claude CLI, Cursor, Codex 등 다양한 AI 에이전트 플랫폼에서 사용 가능하며, 저장소의 CLAUDE.md, CONTRIBUTING.md, docs/README.md 등에 정의된 규칙을 우선적으로 따릅니다. 이 스킬은 SPEC.md나 .gener8v/specifications/에 정의된 사양과의 충돌을 감지하면 사용자에게 알리고, 사양을 먼저 변경하도록 안내합니다. 파이프라인 문서(.gener8v/)는 수동으로 편집하지 않도록 주의하며, 관련 스킬로는 documentation-bootstrap, github-pr-merge, github-release 등이 있습니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/gener8v/gener8v.claude-skills.engineering/tree/HEAD/skills/documentation-sync

Installed? Explore more 생산성 & 협업 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

문서 동기화

코드와 그 문서는 같은 커밋에서 함께 변경되어야 합니다. 잘못된 문서는 문서가 없는 것보다 더 나쁩니다.

문서가 잘못되는 세 가지 방식

  • 오래됨. 문서가 여전히 이전 동작, 이름 또는 명령을 설명하고 있습니다.
  • 누락됨. 새로운 동작, 새로운 명령 또는 새로운 설정에 대한 문서가 없습니다.
  • 중복됨. 동일한 사실이 두 곳에 있습니다. 나중에 한 곳만 변경되고 다른 곳은 그대로 남습니다.

단계

  1. 변경 사항 확인.
    git diff --cached --stat
    git diff --stat
    
  2. 저장소 자체 규칙 찾기. CLAUDE.md, CONTRIBUTING.md 및 docs/README.md를 읽으세요. 어떤 주제를 어떤 문서가 담당하는지 명시되어 있다면 따르세요. 이 규칙들이 3단계보다 우선합니다.
  3. 각 변경 사항을 담당 문서로 연결. resources/doc-routing.md를 사용하세요. 하나의 사실은 하나의 문서에만 있어야 합니다. 다른 문서는 그 문서로 링크합니다.
  4. 오래된 참조 찾기. 이름을 바꾸거나 제거한 각 항목(함수, 플래그, 엔드포인트, 설정, 파일 경로, 명령)에 대해:
    git grep -n '<이전 이름>'
    
    문서에서 찾은 각 항목을 수정하세요. grep을 다시 실행하세요. 사후 조건은: 결과 없음, 또는 반드시 남아 있어야 하는 결과만 남음 (예: 이름 변경에 대한 CHANGELOG 항목).
  5. 편집. 코드 변경으로 인해 잘못되거나 불완전해진 부분만 변경하세요. 관련 없는 섹션을 다시 작성하지 마세요. 명확한 문장을 위해 simple-english 스킬이 설치되어 있다면 사용하세요.
  6. 함께 커밋. 문서 변경 사항을 코드와 함께 스테이징하세요. 나중에 별도 PR로 넣지 마세요.
  7. 보고. 변경한 문서 목록을 알려주세요. 변경이 필요하지 않은 문서가 있다면 한 줄로 이유와 함께 말하세요. 예: "문서 불필요: 내부 리팩터링, 동작, 명령 또는 설정에 변경 없음."

담당 문서가 명확하지 않을 때

사용자에게 물어보세요. 질문을 피하기 위해 새 문서를 만들지 마세요.

유용한 테스트: 현재 상태에 대한 사실(설정, 버전, 상태)입니까? 그렇다면 참조 또는 상태 문서에 넣으세요. 절차(누군가 따라야 할 단계)입니까? 그렇다면 해당 절차를 담당하는 가이드, 런북 또는 스킬에 넣으세요.

사양이 먼저입니다

저장소에 SPEC.md(engineering:spec-writing 참조) 또는 .gener8v/specifications/ 아래 gener8v 사양이 있다면, 이는 의도된 동작을 정의합니다.

  • 변경 사항이 사양대로라면, 사양을 편집할 필요가 없습니다.
  • 변경 사항이 사양과 모순된다면, 멈추세요. 사용자에게 알리세요. 먼저 사양을 소유자를 통해 변경하세요: SPEC.md는 engineering:spec-writing에, 파이프라인 사양은 gener8v:specification에 문의하세요. 코드에 맞추어 사양을 조용히 편집하지 마세요.

파이프라인 문서

.gener8v/ 아래 파일을 수동으로 편집하지 마세요. gener8v 파이프라인 스킬이 이를 작성하고 업데이트합니다.

관련 스킬

  • engineering:documentation-bootstrap: 문단 하나가 아닌 전체 문서가 누락된 경우.
  • engineering:github-pr-merge: PR 전에 이 검사를 실행합니다.
  • engineering:github-release: 이 스킬이 최신 상태로 유지하는 CHANGELOG Unreleased 섹션을 읽습니다.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

gener8v/gener8v.claude-skills.engineering

Find and run a project's test, lint, type-check, build and dev-server commands, read the results correctly, and seed a throwaway database when UI work needs realistic data. Never seeds the project's real or default database. Use before 'run the tests', 'lint this', 'does it build', 'start the app so I can see it', 'seed some demo data', and before you claim that a change works. Not for deployment or CI pipeline design; use the project's own deploy tooling for those.

gener8v/gener8v.claude-skills.engineering

Create or top up a project's documentation set: list what exists, let the user choose which document types to add, collect one shared fact sheet from the code, write the documents (in parallel when there are several), then check them against each other and against the code. Use when asked to 'bootstrap the docs', 'start the documentation', 'we have no README or ARCHITECTURE', or 'fill in the missing docs'. Not for the per-commit update of existing documents (documentation-sync), and not for gener8v pipeline documents (gener8v:brownfield and gener8v:planning make those).

gener8v/gener8v.claude-skills.engineering

Put work on the correct branch before the first edit. Finds the base branch, starts a well-named branch from the current remote tip, and sets up one worktree per agent for parallel work. Use at the start of any change to a tracked file, such as 'start on issue 42', 'fix this typo', 'set up branches for these three tickets', or before you start sub-agents that edit code. Not for opening or merging a PR (github-pr-merge) or for history rewrites and other risky git commands (git-safety).

gener8v/gener8v.claude-skills.engineering

Approval gate for git commands that destroy work or skip checks: force-push, --no-verify, signing bypass, reset --hard, clean -f, discarding uncommitted edits, branch or tag deletion, rewriting pushed commits and push --mirror. Each one needs the user's explicit approval at that moment; an earlier approval never carries over. Also covers a secrets check before a commit and what to do when a secret is already committed. Use before any of these commands, or when asked to 'force push', 'skip the hooks', 'throw away my changes' or 'delete that branch'. Not for normal branching (git-branching) or the PR flow (github-pr-merge).

관련 스킬