Workspace Git Hygiene
FreeNo executable scriptsNot checkedInspect branch and status, protect user edits, and avoid destructive git commands.
by Raidriar7170★ 29 GitHub starsAbout this skill
Workspace Git Hygiene
Use when working in a shared repository or dirty worktree. Check current path, branch, and status, identify unrelated changes, and never revert or overwrite work that was not part of the assignment.
Evidence
pwd, branch, and status output.- Explicit note about unrelated changes.
- No destructive git operations.
Source Snapshot
Source: global Codex AGENTS.md worktree and git hygiene rules
Short excerpt used for provenance, not a full source copy.
## Codex Orchestrator Apply Protocol Use this protocol whenever the user asks for Codex
Orchestrator, or when a non-trivial `/opsx:apply` / implementation task needs agent
separation, worktree isolation, or review before merge. Start by outputting: ```markdown
## Task Understanding ## Proposed Subagents ## Worktree /
Install Workspace Git Hygiene in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the Workspace Git Hygiene skill do?
Inspect branch and status, protect user edits, and avoid destructive git commands.
How do I install the Workspace Git Hygiene skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Workspace Git Hygiene skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic