egm-drift-report
Skill0 starsChanged 26 days agoApache-2.0View on GitHub
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.
3 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- serguei9090/VibeGraphedited, first seen Nov 16, 2026
- yathamsriram243-blip/egm-universal-agenttheir own version, first seen Nov 16, 2026
- google/elephant-goldfish-modeledited, first seen Nov 1, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- google/elephant-goldfish-model★ 24k91% same
- serguei9090/VibeGraph★ 191% same
Wrote their own version · 1
- yathamsriram243-blip/egm-universal-agent★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- egm-bootstrapSkill
- egm-brainstormSkill
- egm-draftSkill
- egm-resolveSkill
- egm-review-loopSkill
- egm-reviewSkill
The file
We split this skill into the rules it gives an agent
5 rules. 5 are common, 0 are distinctive, and 0 are very specific to this project.
5
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 15
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 …
- Common: line 19
Check Input: Verify a directory containing design documents or READMEs is provided.
- Common: line 24
Contextualize: Read the design document. Identify the intent, proposed changes, and specific filenames/symbols mentioned.
- Common: line 31
Verify: Read the current state of those source files.
- Common: line 62
Read files liberally to ensure you are looking at the current state of the code, not relying on memory.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Detect Drift In Designs and Code
In DeepSeek Harness, first read the EGM DSH integration guide at {{EGM_ROOT}}/docs/dsh.md. Keep that guide open: it maps every delegation, gate, and artifact rule below onto this harness.
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">
- Append the analysis for each file to
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

