Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
diminishedprime avatar

Git Start Tracking

  • 1 installs
  • 1 repo stars
  • Updated July 2, 2026
  • diminishedprime/ai-dotfiles

Runs a custom git start-tracking command that stages the first line of untracked files so you can then stage the rest hunk-by-hunk in magit.

About

Begins tracking new untracked files with a bespoke git start-tracking command that writes their first line into the index for incremental magit staging. A developer uses it when asked to add or track new files in this workflow.

  • Runs a bespoke git start-tracking command to stage the first line of new files
  • Enables incremental hunk-by-hunk staging in magit

Git Start Tracking by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #527 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Jul 8, 2026 (Skillselion catalog sync)
npx skills add https://github.com/diminishedprime/ai-dotfiles --skill git-start-tracking

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars1
Last updatedJuly 2, 2026
Repositorydiminishedprime/ai-dotfiles

What it does

Runs a custom git start-tracking command that stages the first line of untracked files so you can then stage the rest hunk-by-hunk in magit.

Files

SKILL.mdMarkdownGitHub ↗

git start-tracking is a custom, bespoke command the user built specifically for this workflow. It is the correct tool for starting to track a new (untracked) file in this repo. Use it exactly as written — there is no equivalent built-in git command for this workflow.

git start-tracking <file> [<file>...]

Why it exists

The user stages incrementally in magit. git start-tracking writes the first line of each file into the index, which lets magit diff the rest of the file and stage hunks interactively. The user then reviews and commits through magit — this command only gets things started.

This is also the one exception to the general "don't touch the index" rule: it stages a single line, the user reviews everything downstream, so it's safe to run on their behalf.

Untracked files currently available

```! git ls-files --others --exclude-standard

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.