Saltar al contenido
Skillpedia
Documentación10 mil · #11880

egm-drift-report

Qué hace

Esta skill compara los documentos de diseño con el código real y enumera las diferencias. Es para equipos cuya documentación puede haberse quedado atrás respecto al software.

Cuándo usarla

  • ✓Cuando sospechas que el código ya no coincide con sus documentos de diseño.
  • ✓Cuando quieres una revisión de coherencia entre todos los documentos de diseño o READMEs de una carpeta.
  • ✓Cuando necesitas una lista de funciones descritas en la documentación pero que faltan en el código.

Link de la skill

https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-drift-report/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-drift-report/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Revisa todos los documentos de diseño de nuestra carpeta de documentación frente al código y dime dónde ya no coinciden.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La IA enumera cada documento de diseño, localiza los archivos de código correspondientes, lee el código actual y compara ambos. Anota en un informe las funciones que faltan, los cambios de comportamiento y otras diferencias.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.

  1. Check Input: Verify a directory containing design documents or READMEs is provided. If not provided, ask the user to specify the target directory.

  2. List Documents: List all files in the design directory.

  3. 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."
  4. Report: Produce a single report listing all discrepancies found.

    • Append the analysis for each file to {YYYY-MM-DD}_DRIFT_REPORT.md using your file-writing tool.

    • Strict Format:

      ## <DESIGN_DOC_NAME>
      
      <Bulleted list of specific divergences found>
      <Or "No drift detected">
      
  5. 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.
Preguntas frecuentes

¿Qué se considera desviación?

Una desviación es cualquier diferencia entre lo que describe un documento y lo que hace el código en realidad.

¿Qué pasa si un documento no menciona su código?

La IA busca las clases o funciones que menciona el documento y puede pedirte que añadas enlaces.

¿La skill corrige las diferencias?

Su función es producir un informe de las diferencias.

Detalles

Descripción original del autor

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.

repo: google/elephant-goldfish-model

Popularidad

Estrellas en GitHub
10 mil
Posición en el ranking
#11880
Licencia
Apache-2.0
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas