Mark Pitt
claude-skills
  1. claude-skills
  2. Developer environment
  3. public-repo-hygiene
  4. README.md

A file in public-repo-hygiene

README.md

Markdown 1.6 KB
README.mdMarkdown, rendered

<!-- Generated by scripts/sync_skill_packaging.py. Edit SKILL.md instead; this file is rebuilt from it. -->

public-repo-hygiene

Make a private working repository safe to publish. Gitignore agent and local-state directories, move internal documents to a separate private repository, triage gitleaks findings as real or false positive, rewrite history with git filter-repo, then verify with a fresh clone and a re-scan. Use when a spike or project is about to go public, when agent state or internal notes are found in a repository's history, or when gitleaks reports findings before publication. Do NOT use to rewrite or force-push a repository without the operator's explicit request for that rewrite (git-protection governs that hand-off), to resolve merge conflicts, to write commit messages, or to set up CI scanning (use git-protection for hooks and branch protection).

Install

Copy this directory into either skills location, then start a new session:

cp -r public-repo-hygiene ~/.claude/skills/       # personal, all projects
cp -r public-repo-hygiene .claude/skills/         # this project only

For Claude Desktop, zip the directory and upload it under Settings, Capabilities, Skills. Released builds attach a ready-made zip.

Part of a larger set

One of the Developer environment skills (claude-skills-dev-environment). See the group's list, or every group in claude-skills.