jcorpac/ai-skills-library/git-untracked-templates

Claude Code and agent skill by jcorpac/ai-skills-library

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Committing template files to git while ignoring subsequent local mutations using the assume-unchanged flag.

Install

npx vskill@latest install jcorpac/ai-skills-library/git-untracked-templates

SKILL.md

The same SKILL.md was published earlier as jcorpac/ai-skills-library/git-untracked-templates.

untracked-templates

Purpose

Often, a repository needs an initial data file, SQLite database, or .env file just so clones don't crash on startup. However, you don't want local state updates during development to pollute the Git working tree.

Adding the file to .gitignore will prevent it from being tracked entirely (meaning anyone cloning the repo has to create the file from scratch).

Usage

Use the plumbing command git update-index --assume-unchanged instead.

1. Commit the Baseline Template

Create your blank database or example JSON file. Stage and commit it to git so that it exists in the tree for others.

bash
git add data/local_db.json
git commit -m "chore: add default local database template"
2. Flag as Untracked locally

Run the following command on your machine:

bash
git update-index --assume-unchanged data/local_db.json

Now, whenever your application writes to data/local_db.json, git status will ignore it. Your private local state will never be committed, but the template structure remains safe in the remote repository!

Reversing

If you ever intentionally update the public template structure, you can temporarily reverse the flag:

bash
git update-index --no-assume-unchanged data/local_db.json

Resources

  • Git Documentation (update-index)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jcorpac/ai-skills-library/git-untracked-templates/badge)](https://verified-skill.com/skills/jcorpac/ai-skills-library/git-untracked-templates)

Something wrong with this skill or its page? Tell us.