line-endings

Community

Master Git line endings for seamless collaboration.

AuthorProrise-cool
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the common and frustrating problem of inconsistent line endings in Git repositories, which can lead to unexpected errors, massive diffs, and merge conflicts across different operating systems.

Core Features & Use Cases

  • Cross-Platform Compatibility: Ensures your code works seamlessly whether developed on Windows, macOS, or Linux.
  • Configuration Guidance: Provides clear, actionable steps for configuring Git's line ending behavior (core.autocrlf, core.eol, core.safecrlf).
  • .gitattributes Mastery: Guides you in creating and utilizing .gitattributes files for explicit, repository-wide control over line endings.
  • Troubleshooting: Helps diagnose and fix common issues like shell scripts failing to execute or every line appearing changed in Git diffs.
  • Use Case: A team with developers on Windows and macOS is collaborating on a project. Without proper line ending configuration, shell scripts might fail on macOS, and diffs could show every file as modified. This Skill provides the exact commands and .gitattributes rules to prevent these issues, ensuring consistent LF line endings for scripts and cross-platform compatibility.

Quick Start

Configure your Git environment to handle line endings correctly for cross-platform development.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: line-endings
Download link: https://github.com/Prorise-cool/prorise-claude-skills/archive/main.zip#line-endings

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.