jcorpac/ai-skills-library/git-untracked-templates
Claude Code and agent skill by jcorpac/ai-skills-library
- community
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-templatesSKILL.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.
2. Flag as Untracked locally
Run the following command on your machine:
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:
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
- SKILL.md in the repositoryCheckinggit/git-untracked-templates/SKILL.md
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
[](https://verified-skill.com/skills/jcorpac/ai-skills-library/git-untracked-templates)