smithery/raphaelstolt

validating-gitattributes-file

Validate .gitattributes files in projects using lean-package-validator; use when checking export-ignore completeness, ordering, or stale entries.

Installation

$ npx skills add smithery/raphaelstolt --skill validating-gitattributes-file

Also in this package

Other skills from smithery/raphaelstolt.

npx skills add smithery/raphaelstolt

Browse all from smithery/raphaelstolt

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 Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 801 B
  • docs SUMMARY.md 196 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Validate .gitattributes with lean-package-validator

From the repository root:

  1. Run ./vendor/bin/lean-package-validator validate to check the current .gitattributes file.
  2. Add --diff to see the expected content when validation fails.
  3. Add --enforce-strict-order or --enforce-alignment only if strict comparison is required.
  4. Add --report-stale-export-ignores (with --diff) to surface export-ignores that no longer exist.

If validation fails, use the updating skill to bring .gitattributes in sync.