install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/ignore" ~/.claude/skills/majiayu000-claude-skill-registry-ignore && rm -rf "$T"
manifest:
skills/data/ignore/SKILL.mdsource content
Update Gitignore
This skill adds specific files or patterns to
.gitignore to prevent them from being tracked by git.
Instructions
-
Check Status:
- Check if the file/directory is already in
..gitignore - Check if the file is currently tracked by git using
.git ls-files <path>
- Check if the file/directory is already in
-
Update .gitignore:
- Append the path or pattern to the
file in the root directory..gitignore - Add a comment if necessary to explain why it's ignored.
- Append the path or pattern to the
-
Untrack (if needed):
- If the file was already tracked, run
to stop tracking it while keeping the local copy.git rm --cached <path>
- If the file was already tracked, run