git-writer

Remove tracked files with git rm while preserving uncommitted changes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/cncorp/arsenal --skill git-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-writer
Source: https://github.com/cncorp/arsenal/tree/main/dot-claude/skills/git-writer
Command: npx skills add https://github.com/cncorp/arsenal --skill git-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a safe workflow for git write operations, currently focused on removing tracked files via git rm without destroying uncommitted work.

Core Features & Use Cases

  • Safe git rm: removes tracked files while preserving uncommitted changes.
  • Cached removals: supports removing from git while keeping working files intact.
  • Guided prompts: helps users decide on safe paths, avoiding destructive commands.

Quick Start

Use git-writer to safely remove a tracked file with git rm, ensuring you commit the change yourself.

Frequently Asked Questions about git-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely remove a tracked file from git without losing uncommitted changes?

Use git rm to remove tracked files while preserving uncommitted work. This Skill applies git rm safely with pre-checks for uncommitted changes, ensuring removals are staged for commit with explicit confirmation when risks exist, so your working directory stays intact.

Can I remove a file from git history while keeping it in my working directory?

Yes, cached removals let you remove files from git tracking while keeping working files intact. This Skill guides you through git rm --cached operations, staging the change for commit without destroying local copies.

What's the safest way to unstage and delete a tracked file in one operation?

This Skill combines unstaging and deletion safely by applying git rm variants with built-in safety constraints. It enforces pre-checks for uncommitted changes and requires explicit user confirmation, preventing accidental data loss during write operations.

How do I know if removing a tracked file will destroy my uncommitted changes?

This Skill performs pre-checks before any removal to detect uncommitted changes. Guided prompts help you decide on safe paths, and the Skill ensures removals are staged for commit only when risks are clear and confirmed.

Can I remove multiple files from git safely in one workflow?

This Skill handles git rm write operations that modify repository state under safety constraints, permitting only git rm variants with pre-checks and explicit confirmation. Each removal is staged separately for your review before committing.

Why should I use guided git removal instead of running git rm directly?

Guided prompts help you avoid destructive commands by enforcing safety constraints upfront. This Skill pre-checks for uncommitted changes and requires explicit confirmation when risks exist, turning ad-hoc removals into a repeatable, reversible workflow.