>- 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.
npx skills add https://github.com/google/elephant-goldfish-model --skill egm-drift-report
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.
is provided. If not provided, ask the user to specify the target directory.
proposed changes, and specific filenames/symbols mentioned.
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.
specified in the design.
patterns/libraries than proposed.
or what matches. If the code matches the design perfectly, output "No
drift detected."
{YYYY-MM-DD}_DRIFT_REPORT.mdusing your file-writing tool.
## <DESIGN_DOC_NAME>
<Bulleted list of specific divergences found>
<Or "No drift detected">
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.
of the code, not relying on memory.
overflow.
Take google/egm-drift-report from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.