mac-apfs-case-insensitive-git-tracking
CommunityFix macOS APFS case mismatches in git workflows
System Documentation
What problem does it solve?
This Skill addresses confusing case mismatch issues that arise when developing on macOS's default case-insensitive APFS filesystem, where git tracks files under their originally committed case (often lowercase) even when you write to a path with different casing (like docs/API.md instead of the tracked docs/api.md). This is especially problematic for cross-platform projects using Linux Docker containers or CI/CD pipelines, where case-sensitive filesystems can cause build failures or file not found errors.
Core Features & Use Cases
- Non-destructive diagnostics: Provides step-by-step checks to confirm if a file write succeeded by verifying git tracked case, filesystem inode equivalence, and diff content without making harmful changes.
- Mistake prevention: Explicitly warns against ad-hoc case-only git renames that break git history and cause compatibility issues on Linux hosts.
- Prevention conventions: Defines best practices to avoid case mismatch traps, such as matching tracked case in patch paths and verifying writes via inode checks.
- Use case: Ideal for developers working on monorepos with uppercase documentation files (API.md, PRD.md etc.) who see unexpected lowercase paths in git status after successful write operations, or who encounter case-related build failures in Docker/CI environments.
Quick Start
Use the mac-apfs-case-insensitive-git-tracking skill to diagnose why your recent write to docs/API.md is showing as modified api.md in git status and confirm if the change was applied correctly without making any harmful file renames.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: mac-apfs-case-insensitive-git-tracking Download link: https://github.com/freedomw1987/tree_monstor/archive/main.zip#mac-apfs-case-insensitive-git-tracking Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.