Team Hygiene — Git skill for Claude Code
Consolidate the team knowledge base — detect duplicates, conflicts, stale facts, and dead scopes in docs/team/, propose keep/merge/evict, apply only what the human approves.
How to install Team Hygiene
Installs to ~/.claude/skills/hamzaalayed-laravel-claude-agents-team-hygiene/SKILL.md
mkdir -p ~/.claude/skills/hamzaalayed-laravel-claude-agents-team-hygiene && curl -fsSL https://raw.githubusercontent.com/HamzaAlayed/laravel-claude-agents/HEAD/commands/team-hygiene.md -o ~/.claude/skills/hamzaalayed-laravel-claude-agents-team-hygiene/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Team Hygiene does
description: Consolidate the team knowledge base — detect duplicates, conflicts, stale facts, and dead scopes in docs/team/, propose keep/merge/evict, apply only what the human approves. argument-hint: (no args — sweeps docs/team/) allowed-tools: Read, Write, Edit, Grep, Glob, Bash, Agent, AskUserQuestion
Team knowledge-base hygiene
The `docs/team/` ledger (conventions.md, stack.md, decisions.md) rots between deliveries: rules get re-taught in new words, corrections contradict old en
Alternatives in Git
- Create Worktrees — by evmts - Creates git worktrees for all open PRs or specific branches, handling branches with slashes, cleani 440 ★
- Harness Drift — Continuous-drift sweep — arch warnings, dead code, and Sonar drift outside the PR lifecycle 324 ★
- Resolve Issue — Fetch a GitHub issue, apply the fix, comment with what was done, and close the issue 186 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Pantheon Consolidate
Find and merge duplicate or similar memory entries. /pantheon-consolidate scans for duplicates, shows preview,
Leo Pre PR
Pre-PR hygiene gate — the repo's typecheck, lint and dead-code commands; report-only
Gitconfig Why
Browser-only explainer for git config: which file and scope set a value, and why each includeIf did or did not
Personify Consolidate
Read accumulated personify evidence and propose rule changes as a PR.
Agentic Task System
CLI + MCP for agent context: a task layer over TickTick, Notion, GitHub, Obsidian & more (RRF retrieval, prove
Clean Branches
Safely prune merged and stale Git branches: drop dead remote-tracking refs, list merged candidates for review,
Related Agents
Dotfile Drift Reporter
Detect drift between the chezmoi source state and the live $HOME files. Summarize what's out of sync and propo
Gitnexus Branch Hygiene Reviewer
GitNexus branch hygiene and mergeability reviewer. Use to classify merge state, conflicts, stale branches, mer
Docs Freshness Checker
Read-only audit of the current repo's MkDocs docs for freshness: multi-language parity (docs/en vs docs/de), d