Git Writer

Safe workflow for git write operations (git rm). Use for removing files from git.

8 stars 3 forksGit & Code Review Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add Freddy-CHEN-ux/00_claude_skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Freddy-CHEN-ux/00_claude_skills --skill git-writer
Manual install
git clone --depth 1 https://github.com/Freddy-CHEN-ux/00_claude_skills.git /tmp/00_claude_skills
mkdir -p ~/.claude/skills
cp -r /tmp/00_claude_skills/skills/git-writer ~/.claude/skills/git-writer

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# git-writer Skill

## 🎯 Purpose

This skill provides a safe, documented workflow for git write operations. Currently supports `git rm` for removing files from the repository.

**Use this skill when:**
- User asks to remove files from git ("git rm api/commit.diff")
- User wants to delete tracked files ("remove api/commit.diff from git")
- User needs to unstage and delete files in one operation
- Any git write operation that modifies repository state

**Complements git-reader agent:**
- git-reader: Read-only operations (status, diff, log, show, branch)
- git-writer: Write operations (rm - more to come)

---

## Core Principle: Safe Git Write Operations - NEVER Destroy Data

**🚨 CRITICAL: git-writer ONLY allows operations that NEVER destroy uncommitted data**

**What's allowed:**
- ✅ `git rm` - Removes tracked files (can be restored from git history)
- ✅ `git rm --cached` - Removes from git but keeps in working directory
- ✅ Operations that only affect committed data (restorable)

**What's BANNED:**
- ❌ ANY operation that destroys uncommitted changes
- ❌ `git checkout -f` (destroys unstaged changes)
- ❌ `git reset --hard` (destroys uncommitted work)
- ❌ `git clean -fd` (destroys untracked files permanently)
- ❌ Operations affecting files with uncommitted changes (unless user explicitly confirms)

**The Safety Principle:**
- If data exists ONLY in working directory/staging area → NEVER touch it
Read the full skill on GitHub

Details

Skill name
git-writer
Path
skills/git-writer/SKILL.md
Repo updated
10 January 2026

FAQ

What does the Git Writer skill do?

Safe workflow for git write operations (git rm). Use for removing files from git.

How do I install the Git Writer skill?

Claude Code plugin: /plugin marketplace add Freddy-CHEN-ux/00_claude_skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Git Writer popular?

It lives in Freddy-CHEN-ux/00_claude_skills, which has 8 GitHub stars and 3 forks.

Related skills

Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.