smithery.ai

egg-info-hygiene

Handle `src/*.egg-info` diffs in Python repos (uv-driven) to avoid committing generated metadata unintentionally.

First seen Mar 22, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1
LicenseMIT
Compatibilityopencode,claude
Declared agents claude-code opencode
More metadata
created_at
2026-01-30T00:47:20.147Z
updated_at
2026-01-30T00:47:20.147Z
version
1

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,888 B
  • docs SUMMARY.md 137 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

<!-- BEGIN:compound:skill-managed -->

Purpose

Keep commits/PRs clean when src/*.egg-info/** changes appear.

When To Use

  • git diff shows changes under src/*.egg-info/** (for example PKG-INFO, requires.txt).
  • You did not intentionally change packaging metadata (version, dependencies, build backend).

Procedure

  • Identify intent:

- If you did change packaging metadata (dependencies, project metadata, versioning), keep investigating whether .egg-info is expected to be committed in this repo. - If you did not, treat .egg-info as generated output.

  • Confirm scope:

- If diffs are only src/*.egg-info/**, treat as no-op for feature work. - If diffs include real source changes plus .egg-info, keep the source changes and exclude the .egg-info changes.

  • Normalize the working tree using the repo's standard setup/install workflow (for uv repos, typically uv sync --dev and uv pip install -e .) and re-check whether the egg-info diffs persist.
  • If egg-info remains tracked and noisy, document the repo policy explicitly in AGENTS.md (do not edit tool-managed fences) so future work treats these changes consistently.

Notes

  • src/*.egg-info/** is commonly generated by editable installs and may change due to environment/tooling rather than code intent.
  • Do not let egg-info-only diffs drive a commit unless the repo explicitly treats them as source-controlled artifacts.

<!-- END:compound:skill-managed -->

Manual notes

This section is preserved when the skill is updated. Put human notes, caveats, and exceptions here.