Write Gitignore

Maintains a repo's .gitignore by driving the gitignore-sync CLI and supplying the judgement the CLI deliberately leaves open — which stacks a repo declares, which leftover lines are genuine project rules, which point at a missing stack, and which are ballast copied out of a generated block. Adopts a repo, migrates a grown hand-written file with the result verified against what git actually ignores rather than by a text diff, triages the free zone, fixes smothered "!" exceptions, and reports template candidates across a whole estate. The CLI owns every measurement and every write; the managed region is never hand-edited. Use when the user wants to write, fix, clean up, adopt or migrate a .gitignore, run gitignore-sync, audit repos for missing stacks, or says things like "sort out the gitignore", "migrate this gitignore", "which stacks does this repo need", ".gitignore aufräumen", "gitignore einrichten".

TitusKirch 7c278b9 3 files · 43.9 KB Updated

File contents

TitusKirch/skills/tree/main/skills/repo/write-gitignore commit 7c278b9ac4

Frequently asked questions

npx skillmds@latest add tituskirch/write-gitignore