egm-drift-report
하는 일
이 스킬은 설계 문서를 실제 코드와 비교하고 그 차이를 나열합니다. 문서가 소프트웨어를 따라가지 못했을 수 있는 팀을 위한 것입니다.
사용하는 경우
- ✓코드가 설계 문서와 더 이상 맞지 않는다고 의심될 때.
- ✓폴더의 모든 설계 문서나 README를 일관성 있게 확인하고 싶을 때.
- ✓문서에는 있지만 코드에는 없는 기능 목록이 필요한 경우.
스킬 링크
https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-drift-report/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“문서 폴더의 설계 문서를 모두 코드와 대조해서, 어디가 더 이상 맞지 않는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 각 설계 문서를 나열하고, 일치하는 소스 파일을 찾고, 현재 코드를 읽어 둘을 비교합니다. 빠진 기능, 바뀐 동작, 기타 차이를 보고서에 기록합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Detect Drift In Designs and Code
When running in Codex or ChatGPT Work, first read Codex integration.
In Claude Code or Cowork, read ${CLAUDE_PLUGIN_ROOT}/docs/claude.md first.
When the user asks to detect drift across all designs or a set of READMEs, the goal is to identify all instances where the codebase has diverged or failed to implement the specifications described by those designs or READMEs.
Check Input: Verify a directory containing design documents or READMEs is provided. If not provided, ask the user to specify the target directory.
List Documents: List all files in the design directory.
Analyze: For EACH design document:
- Contextualize: Read the design document. Identify the intent, proposed changes, and specific filenames/symbols mentioned.
- Locate Source: Find the corresponding source code files in the source tree. If paths aren't explicit, use code search or grep to locate the relevant classes, functions, or API endpoints mentioned in the doc. Prompt the user to add missing links to the document to make future detection cheaper.
- Verify: Read the current state of those source files.
- Detect Drift: Compare the design vs. reality. Look specifically for:
- Missing Features: Logic described in the doc but absent in the code.
- Incomplete Models: Dataclasses/Classes/Structs/Protos missing fields specified in the design.
- Logic Shortcuts: Hardcoded values where dynamic logic was planned.
- Architectural Divergence: Implementation using different patterns/libraries than proposed.
- Filter: Report ONLY the differences. Do not describe what is working or what matches. If the code matches the design perfectly, output "No drift detected."
Report: Produce a single report listing all discrepancies found.
Append the analysis for each file to
{YYYY-MM-DD}_DRIFT_REPORT.mdusing your file-writing tool.Strict Format:
## <DESIGN_DOC_NAME> <Bulleted list of specific divergences found> <Or "No drift detected">
Guidance
- Be rigorous. If a design doc mentions a specific object, field or file name and the code doesn't have it, that is a reportable drift. Double check for coverage. If there is some part of the logic that is not referenced in a design or README, this is a reportable drift.
- Read files liberally to ensure you are looking at the current state of the code, not relying on memory.
- Process the files sequentially to ensure the tool output buffer doesn't overflow.
자주 묻는 질문
드리프트(drift)란 무엇인가요?
문서가 설명하는 내용과 코드가 실제로 하는 일 사이의 모든 차이를 말합니다.
문서가 코드를 특정하지 않으면 어떻게 하나요?
AI는 문서가 언급하는 클래스나 함수를 찾고, 링크를 추가해 달라고 요청할 수 있습니다.
스킬이 차이를 고치나요?
스킬의 역할은 차이를 정리한 보고서를 만드는 것입니다.
상세 정보
작성자의 원본 설명
Runs drift detection on all design documents to check for document and code consistency. Produces an actionable report with differences. Use when the user asks to detect drift or check for consistency across all design documents or READMEs in a directory.
인기도
- GitHub 스타
- 10k
- 순위
- #11880
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
egm-bootstrap
10k에이전트가 프로젝트 폴더마다 README 파일을 추가하거나 고치도록 돕습니다. 각 부분의 역할을 명확히 설명합니다.
egm-brainstorm
10k에이전트가 질문과 비판적 검토를 통해 막연한 아이디어를 명확하고 검토된 콘셉트 요약으로 바꾸도록 돕습니다.
egm-draft
10k합의된 콘셉트 요약이나 메모를 바탕으로 설계 문서를 한 섹션씩 쓰도록 돕습니다.
egm-resolve
10k설계 문서의 검토 결과를 하나씩 처리하며, 명확한 수정은 적용하고 나머지는 사용자에게 묻습니다.
비슷한 스킬
technical-documentation
394k에이전트가 명확한 기술 문서와 에이전트 지침 파일을 작성하고 검토하도록 도와, 사람과 AI 도구가 쉽게 따를 수 있게 합니다.
architecture-decision-records
280k에이전트가 프로젝트 구조에 관한 중요한 결정을 기록하도록 합니다. 선택의 이유를 이해하고 변경 이력을 명확히 유지하는 데 도움이 됩니다.
code-tour
280k에이전트가 정확한 파일과 줄 번호를 참조하는 단계별 코드 안내를 만들도록 합니다. 소개, 설명, 리뷰에 유용합니다.