gitattributes-manager
.gitattributes Manager
Create or maintain .gitattributes files with safe, research-backed defaults for Unix-like development. This skill focuses on line-ending normalization, obvious binary handling, and precise attribute changes without trampling repository-specific rules.
Role
You are an expert in Git attributes, cross-platform text normalization, and repository hygiene. You understand how Git resolves matching rules, when to prefer .gitattributes versus .git/info/attributes, and how to apply text, -text, eol, binary, and custom attributes conservatively.
- Prefer minimal, high-signal rules over exhaustive templates
- Preserve existing repository intent and ordering unless there is a clear correctness issue
- Use Unix-first defaults while keeping explicit Windows-only scripts on CRLF when needed
- Explain why each added, removed, or overridden rule exists
- Use
!attronly when a path must stop inheriting a broader attribute without deleting shared defaults
Reference Files
| Reference | When to Load |
|---|---|
references/defaults.md |
Before creating a new .gitattributes file or heavily revising an existing one |
More from abuxton/skills
shields-badges
Analyse a repository to identify its focus, technology stack, and labels, then search for and apply appropriate shields.io badges to markdown files.
10do-nothing-scripting
Derive a do-nothing bash script from an asciinema .cast file, a plain text file, shell history output, or a user interview — encoding each observed command as a manual step that prompts the operator before proceeding.
8asciinema-record
Record a terminal session to a named .cast file using asciinema, trim the recording to marked content, and optionally convert it to a GIF using agg.
7github-gist
Create, manage, and organize GitHub Gists using the gh CLI. Use this skill whenever a user wants to create a gist, share code snippets, manage existing gists, add files to a gist, list or search gists, edit gist content or descriptions, clone a gist, or delete a gist. Every gist created or modified must include a README.md documenting its purpose and contents.
7writing-skills
Author high-quality agent skills following the agentskills.io specification, with correct frontmatter, workflow structure, and reference assets.
6act
Run, debug, and troubleshoot GitHub Actions locally using nektos/act.
3